Sailaja Baluvu wrote:
[i][i]Need help with Hibernate?
Hibernate version: 3.1.3
5-Apr-06 15:22:41 DEBUG A Throwable occurred while trying to reset the typeMap property of our Connection to Collections.EMPTY_MAP!
com.sybase.jdbc3.utils.UnimplementedOperationException: The method com.sybase.jdbc3.jdbc.SybConnection.setTypeMap(java.util.Map) has not been completed and should not be called.
at com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException(ErrorMessage.java:957)
at com.sybase.jdbc3.utils.Debug.notImplemented(Debug.java:387)
at com.sybase.jdbc3.jdbc.SybConnection.setTypeMap(SybConnection.java:2010)
at com.mchange.v2.c3p0.impl.NewPooledConnection.reset(NewPooledConnection.java:290)
at com.mchange.v2.c3p0.impl.NewPooledConnection.markClosedProxyConnection(NewPooledConnection.java:247)
at com.mchange.v2.c3p0.impl.NewProxyConnection.close(NewProxyConnection.java:1148)
at com.mchange.v1.db.sql.ConnectionUtils.attemptClose(ConnectionUtils.java:41)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.testPooledConnection(C3P0PooledConnectionPool.java:182)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.refurbishIdleResource(C3P0PooledConnectionPool.java:136)
at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1394)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)
Database i am using.
JDBC -3 , JConnect -6
WebSphere 5.1
c3po- connection pooling
The above exception is coming when i run a cron job (Batch Job) Nothing to do with Websphere. If the method is not implemented in jdbc3.jdbc.SybConnection.setTypeMap then how do i go about regarding the connection pooling.
Regards
Sailaja Baluvu
have you tried updating your JDBC driver?