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
File Size:
205.60 Kb
Submitted On:

Take advantage of this course called Hibernate Annotations to improve your Programming skills and better understand Hibernate.

This course is adapted to your level as well as all Hibernate pdf courses to better enrich your knowledge.

All you need to do is download the training document, open it and start learning Hibernate for free.

Download File

ADA course in PDF

Welcome to the Ada Programming tutorial in PDF, training document under 200 pages intended to beginners.


Scratch programming PDF tutorial

Download free PDF tutorial about Scratch programming, document under 29 pages by Neil Rickus.


Introduction to Struts

This tutorial is an example using struts tiles ,free training document courses under 14 pages bu sasha wolski.


Download Hibernate Tutorial

Download free Hibernate Tutorial for Beginners, training course material, a PDF file created by coreservlets.com.


Java Persistence and Hibernate Guide for developer

This PDF tutorial provides you an introduction to Java Persistence and Hibernate including the code snippets and complete working examples ,download free training document material for developer.