Hi,
I'm using Hibernate3 with Sybase (jconnect3) with c3p0 for connection pooling. When I run the application, I get the following message:
Code:
2188 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] INFO com.mchange.v2.c3p0.SQLWarnings -010SK: Database cannot set connection option SET_CATALOG.
java.sql.SQLWarning: 010SK: Database cannot set connection option SET_CATALOG.
at com.sybase.jdbc3.jdbc.ErrorMessage.createWarning(Unknown Source)
at com.sybase.jdbc3.jdbc.ErrorMessage.raiseWarning(Unknown Source)
at com.sybase.jdbc3.jdbc.MdaManager.getMetaDataAccessor(Unknown Source)
at com.sybase.jdbc3.jdbc.MdaManager.getMetaDataAccessor(Unknown Source)
at com.sybase.jdbc3.jdbc.MdaManager.getMetaDataAccessor(Unknown Source)
at com.sybase.jdbc3.tds.Tds.setOption(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.setCatalog(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.init(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
at com.sybase.jdbc3.jdbc.SybDriver.connect(Unknown Source)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Do you happen to know what the problem might be?
Thanks