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

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

J2EE tutorial in PDF

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

Download Hibernate Tutorial

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

Python tutorial for professionals

Download free Python tutorial course in PDF, training file in 201 chapters and 816 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

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

Category Theory for Programmers

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

Download F# tutorial in PDF

Download free F# tutorial course in PDF, training file in 33 chapters and 142 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Essential Ruby On Rails

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Ruby On Rails programming as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Java 3D Programming

Download free course Java 3D Programming, pdf file on 352 pages by Daniel Selman....

RESTful Web Services

With this tutorial you will learn how to build a Web Services with REST protocol ,a free training document material under 148 pages by John Cowan....