We have problems when using XADataSource with a PreparedStatement. The DB table has one column type as BLOB. We use PreparedStatement and run executeUpdate() method after setting values for the PreparedStatement. We set the value for the BLOB column as BinaryInputStream. The method doesn't looks to complete and we do not receive any error also. The same stuff works fine when using the DB2ConnectionPoolDataSource. We use com.ibm.db2.jcc.DB2XADataSource.