If anyone needs to use the StringClobType scenario with WebSphere
connection pools, you must un-wrap the connection in nullSafeSet() as
mentioned above.
The way to do that is modify to this:
[code]
Connection conn = dbMetaData.getConnection();
//unwrapping connection: required when using a connection pool
Object oconn = WSJdbcUtil.getNativeConnection((WSJdbcConnection)conn);
[/code]
Then change all references below that from conn to oconn. |