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.
Yes Hibernate 4 is the latest version of Hibernate with a few updates and API changes. Here is how you can
Here you can learn more about session factory in hibernate
or Read about Hibernate Session
I hope your problem will be solved...Thanks....