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 named query results in the warning "The collection-valued path 'k.bestellungen' must resolve to an association field.". However, the abstract entity class AbstractKunde has the field (and get/set method) Bestellungen of type List<Bestellung". @NamedQuery(name = AbstractKunde.FIND_KUNDEN_OHNE_BESTELLUNGEN, query = "SELECT k" + " FROM AbstractKunde k" + " WHERE k.bestellungen IS EMPTY"),
thanks, can you provide sample project?
Created attachment 143984 [details] Testcase with named query In the Maven-ized project (src/main/java) you find the class de.shop.kundenverwaltung.AbstractKunde. The named query is at line 135.
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b37896eaab41 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #240497 adjust collection determining
integrated