Hi,
we want to make the name configurable AdminService unit-name, the problem is 
that the namespace jpa: context does not evaluate the property:
<?xml version="1.0" encoding="UTF-8"?><blueprint 
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";     
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0";      
xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0"; 
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0";     
default-activation="eager">             <cm:property-placeholder 
persistent-id="domain-party" update-strategy="reload">         
<cm:default-properties>                 <cm:property name="unitname" 
value="jeet-core-pu" />            </cm:default-properties>        
</cm:property-placeholder>
        <bean id="partyRepositoryFactory"               
class="com.jeet.domain.base.service.repository.jpa.JeetJpaRepositoryFactoryBean"
                init-method="afterPropertiesSet">               <jpa:context 
property="entityManager" unitname="${unitname}" />         <property 
name="repositoryInterface"                    
value="com.jeet.domain.party.service.impl.party.repository.PartyRepository" />  
</bean>
</blueprint>                                      

Reply via email to