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 224694 - [81cat] Unused field in JPA Entity should take into account if the field is set
Summary: [81cat] Unused field in JPA Entity should take into account if the field is set
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2013-01-10 11:02 UTC by misterm
Modified: 2016-07-09 00:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2013-01-10 11:02:44 UTC
If a JPA entity contains a field mapped to a column with no setters but the field is somehow attributed, it shouldn't be considered an unused field, as its value will be in fact persisted.

Product Version = NetBeans IDE Dev (Build 20130110-1f77a08481ab)
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
Comment 1 Sergey Petrov 2013-07-17 15:56:15 UTC
It's another use case where I need to know if I can affect general hints or override general  behavior. But also jpa hints itself are quite limited.
Also with more and more hints in each release similar issues may reappear in ee area.
Comment 2 Petr Jiricka 2013-07-18 07:18:23 UTC
I am cc'ing Honza Lahoda as the owner of the core Java hints, who may know.
Comment 3 Martin Balin 2015-09-17 13:10:35 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.
Comment 4 misterm 2015-09-17 15:04:53 UTC
Still reproducible
Comment 5 Martin Balin 2016-07-07 08:53:13 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