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.
Created attachment 141505 [details] maven project with error case sample and also screenshot Hello, I am using NetBeans 7.4. I created Maven based Java EE 7 WAR project (attached to this report). There is JPA Entity "BetaEntity", some POJO called "Alpha" and "AlphaIntConverter" annotated "@javax.persistence.Converter(autoApply=true)". Please see line 30 in BetaEntity using netbeans. There is followed declaration: private Alpha alpha; And NetBeans shows red circle with exclamation mark and description: "Basic attributes can only be of the following types. ..." And it is not true because of existing convertor for used type Alpha. Attached tar file contains sample project and also (screenshot.png) file with the screenshot from my environment.
yes, unfortunately persistence support know nothing about converters, but what may be good, this warning can be disabled now, but unfortunately again with a number of other attributes related warnings at the same time. it will be separated later.
Related - issue #245467.