This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Create util file Test Case the expected result is that a Util class is created with getSessionFactory() method. This class is duly created but imports a deprecated class, namely org.hibernate.cfg.AnnotationConfiguration In a Java Web, Web Application which has been configured for Hibernate support, right-click on project node and select New->Other->Hibernate->HibernateUtil.java