Christian Schneider had kindly updated my code with the solution. My original
setup had two problems:

1. The wrong provider was used,

    I should have used org.hibernate.jpa.HibernatePersistenceProvider rather
than the ejb provider (or 
    remove the provider completely as I only have one).  

2. Updated my feature file to use:
    mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.9.0/xml/features rather than
version 0.5.0
    and introduce the aries.jpa repo: 
  
<repository>mvn:org.apache.aries.jpa/jpa-features/2.6.1/xml/features</repository>

Glad I can finally put this problem to rest! 

Thanks again for all your help on this.

Stephen



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050601.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to