I would like an example about how to create a sessionfactory in Hibernate 4?

Hello,

Since Hibernate 4 is the latest version of Hibernate, I am finding it a little difficult to create Session factory in Hibernate 4. If you can explain it to me by giving a simple example that would be really helpful.

Thanks...

View Answers

January 27, 2014 at 4:08 PM

Hello friend,

Yes Hibernate 4 is the latest version of Hibernate with a few updates and API changes. Here is how you can

*create session factory in Hibernate 4

Here you can learn more about session factory in hibernate

*Hibernate SessionFactory

or Read about Hibernate Session

I hope your problem will be solved...Thanks....









Related Tutorials/Questions & Answers:
Advertisements