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 205403 - Hibernate Unit Wizard generates code using deprecated class AnnotationConfiguration.
Summary: Hibernate Unit Wizard generates code using deprecated class AnnotationConfigu...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 05:16 UTC by esmithbss
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2011-11-22 05:16:14 UTC
Product Version = NetBeans IDE Dev (Build 201111210600)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_01
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.1-b02

When creating a new HibernateUnit, the generated code uses the deprecated class AnnotationConfiguration.
All of the functionality of the AnnotationConfiguration class has been moved to the Configuration class.

The template should be rewritten to use Configuration instead of AnnotationConfiguration.
Comment 1 Sergey Petrov 2012-05-16 10:43:53 UTC
it's more like task or enhancement to update to more modern hibernate rather then an issue in my opinion.
Comment 2 Martin Balin 2016-07-07 08:53:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss