I haven't figured out exactly how you turn it on, although I think the examples 
or itests show how, but the aries jpa support has load-time weaving without a 
javaagent working with an osgi 4.3 framework (i.e. equinox).

david jencks

On Jun 13, 2011, at 9:50 AM, Harald Wellmann wrote:

> Is there a way to use OpenJPA with Aries (or, more generally, in any OSGi 
> context) without running the OpenJPA enhancer at build time?
> 
> The problem is, after build time enhancement, the persistence bundle has an 
> Import-Package dependency on OpenJPA, and I don't really want to recompile my 
> persistence bundles to make them work with one or the other persistence 
> provider.
> 
> Sorry if this is slightly off topic and really an OpenJPA question, but I 
> guess Aries users will be more aware of the problem.
> 
> Regards,
> Harald

Reply via email to