... and the blueprint is: <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v2.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.1.0">
<bean id="query" class="ch.eugster.herakles.persistence.jpa.query.JpaQuery"> <tx:transaction method="*" value="Required" /> <jpa:context unitname="herakles" property="entityManager" /> <property name="logService" ref="logService" /> </bean> <service ref="query" interface="ch.eugster.herakles.persistence.api.query.Query" /> <bean id="populator" class="ch.eugster.herakles.persistence.jpa.query.Populator" init-method="populate" activation="eager"> <property name="query" ref="query" /> <property name="logService" ref="logService" /> </bean> </blueprint> -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html