PersistenceCapable import and OpenJPA maven plugin unit test

2007-05-15 Thread Rahul Thakur
Hi, A couple of weeks ago Marc made a good suggestion on IRC that it would be nice to have the OpenJPA Maven plugin not to be dependent on any specific version of OpenJPA library. I removed the compile time dependency but cannot drop it altogether since the plugin's unit test (link below),

[jira] Commented: (OPENJPA-238) Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId.

2007-05-15 Thread Abe White (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496016 ] Abe White commented on OPENJPA-238: --- Custom id classes can have either a (Class,String) or just a String

Re: JNDI lookup in OpenJPA.

2007-05-15 Thread Kevin Sutter
Murali, This is probably a question for the application server (jboss in your case) rather than the jpa provider (openjpa). The binding of an EntityManagerFactory into jndi is an application server (ie. container) process, not a jpa provider process. (The same thing goes for your datasource

Using OpenJPA internal APIs to accessing meta-data for custom code generators

2007-05-15 Thread Evan Ireland
Folks, I am exploring the idea of using OpenJPA internal APIs to obtain meta-data from a persistence unit (e.g. JAR) for use in custom code generation. Since I'm a bit of a newbie to OpenJPA, it would be helpful if someone could give me some starting pointers to save me a little time. Suppose I

Re: Using OpenJPA internal APIs to accessing meta-data for custom code generators

2007-05-15 Thread Patrick Linskey
Probably you should look at the AuxiliaryEnhancer in the PCEnhancer class -- it gives you some hooks for doing further processing during the OpenJPA enhancement process. From there, you should look at ClassMetaData and MetaDataRepository. That's got references to pretty much everything else