Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-943

Failure to set "SetBigStringTryClob=true" ConnectionProperties in xa-datasource-property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.14.Final, 1.1.0.Beta4
    • 1.0.13.Final, 1.1.0.Beta3
    • JDBC

      I found that when the following is set in the standalone.xml of JBoss-7.1.1.Final, it will have a fatal error:

      <xa-datasource....>
      ....
      <xa-datasource-property name="ConnectionProperties">SetBigStringTryClob=true</xa-datasource-property>
      ....
      </xa-datasource>

      The error is:

      Caused by: javax.resource.ResourceException: No property editor found for type: class java.util.Properties
      at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:601)
      at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:430)

      When I don't define the SetBigStringTryClob setting, all is fine. However, the SetBigStringTryClob is really important for the application to work correctly. Hope there's at least a workaround.

      This worked without problems in JBoss 4.2.3.

              jpederse@redhat.com Jesper Pedersen
              diamantregen_jira Roger S (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: