Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6881

Passing properties for jpa:map

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.1
    • Aries
    • None
    • % %

    Description

      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.

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-sjavurek Susan Javurek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: