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 Dev (Build 201110040601) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) Client VM 21.0-b17 - create an entity class - create a method private void doNothingl() { } --> NB shows "Method doNothing() is not used" - add a @PrePersist annotation @PrePersist private void doNothingl() { } --> NB still shows "Method doNothing() is not used" even though the method now is used before persisting
I guess, same missleading hint will appear for other lifecyle annotations
*** This bug has been marked as a duplicate of bug 176240 ***