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

Others Hibernate Tutorials

Java Persistence and Hibernate Guide for developer

Download Hibernate Tutorial

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

C Programming for Arduino

Physical computing allows us to build interactive physical systems by using software &..., download free C Programming tutorial in PDF (512 pages) created by Julien Bayle ....

Introduction to Programming using Fortran 95/2003/2008

This text provides an introduction to programming and problem solving using the Fortran 95/2003/2008 programming language. This introduction is geared for non computer science majors. As such, this text is not a complete, comprehensive guide to the Fortran 95/2003/2008 programming language. The pri...

Practical Artificial Intelligence Programming in Java, 3rd Edition

This book uses both best of breed open source software and the author's own libraries to introduce the reader to Artificial Intelligence (AI) technologies like genetic algorithms, neural networks, expert systems, machine learning, and statistical natural language processing (NLP). ...

An Introduction to Programming in Go

Learning Go language, free PDF tutorial in 168 pages. Go is an ideal language to learn as your first programming language....

Java with BlueJ

This book introduces the Java programming language. The text assumes the student will be using the BlueJ development environment and provides some introductory BlueJ material. Our experience has been that BlueJ is easy to learn and provides a good programming environment for the beginner programme...

Swift Programming Tutorial

Download free Swift tutorial course in PDF, training file in 60 chapters and 291 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

PC Assembly Language

This book has extensive coverage of interfacing assembly and C code and so might be of int..., download free Assembly tutorial in PDF (190 pages) created by Paul Carter ....

Java, Java, Java

Download free course Java, Java, Java, pdf file on 856 pages by Ralph Morelli, Ralph Walde....

Think Python - How to Think Like a Computer Scientist

Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces, ...