I am using Wildfly 13 with a MS SQLServer database (sqljdbc driver 4.0.0)
I am trying to set the transaction isolation for the connections created by Wildfly.
The local datasource configuration is
<datasource jndi-name="java:jboss/datasources/SOMDS" pool-name="SOMDS" enabled="true" use-java-context="true">
<connection-url>jdbc:sqlserver://127.0.0.1\SQLEXPRESS:1433;databaseName=vmscs_Eneos_2;sendStringParametersAsUnicode=false</connection-url>
<driver>sqljdbc4.jar</driver>
<transaction-isolation>TRANSACTION_READ_UNCOMMITTED</transaction-isolation>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>true</prefill>
</pool>
<security>
<user-name>som</user-name>
<password>som</password>
</security>
</datasource>
But all the connections are created with the default transaction isolation level (TRANSACTION_READ_COMMITTED) and this is never changed.
Any idea about what could be wrong.
Thanks