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.
Product Version = NetBeans IDE 8.1 (Build 201510222201) Operating System = Linux version 4.2.5 running on amd64 Java; VM; Vendor = 1.8.0_66 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17 Reproducibility: Happens every time org.hibernate.cfg.AnnotationConfiguration was deprecated in Hibernate 3.6 and removed in Hibernate 5.* STEPS: * Right-click the Source Packages node and select New > Other to open the New File wizard. * Select Hibernate from the Categories list and HibernateUtil.java from the File Types list. Click Next. * Type HibernateUtil for the class name and sakila.util as the package name. Click Finish. ACTUAL: * The generated class uses org.hibernate.cfg.AnnotationConfiguration * If using Hibernate 3.6+ this class is deprecated or removed. EXPECTED: * Use org.hibernate.cfg.Configuration instead
Created attachment 157087 [details] IDE log