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 162307

Summary: Abstract JPA entity classes from database?
Product: javaee Reporter: sandeepkhanna <sandeepkhanna>
Component: PersistenceAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description sandeepkhanna 2009-04-09 14:13:16 UTC
Using Netbeans, one can reverse engineer database tables to create JPA entities and subsequently DAO(Controlllers in
netbeans lingo). But, using this approach you can potentially loose your customizations to the Entity classes when you
regenerate them from the database.

The following screenshot from MyEclipse allows one to create Abstract Entity classes to avoid this.
http://www.myeclipseide.com/documentation/quickstarts/jpa_overview/#reverse

I love the Netbeans IDE and have been using it since its Forte4Java days and would like to really really switch away
from MyEclipse. It would be nice if the Netbeans developers looked at MyEclipse and took some of the excellent
ideas/patterns that it implements and bring them to Netbeans.
Comment 1 Martin Balin 2016-07-07 08:52:52 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