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
Size205.60 Kb
File typepdf
Downloads190
Created2016-07-03
Cover of Hibernate Annotations
Preview PDF

Download

  • From Python to NumPy

    NumPy is one of the most important scientific computing libraries available for Python. This book teaches you how to achieve expert level competency to perform complex operations, with in-depth coverage of advanced concepts....

  • Getting started with Raspberry PI

    Getting started with Raspberry Pi, lessons and examples to download for free in PDF format, tutorial created by StackOverflow....

  • Solving PDEs in Python

    Download free course Solving PDEs in Python, pdf file on 152 pages by Hans Petter Langtangen, Anders Logg....

  • Web service with SOAP, PHP and WSDL

    Download a PDF tutorial about the Web service and SOAP technology,free training document material on 7 pages by Monteiro....

  • Beginner Fortran 90 tutorial

    Download Free course and training document about Fortran 90, tutorial on 20 pages for beginners by Guy Munhoven....

  • Effective AWK Programming

    Download free course Effective AWK Programming, pdf file on 572 pages by Arnold Robbins....

  • Guide to C++ Programming

    This tutorial provides an introduction to C++ programming language in PDF. This guide will help you to learn how to write a simple computer programs in C++ with somes exercises....

  • Entreprenerd: Marketing Programmers

    Download free course Entreprenerd: Marketing Programmers, pdf file on 301 pages by Jack Kinsella....

  • DotNet for professionnals

    Download free DotNet tutorial course in PDF, training file in 58 chapters and 192 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Tools and Algorithms for the Construction and Analysis of Systems

    Download free course Tools and Algorithms for the Construction and Analysis of Systems, pdf file on 426 pages by Tomáš Vojnar, Lijun Zhang....