Hibernate Annotations

This pdf tutorial present a reference guide for Hibernate , a training document course on 49 pages for beginners.

Hibernate needs several elements to operate:

  • javabean a type of class that encapsulates the data of an instance of a table a configuration
  • file that ensures the correspondence between the class and the table (mapping) including information on configuration
  • properties for connecting to the database

Supported databases are the main market: DB2, Oracle, MySQL, PostgreSQL, Sybase, SQL Server, Sap DB, InterBase, ...

The http://www.hibernate.org official website has lots of information on the tool and offers to download and documentation.

Table of contents

  • Setting up an annotations project 
  • Entity Beans 
  • Intro 
  • Mapping with EJB3 Annotations 
  • Defining the table 
  • Versioning for optimistic locking 
  • Mapping simple properties 
  • Declaring basic property mappings 
  • Declaring column attributes 
  • Non-annotated property defaults 
  • Mapping identifier properties 
  • Mapping inheritance
  • Single table per class hierarchy
  • Joined subclasses
  • Inherit properties from superclasses
  • Mapping entity bean associations/relationships
  • One-to-one
  • Many-to-one
  • Transitive persistence with cascading
  • Association fetching
  • Mapping composite primary and foreign keys
  • Mapping EJBQL/HQL queries
  • Mapping native queries
  • Hibernate Annotation Extensions
Size : 205.60 Kb
File type : pdf
Downloads: 190
Created: 2016-07-03

Others Hibernate Tutorials

Download Hibernate Tutorial

Java Persistence and Hibernate Guide for developer

Getting started with Hibernate

Others related eBooks about Hibernate Annotations

Category Theory for Programmers

Download free ebook intituled Category Theory for Programmers created by Bartosz Milewski . ...

Tutorial JSF in PDF

Download free JSF tutorial course in PDF, training file in 6 chapters and 18 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Download Perl language tutorial

Download free Perl tutorial course in PDF, training file in 40 chapters and 141 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Learn Pascal Programming Tutorial

A complete course on object programming in Pascal. In the first part, you learn how to use existing code written in object programming. Or, in other words, to use existing classes, especially those used to make the GUI of an application....

Python for Everybody: Exploring Data in Python 3

Python for Everybody is designed to introduce students to programming and software development through the lens of exploring data. You can think of the Python programming language as your tool to solve data problems that are b...

Become an Xcoder: Start Programming the Mac Using Objective-C

...

Introduction to Visual Studio and C#

In this PDF Tutorial we will use Visual Studio and C#. C# is the programming language, while Visual Studio is the development environment....

GUI Design for Android Apps

GUI Design for Android Apps is the perfect - and concise - introduction for mobile app developers and designers. Through easy-to-follow tutorials, code samples, and case studies, the book shows the must-know principles for user-interface design for Android apps running on the Intel platform, includi...

Learning JavaScript

Download free course Learning JavaScript, pdf file on 630 pages by Stack Overflow Community....

VB.NET Quick Guide

The purpose of this PDF tutorial is to provide a quick learning guide to programming for the students who wants to buils their own application with Microsoft VB.Net ....