Sounds like your using another version of JPA. Look at the xml schema in the persistence.xml and check your using the jpa 2.0 namespace. If your using jpa 1, then the code below won't work, you'll need to use the jpa 1.0 solution:
<bean id="demoBean" class="org.tramiel.demo.TestBeanl"> <jpa:context unitname="my_unit" property="entityManager"/> <tx:transaction method="*" value="Required"/> </bean> What errors are shown in karaf.log? Warm Regards, Stephen Munro -- View this message in context: http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050613.html Sent from the Karaf - User mailing list archive at Nabble.com.