Day: April 3, 2016

Different ways to specify hibernate configuration property values

Different ways to specify hibernate configuration property values

Different ways to specify hibernate configuration property values   In this post I am going to explaining what are the different ways to specify hibernate configuration property values. In the hibernate there are three ways to load the hibernate property values. By using xml file (hibernate.config.xml) By using setProperty() method of configuration By using properties […]

One of the IT Companies Java Interview Questions and Answers-1

One of the IT Companies Java Interview Questions and Answers-1   1)  How many objects will be created for the following scenario? Integer a1=10; Integer a1=10; Integer a1=20; Integer a1=15; Ans: 3 objects will be created. Explanation: Java storing value in the cache and while initialization will check in the cache, if it is exist […]

Hibernate Sample Program

Hibernate Sample Program

Hibernate Sample Program In this post, I am going to explaining hibernate sample program and what type of files are required to create hibernate sample program. Different types of files are required to develop the hibernate sample program. They are Hibernate Jars Hibernate Configuration file Hibernate Mapping file POJO Class Client Application   1) Hibernate […]