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

Getting started with Hibernate

Java Persistence and Hibernate Guide for developer

Others related eBooks about Hibernate Annotations

Agile Processes, in Software Engineering, and Extreme Programming

Download free course Agile Processes, in Software Engineering, and Extreme Programming, pdf file on 343 pages by by Helen Sharp, Tracy Hall....

Learning akka PDF course

Download free Akka tutorial course in PDF, training file in 9 chapters and 29 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Android on x86

Download free course Android on x86, pdf file on 375 pages by by Iggy Krajci, Darren Cummings....

Programming for Computations - Python, 2nd Edition

This book presents computer programming as a key method for solving mathematical problems...., download free Programming for Computations tutorial in PDF (350 pages) created by Svein Linge ....

Application Security in .NET Succinctly

Download free course Application Security in .NET Succinctly, pdf file on 103 pages by by Stan Drapkin....

Learning Ruby on Rails

Download free course Learning Ruby on Rails, pdf file on 291 pages by Stack Overflow Community....

Graph Algorithms

Learn how graph algorithms can help you leverage relationships within your data to develop..., download free Algorithms tutorial in PDF (256 pages) created by Mark Needham ....

Java Programming for Kids

The goal of this book is to help students learn to program in the most popular language in the world: Java. It starts from an introduction to Java and then explains how to write programs that have Graphic User Interface by writing the Tic-Tac-Toe and Ping-Pong games....

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....

Elementary Algorithms

Download free course Elementary Algorithms, pdf file on 642 pages by Larry LIU Xinyu....