Hibernate

Hibernate

Postby saru » Thu May 02, 2019 10:41 am

What are the different ORM levels in Hibernate?
saru
 
Posts: 1
Joined: Thu May 02, 2019 10:36 am

Re: Hibernate

Postby rushirathi » Thu Oct 17, 2019 6:19 am

The four levels are:

Pure Relational
Light Object Mapping
Medium Object Mapping
Full Object Mapping
Pure Relational Mapping - The entire application, including the user interface, is designed around the relational model and SQL-based relational operations.
Light Object Mapping - The entities are represented as classes that are mapped manually to the relational tables. The code is hidden from the business logic using specific design patterns. This approach is successful for applications with a less number of entities, or applications with common, metadata-driven data models. This approach is most known to all.
Medium Object Mapping - The application is designed around an object model. The SQL code is generated at build time. And the associations between objects are supported by the persistence mechanism, and queries are specified using an object-oriented expression language. This is best suited for medium-sized applications with some complex transactions. Used when the mapping exceeds 25 different database products at a time.
Full Object Mapping - Full object mapping supports sophisticated object modeling: composition, inheritance, polymorphism and persistence. The persistence layer implements transparent persistence; persistent classes do not inherit any special base class or have to implement a special interface. Efficient fetching strategies and caching strategies are implemented transparently to the application.
rushirathi
 
Posts: 1
Joined: Thu Oct 17, 2019 6:13 am

Re: Hibernate

Postby preeti » Fri Oct 18, 2019 5:22 am

Very Well explained.
preeti
 
Posts: 1
Joined: Fri Oct 18, 2019 5:20 am


Return to ADP Users Forum

Who is online

Users browsing this forum: No registered users and 14 guests