You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Rahul Thakur <ra...@gmail.com> on 2008/01/18 02:28:26 UTC

Invoking PCEnhancer programmatically

Hi,

I'd like to call the PCEnhancer.run(...) programmatically.

To this end, I understand that I need:
a)  list of Java sources (or classes) that need to be enhanced.
b)  path to persistence.xml
c)  ProductDerivation conf

Now, there are a couple of methods that I see that could be called. Can 
any one point me to any example in the OpenJPA project sources where I 
can understand:
1) how all the above fit together in the big picture? and,
2) which of these APIs should I be using and when?

Thanks heaps!

Rahul