Hi jb,

This is my blueprint file

<?xml version="1.0" encoding="UTF-8"?>
<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/v2.0.0";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
           http://aries.apache.org/xmlns/jpa/v2.0.0
           http://aries.apache.org/xmlns/transactions/v2.0.0";>
           
    

        
        <bean id="storeDaoImpl" class="com.data.dao.impl.StoreDaoImpl" >
         <jpa:context property="entityManager" unitname="store"/>
        <tx:transaction method="*" value="Required"/>
        </bean>
        
        <service id="storeDao" ref="storeDaoImpl"
interface="com.data.dao.api.StoreDao" />
        
        <bean id="addCmd" class="com.data.dao.cli.StoreAddCommand">
                <property name="storeDao" ref="storeDao" />
        </bean>
        
                
</blueprint>



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

Reply via email to