Lessons to learn from the Hibernate Core implementation

 Posted On  | Yashwant Chavan

Hibernate is an open source Java persistence framework project. Perform powerful object relational mapping and query databases using HQL and SQL.In general the widely used libraries are well designed and implemented, and it’s very interesting to learn from them some coding best practices. Let’s take a look inside the hibernate core library and discover some of its design keys.In this post Hibernate Core is analyzed by JArchitect to go deep inside its design and implementation.

Spring Hibernate Integration Example Using Maven

 Posted On  | Yashwant Chavan

Today we are going to cover simple maven base Spring and Hibernate annotations integration example.Here we are going to configure Hibernate SessionFactory into the spring bean configuration file. As sessionFactory is defined here , we don't need to define "hibernate.cfg.xml" file.

Hibernate One to One Relationship Xml Mapping Example

 Posted On  | Yashwant Chavan

First Of all we need to see What is One to One Relationship, for every record in the one table there is one and only one record in the related table. In Hibernate we can achieve One to One relationship using Xml Mapping And using annotation also, Below hibernate tutorial explain you how two tables are link with each other with the help of one to one mapping using Xml base mapping approach.


© technicalkeeda.com 2017

 |  Find us on Google+ |  Rss Feed

Loaded in 0.0382 seconds.