Quantcast
Channel: Alextv.net feed from ajaxmaster.blogspot.com
Browsing all 23 articles
Browse latest View live

Writing ORM for Insurance table

In this lesson we will write the java class and add necessary code in the contact.hbm.xml file. Create POJO class:Here is the code of our java file (Insurance.java), which we will map to the insurance...

View Article


Hibernate Criteria Query Example

The Criteria interface allows to create and execute object-oriented queries. It is powerful alternative to the HQL but has own limitations. Criteria Query is used mostly in case of multi criteria...

View Article


Criteria Query Examples

In the last lesson we learnt how to use Criteria Query to select all the records from Insurance table. In this lesson we will learn how to restrict the results returned from the database. Different...

View Article
Browsing all 23 articles
Browse latest View live