[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: jpa2.0 - TypesafeMetamodel, Criteria API

Serge,
Hi, For the Metamodel API, here is a link to the JPA 2.0 Metamodel API design document and master bug# 266912. The implementation is near completion, you may track progress on the bug page or the design issues section in the wiki doc.


Enhancement bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266912
Wiki design doc:
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api
Metamodel (only) SVN checkins to trunk (2.0):
http://fisheye2.atlassian.com/changelog/~author=mobrien/eclipselink

The JPA 2.0 features on enhancement# 248291 as part of JSR-317 are being released as part of the EclipseLink 2.0 RI release.
See the following enhancement bug that is tracking all JPA 2.0 work for this release.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248291
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0



TypesafeMetamodel -> StaticMetamodel
See Appendix A.4 of the latest 20090723 version of the specification (you may not have access to this latest version) on p.468


"Renamed TypesafeMetamodel annotation to StaticMetamodel."
Here is a link into the StaticMetamodel annotation interface in the javax.persistence package (replaces TypesafeMetamodel)
http://fisheye2.atlassian.com/browse/eclipselink/trunk/jpa/plugins/javax.persistence/src/javax/persistence/metamodel/StaticMetamodel.java


package javax.persistence.metamodel;
public @interface StaticMetamodel {
   Class<?> value();
}

See the following bug and design issue #36 for any implementation changes required for this interface (currently none).
https://bugs.eclipse.org/bugs/show_bug.cgi?id=282868
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#DI_36:_20090708:_The_StaticMetamodel_requires_an_implementation_class



thank you /michael www.eclipselink.org