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