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

Download Hibernate Tutorial

Java Persistence and Hibernate Guide for developer

Getting started with Hibernate

Others related eBooks about Hibernate Annotations

GUI Design for Android Apps

GUI Design for Android Apps is the perfect - and concise - introduction for mobile app developers and designers. Through easy-to-follow tutorials, code samples, and case studies, the book shows the must-know principles for user-interface design for Android apps running on the Intel platform, includi...

Algorithms and Data Structures With Applications to Graphics and Geometry

An introductory coverage of algorithms and data structures with application to graphics and geometry. ...

Practical C++ programming

This tutorial is devoted to practical C++ programming. It teaches you the mechanics of the language, free training document under 549 designated to all level users....

Python for Informatics: Exploring Information

This book is designed to introduce students to programming and computational thinking through the lens of exploring data. You can think of Python as your tool to solve problems that are far beyond the capability of a spreadsheet. It is an easy-to-use and easy-to learn programming language that is fr...

Introduction to Spring MVC

This pdf tutorial is a step-by-step guide on how to develop a web application from scratch using the Spring Framework.Free training course material under 68 pages by Thomas Risberg, Rick Evans and Portia Tung....

Java Notes for Professionals

Download free course Java Notes for Professionals, pdf file on 981 pages by Stack Overflow Community....

Learning C++

Learn C ++ language step by step, complete PDF tutorial on 920 free download pages created by StackOverFlow....

Building Skills in Python: A Programmer's Introduction to Python

This book is a complete presentation of the Python language. It is oriented toward learning, which involves accumulating many closely intertwined concepts. In our experience teaching, coaching and doing programming, there is an upper limit on the "clue absorption rate". In order to keep within thi...

Optimizing software in C++

This is an optimization manual for advanced C++ programmers. This book are not for beginne..., download free C++ tutorial in PDF (176 pages) created by Agner Fog ....

Ruby Regexp

Scripting and automation tasks often need to extract particular portions of text from inpu..., download free Ruby tutorial in PDF (72 pages) created by ....