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.
JPA supports an @Version annotation to identify columns that can be used for optimistic locking by the underlying persistence engine. When generating entity classes from an existing database, there is no obvious way to identify such columns. However, if <http://www.netbeans.org/issues/show_bug.cgi?id=84106> were implemented, one could easily add a UI control so that the user could optionally identify a particular column to receive the @Version annotation in addition to whatever other annotations it gets.
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