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

Mastering iOS Game Development

iOS is an operating system for Apple manufactured phones and tablets. Mobile gaming is one..., download free Game Development tutorial in PDF (228 pages) created by Miguel DeQuadros ....

Visual Basic .NET Programming Tutorial

Download free Visual Basic tutorial course in PDF, training file in 51 chapters and 149 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Basic OOP in Java

This tutorial you will learn the basics of Object-Oriented Programming in Java including class ,methods ,construcstors with some examples....

C# : Practical Guide for Programmers

Download a free Csharp tutorial in PDF by Michel de Champlain .A complet training document under 262 pages for intermediate level-users....

Getting started with MongoDB

MongoDB is a document-oriented NoSQL database. As we will see, the whole system revolves around this document management, including the query language, which makes it its strong point. We are going to tackle now the setting up of a Mongo server and how to integrate your data in this environment....

Getting started with PowerShell

Download free tutorial about PowerShell, it's a powerful and very flexible language that is relatively easy to understand. PowerShell allows you as a system administrator to create scripts that help you automate certain tasks in a simple and very practical way....

Pro TBB: C++ Parallel Programming with Threading Building Blocks

This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approacha...

An Introduction to C & GUI Programming

Download free course An Introduction to C & GUI Programming, pdf file on 156 pages by by Simon Long....

Introduction to programming with Fortran 95

Introduction to programming with Fortran 95. This tutorial aim to provide an introduction to programming with Fortran 95. Fortran is particularly suitable for science and engineering....

Annotated Algorithms in Python: with Applications in Physics, Biology, and Finance

This book is assembled from lectures given by the author over a period of 10 years at the School of Computing of DePaul University. The lectures cover multiple classes, including Analysis and Design of Algorithms, Scientific Computing, Monte Carlo Simulations, and Parallel Algorithms. These lectur...