Hibernate Interview Questions
Questions Answers Views Company eMail

Why do we need transactions in hibernate?

138

What is the difference between sessionfactory and session in hibernate?

178

What is the difference between jpa and hibernate?

272

What are the contents of hibernate configuration file ( hibernate.cfg.xml )?

144

Difference between first level and second level cache in hibernate?

163

Which class elements are not persisted?

129

What is the purpose of dialect configured in hibernate configuration file?

187

Can we declare entity class as final?

163

What entries we make in the hibernate config file if we are not using hbm files but annotations?

176

How to configure second level cache in hibernate?

180

What is lazy initialization in hibernate?

184

How to do eager loading in hibernate?

221

What is lazy loading / lazy initialization in hibernate?

229

Different types of hibernate instance states?

204

What are the the methods to clear cache in hibernate?

155


Post New Hibernate Questions

Un-Answered Questions { Hibernate }

What is the use of version property in hibernate?

149


What is an orm tool?

168


What is the difference between sleep and hibernate?

152


What is strategy in hibernate?

175


Is hibernate framework good?

161






What is 2nd level cache in hibernate?

184


What is jboss hibernate?

165


What is the meaning of persistence in hibernate?

251


What is jpa in hibernate?

171


Why orm is required?

148


What are session beans?

168


What is meant by hibernate tuning?

158


What is hibernate proxy?

158


What is the use of entitymanager in hibernate?

169


Why do we need mapping?

149