5 Replies Latest reply on May 17, 2007 6:10 AM by Bernd Ruecker

    configuring DbPersistenceServiceFactory is not working?

    Bernd Ruecker Master

      I am trying to configure the DbPersistenceServiceFactory like mentioned in the documentation

       <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
       <field name="isTransactionEnabled"><false /></field>
       <field name="isCurrentSessionEnabled"><true /></field>

      but the properties are not set on the Factory (I checked it via adding logging).

      I tried some variations:

      <boolean name="isTransactionEnabled" value="false" />
      <boolean name="isCurrentSessionEnabled" value="true" />

      <field name="isTransactionEnabled"><boolean value="false" /></field>
      <field name="isCurrentSessionEnabled"><boolean value="true" /></field>

      <field name="transactionEnabled"><boolean value="false" /></field>
      <field name="currentSessionEnabled"><boolean value="true" /></field>
      // (because setter is called setCurrentSessionEnabled)

      But non of them takes effect in the configuration of the factory. What I am doing wrong, how to configure it correctly?

      Thanks in advance