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

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Hibernate Tutorials

Java Persistence and Hibernate Guide for developer

Getting started with Hibernate

Download Hibernate Tutorial

Others related eBooks about Hibernate Annotations

Download Scrum Guide in PDF

Course pdf Training, overview of agile project management with Scrum...

Programming Persistent Memory

Download free course Programming Persistent Memory, pdf file on 438 pages by Steve Scargall....

XcalableMP PGAS Programming Language

Download free course XcalableMP PGAS Programming Language, pdf file on 265 pages by Mitsuhisa Sato....

Learning Laravel by examples

With this PDF tutorial you will learn how to build a web application with Laravel PHP Framework version 4, free training document under 58 pages....

Learning to Program Using Python

An introduction to computer programming, using the easy, yet powerful, Python programming language. Python, a cross-platform language used by such organizations as Google and NASA, lets you work quickly and efficiently, allowing you to concentrate on your work rather than the language. ...

Essential Java

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Java programming language 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....

FreeSWITCH 1.6 Cookbook

FreeSWITCH is an open source carrier-grade telephony platform designed to facilitate the c..., download free FreeSWITCH 1.6 Cookbook tutorial in PDF (190 pages) created by Anthony Minessale II ....

C# Features Succinctly

Download free course C# Features Succinctly, pdf file on 77 pages by Dirk Strauss....

Learning Statistics with R

R is the world's most popular language for developing statistical software: Archaeologists use it to track the spread of ancient civilizations, drug companies use it to discover which medications are safe and effective, and actuaries use it to assess financial risks and keep economies running smooth...

Exploring Swift

Swift is more than just a modern replacement for Objective-C. Ever since going open source..., download free Swift tutorial in PDF (94 pages) created by ....