You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/07/17 22:58:14 UTC

[jira] Created: (OPENJPA-1181) Metamodel Generation must be more selective and controllable

Metamodel Generation must be more selective and controllable
------------------------------------------------------------

                 Key: OPENJPA-1181
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1181
             Project: OpenJPA
          Issue Type: New Feature
          Components: jpa
            Reporter: Pinaki Poddar
            Assignee: Pinaki Poddar


JPA 2.0 specifies canonical memtamodel classes for persistent entities. Currently this generation process is uncontrolled. 
Every time the compiler is invoked with 

    $ java -processor openjpa.AnnotationProcessor6  my.PObject

we generate my.PObject_.java. 

We should be able to control this process. In fact, current limitation of being non-selective stops us from activating the service discovery mechanism. 

One suggestion (by Jeremy) is to add a annotation attribute in the @Entity class.
Another suggestion (by Albert) is to bring this generation process closer to PCEnhancer.

Can we also make use of the has @Generated annotation timestamp in PObject_.java to make some decisions?

 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1181) Metamodel Generation must be more selective and controllable

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-1181.
------------------------------------

    Fix Version/s: 2.0.0-M4
       Resolution: Fixed

> Metamodel Generation must be more selective and controllable
> ------------------------------------------------------------
>
>                 Key: OPENJPA-1181
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1181
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: jpa
>    Affects Versions: 2.0.0
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M4
>
>
> JPA 2.0 specifies canonical memtamodel classes for persistent entities. Currently this generation process is uncontrolled. 
> Every time the compiler is invoked with 
>     $ java -processor openjpa.AnnotationProcessor6  my.PObject
> we generate my.PObject_.java. 
> We should be able to control this process. In fact, current limitation of being non-selective stops us from activating the service discovery mechanism. 
> One suggestion (by Jeremy) is to add a annotation attribute in the @Entity class.
> Another suggestion (by Albert) is to bring this generation process closer to PCEnhancer.
> Can we also make use of the has @Generated annotation timestamp in PObject_.java to make some decisions?
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.