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 <[email protected]>: > Thanx for the info. > > 2015-06-17 15:33 GMT+02:00 Rick Curtis <[email protected]>: > > > > 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 <[email protected]>: > > > > > 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 I am using > > > standard jpa stuff? > > > > > > pom.xml: http://pastebin.com/wSvT03ca > > > > > > Best Regards > > > > > > Mihael Schmidt > > > > > > -- > > > > > > Schulz Gebäudeservice GmbH & Co. KG > > > Dr.-Max-Ilgner-Straße 17 > > > 32339 Espelkamp > > > Persönlich haftende Gesellschafterin: > > > Gebäudereinigung Joachim Schulz > > > Verwaltungsgesellschaft mbH > > > Telefon: +49 5772 9100 0 > > > Telefax: +49 5772 9100 11 > > > Email: [email protected] > > > Internet: www.sgbs.de > > > Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica > > > Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591 > > > UST-Id-Nr.: DE 125752702 > > > > > > > > > > > -- > > *Rick Curtis* > > > > > > -- > Mihael Schmidt > Software und System-Entwicklung > > -- > > Schulz Gebäudeservice GmbH & Co. KG > Dr.-Max-Ilgner-Straße 17 > 32339 Espelkamp > Persönlich haftende Gesellschafterin: > Gebäudereinigung Joachim Schulz > Verwaltungsgesellschaft mbH > Telefon: +49 5772 9100 0 > Telefax: +49 5772 9100 11 > Email: [email protected] > Internet: www.sgbs.de > Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica > Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591 > UST-Id-Nr.: DE 125752702 > -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
