Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » jpa2.0 - TypesafeMetamodel, Criteria API
jpa2.0 - TypesafeMetamodel, Criteria API [message #479516] Tue, 11 August 2009 11:56 Go to next message
Serge  is currently offline Serge
Messages: 76
Registered: July 2009
Member
according to proposed final draft for jpa 2.0 (March 13),
there should be TypesafeMetamodel annotation, except I miss where it
should be according to 5.1.17 it should be in
javax.persistence.metamodel but in section 6.2.1 there is reference to
javax.persistence.TypesafeMetamodel annotation,

I can't find it in eclipselink 2.0.0 M6 installation zip in javax (jpa
2.0) jar in any package,
is it an issue?
where I can find timeline for feature implementation if it's planned for
implementation?
what is current state for Criteria API support?
Re: jpa2.0 - TypesafeMetamodel, Criteria API [message #479804 is a reply to message #479516] Wed, 12 August 2009 14:59 Go to previous messageGo to next message
Michael OBrien is currently offline Michael OBrien
Messages: 34
Registered: July 2009
Member
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/meta model_api
Metamodel (only) SVN checkins to trunk (2.0):
http://fisheye2.atlassian.com/changelog/~author=mobrien/ecli pselink

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/p lugins/javax.persistence/src/javax/persistence/metamodel/Sta ticMetamodel.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/meta model_api#DI_36:_20090708:_The_StaticMetamodel_requires_an_i mplementation_class


thank you
/michael
www.eclipselink.org
Re: jpa2.0 - TypesafeMetamodel, Criteria API [message #479864 is a reply to message #479804] Wed, 12 August 2009 18:47 Go to previous message
Serge  is currently offline Serge
Messages: 76
Registered: July 2009
Member
thanks, will look
Previous Topic:Testing with Fragment-Plugins
Next Topic:interfaces
Goto Forum:
  


Current Time: Sat Oct 25 19:56:31 GMT 2014

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software