karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie G." <jamie.goody...@gmail.com>
Subject Re: installing a specific feature version in karaf 3.0.0
Date Mon, 03 Mar 2014 20:31:27 GMT
Try the syntax: feature:install openjpa/2.2.2

--Jamie

On Mon, Mar 3, 2014 at 4:36 PM, Charlie Mordant <cmordant1@gmail.com> wrote:
> 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é <jb@nanthrax.net>:
>
>> 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é
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>
>
>
>

Mime
View raw message