Hi, You can always look at the jpa feature content: http://repo1.maven.org/maven2/org/apache/karaf/features/enterprise/3.0.0/enterprise-3.0.0-features.xml
It contains the JPA 2.0 specs. Note that the hibernate feature is 3.x, but I already saw a mail or a ticket somewher in the Karaf ecosystem that listed the mandatory bundles. Regards, 2014-03-03 21:01 GMT+01:00 Jean-Baptiste Onofré <[email protected]>: > Hi, > > 1/ 1.0.1 is the version of the Aries JPA bundles, not the JPA spec > version. Actually, feature:install jpa installs a JPA 2.0 spec. > 2/ Karaf now provides features for hibernate (just type feature:install > hibernate). > > Regards > JB > > > On 03/03/2014 08:57 PM, asookazian2 wrote: > >> I'm working on a JPA/Hibernate sample project and it's calling for the >> following bundle installs: >> >> install -s >> mvn:org.hibernate.common/hibernate-commons-annotations/4.0.4.Final >> install -s mvn:org.hibernate/hibernate-core/4.2.7.Final >> install -s mvn:org.hibernate/hibernate-entitymanager/4.2.7.Final >> >> When I run the following cmd 'feature:install jpa' I get JPA 1.0.1. I'm >> not >> sure that version is compatible with Hibernate 4.x. How can I install JPA >> 2.x? >> >> karaf cmd: 'feature:install jpa 2.0.0' does not seem to work. >> >> I found this config xml file: >> >> ./system/org/apache/karaf/features/enterprise/3.0.0/ >> enterprise-3.0.0-features.xml >> >> It seems to specify JPA 1.0.1. Must this file be directly edited so I can >> install a different version of JPA? >> >> https://github.com/lburgazzoli/lb-karaf-examples- >> jpa/tree/master/jpa-hibernate >> <https://github.com/lburgazzoli/lb-karaf-examples- >> jpa/tree/master/jpa-hibernate> >> >> thx. >> >> >> >> -- >> View this message in context: http://karaf.922171.n3.nabble. >> com/installing-a-specific-feature-version-in-karaf-3-0-0-tp4032022.html >> Sent from the Karaf - User mailing list archive at Nabble.com. >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
