Boa noite,
Supondo que eu tenha um datasource configurado no wildlfy como está abaixo(usando JTA). É necessário commitar as transações e tratar os rollbacks?
<datasource jta="true" jndi-name="java:jboss/datasources/testeDS" pool-name="testeDS" enabled="true" use-java-context="true" use-ccm="true">
<connection-url>jdbc:jtds:sybase://172.01.01.105:5000/teste_db</connection-url>
<driver>jTDS</driver>
<new-connection-sql>SELECT 1</new-connection-sql>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>30</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
</pool>
<security>
<user-name>user</user-name>
<password>pass</password>
</security>
<statement>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<share-prepared-statements>true</share-prepared-statements>
</statement>
</datasource>