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

Getting started with Hibernate

Download Hibernate Tutorial

Java Persistence and Hibernate Guide for developer

Others related eBooks about Hibernate Annotations

Machine Learning Yearning

Download free course Machine Learning Yearning, pdf file on 118 pages by Andrew Ng....

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

The Boost C++ Libraries

This book is an introduction to the Boost C++ Libraries. The Boost C++ Libraries complement the C++ standard and add many practical tools that can be of use to any C++ developer and in any C++ project. Because the Boost C++ Libraries are based on the C++ standard, they are implemented using state-...

Essential C++

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

Agile Android Software Development

This book teaches you how to turn your ideas into successful apps that everyone will talk about, love, and share. With Agile tools and techniques, any developer can get a chunk of the Android pie! ...

Getting started with Sharepoint

Download free Sharepoint tutorial course in PDF, training file in 10 chapters and 75 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Retro Gaming with Raspberry Pi

Download free course Retro Gaming with Raspberry Pi, pdf file on 164 pages by Bob Clagett, David Crookes, PJ Evans, Rosie Hattersley, KG Orphanides, Ruiz Brothers, Mark Vanstone....

Coffee Break Python Slicing

Puzzle-based learning is an active learning technique. With code puzzles, you will learn f..., download free Python tutorial in PDF (89 pages) created by ....

Python for You and Me

Download free course Python for You and Me, pdf file on 173 pages by Kushal Das....

Cobol programmer's guide

Download a complet PDF tutorial about Cobol for programmers ,it shows you how to develop COBOL programs that use the database languages SQL and PL/SQL....