Documents

Hibernate Tutorial

Categories
Published
of 150
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Description
hibernate
Transcript
  Hibernate Tutorial   HIBERNATE TUTORIAL Simply Easy Learning by tutorialspoint.com tutorialspoint.com  TUTORIALS POINT   Simply Easy Learning    ABOUT THE TUTORIAL Hibernate Tutorial   Hibernate is a high-performance Object/Relational persistence and query service which is licensed under the open source GNU Lesser General Public License (LGPL) and is free to download. Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities. This tutorial will teach you how to use Hibernate to develop your database based web applications in simple and easy steps.  Audience   This tutorial is designed for Java programmers with a need to understand the Hibernate framework and API. After completing this tutorial you will find yourself at a moderate level of expertise in using Hibernate from where you can take yourself to next levels. Prerequisites   We assume you have good understanding of the Java programming language. A basic understanding of relational databases, JDBC and SQL is very helpful. Copyright & Disclaimer Notice      All the content and graphics on this tutorial are the property of tutorialspoint.com. Any content from tutorialspoint.com or this tutorial may not be redistributed or reproduced in any way, shape, or form without the written permission of tutorialspoint.com. Failure to do so is a violation of copyright laws. This tutorial may contain inaccuracies or errors and tutorialspoint provides no guarantee regarding the accuracy of the site or its contents including this tutorial. If you discover that the tutorialspoint.com site or this tutorial content contains some errors, please contact us at webmaster@tutorialspoint.com  TUTORIALS POINT   Simply Easy Learning    Table of Content   Hibernate Tutorial  .................................................................... 2    Audience  .................................................................................. 2   Prerequisites  ............................................................................ 2   Copyright & Disclaimer Notice  .................................................. 2   ORM Overview ......................................................................... 8   Pros and Cons of JDBC  ................................................................................... 8   Why Object Relational Mapping (ORM)?  ......................................................... 8   What is ORM?  .............................................................................................. 9   Java ORM Frameworks  ................................................................................ 10   Hibernate Overview ............................................................... 11   Hibernate Advantages  ................................................................................. 11   Supported Databases  .................................................................................. 12   Supported Technologies  .............................................................................. 12   Hibernate Architecture ........................................................... 13   Configuration Object  ................................................................................... 14   SessionFactory Object  ................................................................................. 14   Session Object  ............................................................................................ 15   Transaction Object  ...................................................................................... 15   Query Object  .............................................................................................. 15   Criteria Object  ............................................................................................ 15   Hibernate Environment .......................................................... 16   Downloading Hibernate:  .............................................................................. 16   Installing Hibernate  ..................................................................................... 17   Hibernate Prerequisites  ............................................................................... 17   Hibernate Configuration ......................................................... 18   Hibernate Properties  ................................................................................... 18   Hibernate with MySQL Database  .................................................................. 19   Hibernate Sessions ................................................................ 21   Session Interface Methods  .......................................................................... 22   Hibernate Persistent Class ..................................................... 24   A simple POJO example:  .............................................................................. 24   Hibernate Mapping Files ........................................................ 26   Hibernate Mapping Types ...................................................... 29   Primitive types  ........................................................................................... 29   Date and time types  .................................................................................... 29   Binary and large object types  ....................................................................... 30   JDK-related types  ........................................................................................ 30  
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks