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.

Bug 254063 - HibernateUtil.java file-type wizard calls deprecated class
Summary: HibernateUtil.java file-type wizard calls deprecated class
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 06:47 UTC by nigel
Modified: 2015-08-02 06:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nigel 2015-08-02 06:47:30 UTC
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