Skip to content

Instantly share code, notes, and snippets.

@ccw
Last active October 2, 2015 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccw/2281993 to your computer and use it in GitHub Desktop.
Save ccw/2281993 to your computer and use it in GitHub Desktop.
[DB2] Avoid "ERRORCODE=-4225 SQLSTATE=24514" Error on DB2 9.X
<?xml version="1.0" encoding="UTF-8"?>
<datasource>
<local-tx-datasource>
<driver-class>com.ibm.db2.jcc.DB2Driver</driver-class>
<connection-url>jdbc:db2://server:50000/shared:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;deferPrepares=false;</connection-url>
<security-domain>EncryptDBPassword</security-domain>
<jndi-name>jdbc/SharedServices</jndi-name>
</local-tx-datasource>
</datasource>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment