Re: OpenJPA dependency in osgi bundle with only data model classes

2015-06-17 Thread Charlie Mordant
Hi, You can always make a weaving hook that add dynamic-import at runtime (see https://github.com/ops4j/org.ops4j.pax.jpa/blob/master/pax-jpa/src/main/java/org/ops4j/pax/jpa/impl/JpaWeavingHook.java for an example) Regards, 2015-06-17 15:39 GMT+02:00 Mihael Schmidt : > Thanx for the info. > > 2

Re: OpenJPA dependency in osgi bundle with only data model classes

2015-06-17 Thread Mihael Schmidt
Thanx for the info. 2015-06-17 15:33 GMT+02:00 Rick Curtis : > > is it possible to have no package dependencies to openjpa as I am using > standard > jpa stuff? > Most likely not. The OpenJPA enhancement processing adds a hard dependency > on classes in org.apache.openjpa.enhance > > 2015-06-17 5

Re: OpenJPA dependency in osgi bundle with only data model classes

2015-06-17 Thread Rick Curtis
> is it possible to have no package dependencies to openjpa as I am using > standard jpa stuff? Most likely not. The OpenJPA enhancement processing adds a hard dependency on classes in org.apache.openjpa.enhance 2015-06-17 5:19 GMT-05:00 Mihael Schmidt : > hi, > > i have a question about openjpa

OpenJPA dependency in osgi bundle with only data model classes

2015-06-17 Thread Mihael Schmidt
hi, i have a question about openjpa. i got an osgi bundle with data models containing jpa stuff. i have seen that the import-package line contains org.apache.openjpa.enhance;version="[2.2,3)",org.apache.openjpa.util;version="[2.2,3)" . is it possible to have no package dependencies to openjpa as