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 JSF from entity classes works well with Glassfish build 66, but doesn't work with build 77, because in the b77 the EntityManager doesn't have public method getQueryBuilder(). Please evaluate, whether there is not new version of the EclipseLink.
Could be EclipseLink related - it was updated from M8 to M9 (see: http://www.eclipse.org/eclipselink/downloads/milestones.php) between GF build 66 and 67.
I've tried it on GF3-b68 from last night and it looks like EntityManager.getQueryBuilder() method was renamed to EntityManager.getCriteriaBuilder(). I will ask spec lead for list of other changes but if NB68 Beta is going to contain GF3 build 67 and newer then we have to update EJB code generator.
Following should be the last three API changes (according to JPA spec lead): - QueryBuilder changed to CriteriaBuilder (and getQueryBuilder -> getCriteriaBuilder() ) - Predicate.negate() changed to Predicate.not() - MappedById removed and replaced by MapsId
orm.xsd in gf3-b67 still contain "mapped-by-id" attribute. negate isn't yet used in generated code. will update getQueryBuilder -> getCriteriaBuilder() usages.
http://hg.netbeans.org/web-main/rev/1ea8c58fe3e6
Integrated into 'main-golden', will be available in build *200910170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1207b15b378c User: sergeyp@netbeans.org Log: fix #174701 - update bundled eclipselink to M9 to be consistent with latest gf