You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Albert Lee (Updated) (JIRA)" <ji...@apache.org> on 2012/02/02 20:38:53 UTC
[jira] [Updated] (OPENJPA-1011) Instantiate meta-model classes for
JPA 2.0 from XML descriptors
[ https://issues.apache.org/jira/browse/OPENJPA-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Lee updated OPENJPA-1011:
--------------------------------
Affects Version/s: 2.2.0
2.1.1
Fix Version/s: (was: 2.2.0)
2.3.0
Moved fix version to 2.3.0 in preparation for 2.2.0 release.
> Instantiate meta-model classes for JPA 2.0 from XML descriptors
> ---------------------------------------------------------------
>
> Key: OPENJPA-1011
> URL: https://issues.apache.org/jira/browse/OPENJPA-1011
> Project: OpenJPA
> Issue Type: Improvement
> Affects Versions: 2.0.0, 2.1.1, 2.2.0
> Reporter: Pinaki Poddar
> Assignee: Pinaki Poddar
> Priority: Critical
> Fix For: 2.3.0
>
> Original Estimate: 672h
> Remaining Estimate: 672h
>
> JPA 2.0 has introduced a specification for strictly-typed dynamic query construction. The type-strictness is based on availability of a meta-model. The user application can either use meta-model API to access the type information or instantiate the meta-model (referred as canonical meta-model) with a set of auto-generated classes for compile-time binding. This issue refers to instantiating the canonical meta-model at compile-time.
> The process involves processing source code annotations or xml descriptors.
> Annotation processing support in Java platform has significantly changed across JDK version 5 and 6. In JDK5, the annotation processing was supported by a command-line tool named apt based on com.sun.mirror API library. In JDK 6, the annotation processing is more seamlessly integrated with javac compilation process with javax.annotation API libraries.
> It is not obvious at this point on how to hook into compiler life-cycle when source code has *no* annotation and persistence meta-data is *only* available in XML descriptors.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira