-
Bug
-
Resolution: Done
-
Major
-
None
-
jboss-fuse-6.1
-
None
-
%
-
Hi,
I have a customer who is trying to pass properties to the Dao Implementation bean:
<bean id="dbDao" class="app.persistence.db.dao.impl.DevDbDaoImpl"> <property name="dataSource" ref="dsDB"/> <jpa:context property="entityManager" unitname="appdb"> <jpa:map> <entry key="openjpa.jdbc.Schema" value="${db.schema}" /> </jpa:map> </jpa:context> </bean>
When the DAO bean is instantiated, it appears that the <jpa:map> is not being used as the fuse.log shows the following debug message:
"Creating a container managed entity manager for the persistence unit [javax.persistence.EntityManagerFactory] with the following properties {}"
It looks like it may be related to https://issues.apache.org/jira/browse/ARIES-1023 which is fixed in Aries 2.0.