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.
See related issue 81019. After discussion with the gf persistence team, it was decided not to generate these annotations with the optional @Basic(fetch=LAZY) additional annotation. However, this is something that could be added as a preference if/when we want to allow more customization to the generation process. Note that I do not envision allowing customization of this per field, but rather per type (user says I do/do not want fetch=LAZY for my Lobs).
When solving this, keep in mind issue 90827.
In NetBean 6.5, there is an additional step (last step and optional) to allow the user to specify the fetch type (default, eager, or lazy). By default, it is "default", meaning no "fetch" attribute is generated on @Basic. Note that the fetch type is global (not per field, not per type).
http://hg.netbeans.org/main?cmd=changeset;node=ec8e1f01702d
The new step is useful, but I believe the ability to specify something different for large data types like Lobs is still useful.
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