views:

176

answers:

1

Hello!

I am using Hibernate in version 3.6.0 and the AnnotationConfiguration is marked as deprecated.

Here is the the line in my HibernateUtil.java class:

sessionFactory = new AnnotationConfiguration().configure("/hib.cfg.xml").buildSessionFactory();

What's the replacement for AnnotationConfiguration?

Best Regards Tim.