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.
Summary: | JSF Pages from Entity Classes generates uncompilable code with GF b67 | ||
---|---|---|---|
Product: | javaee | Reporter: | Petr Pisl <ppisl> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dkonecny, kganfield, pjiricka |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Pisl
2009-10-15 22:11:08 UTC
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. 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 |