




















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of hibernate, a java framework that simplifies database interactions for java applications. It covers key concepts such as object-relational mapping (orm), java persistence api (jpa), and hibernate architecture. The document also discusses hibernate annotations, mapping java classes to database tables, and different types of association mappings, including unidirectional and bidirectional associations. Additionally, it touches on embedded objects, lazy fetching, and eager fetching strategies, offering a comprehensive introduction to hibernate for java developers. Useful for university students.
Typology: Study notes
1 / 60
This page cannot be seen from the preview
Don't miss anything!





















































lightweight, ORM (Object Relational Mapping) tool. HAn object- relational mapping (ORM) library for Java ● Allows us to interact with a database using regular Java objects ● Provides a closer relationship between your Java objects and tables in your database ● Allows us to easily persist objects in a database ● Works with different database types, and so is an abstraction layer
❖The Hibernate architecture includes many objects such as :
Annotations allow you to map entities and their relationships without xml files.
You can use annotations in addition to or as a replacement of XML mapping metadata.
Relational Table mapping. All the metadata is clubbed into the POJO java file along with the code, this helps the user to understand the table structure and POJO simultaneously during the development.
The old version of the package was javax.persistence. Src: https://docs.jboss.org/hibernate/jpa/ 2. 2 /api/javax/persistence/package-summary.html