[hibernate-dev] Correct way to build a session factory?

Galder Zamarreño galder at redhat.com
Tue Apr 9 08:28:33 EDT 2013


Hi,

Re: http://docs.jboss.org/hibernate/orm/4.2/quickstart/en-US/html_single/#hibernate-gsg-tutorial-basic-test

The code there to build a session factory is deprecated, in particular the parameter-less buildSessionFactory(), what's the correct way to build a session factory? 

I'm doing this for a presentation, hence I want to avoid using deprecated methods :)

Cheers,
--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the hibernate-dev mailing list