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.
The following pattern works: $mod$ @org.hibernate.annotations.ForeignKey(name = $name) @javax.persistence.JoinColumn($args$) $type $var => $mod$ $type $var ;; while this doesn't: $mod$ @org.hibernate.annotations.ForeignKey(name = $name) @javax.persistence.JoinColumn($args$) $type $var => $mod$ @javax.persistence.JoinColumn($args$) $type $var ;; I really need it to work because I want to write a general migration from o.h.a.ForeignKey to the javax.persistence equivalent, which needs to be added to @JoinColumn as foreignKey=@j.p.ForeignKey(...) Product Version = NetBeans IDE Dev (Build 20150427-7bc72e402ee2) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.8.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Could you supply a sample simple project for testing ? I know I am lazy :) sorry, but you save me the time remembering my Hibernate days. Thanks.
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