Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
resource.ds.className=bitronix.tm.resource.jdbc.lrc.LrcXADataSource
resource.ds.uniqueName=hsqldb
resource.ds.maxPoolSize=5
resource.ds.allowLocalTransactions=true
resource.ds.driverProperties.driverClassName=org.hsqldb.jdbcDriver
resource.ds.driverProperties.url=jdbc:hsqldb:/the/db/path
resource.ds.driverProperties.user=sa
resource.ds.driverProperties.password=theSaPassword
Warning
titleMandatory pool settings

The LRC implementation relies on the useTmJoin and deferConnectionRelease pool properties which must always be true (the default value).
Do not change these properties as this could force the transaction manager to reject the resource or worse, cause inconsistencies during commit phase.

BTM 1.3.1 and higher are immune to this problem as these settings are enforced when LrcXADataSource is detected.