-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: problems with Oracle's schemas and ComboPooledDataSource
PostPosted: Fri Apr 04, 2008 5:01 pm 
Newbie

Joined: Fri Feb 15, 2008 4:35 pm
Posts: 6
Hi, all i have a very hard problem trying to configure the C3P0 conexion pool, i'm sure that the problem is in the automaticTestTable property of the ComboPooledDataSource.

I use Oracle and i think that the problem is related with the schemas.
I think that when C3P0 try to test the connections that are idle it use a sql sentence that doesn't take into account the schemas of Oracle and in consecuence the sentence rise an exception like this:

Quote:

[FINER] com.mchange.v2.c3p0.impl.NewPooledConnection@1c6f1f4 handling a throwable.java.sql.SQLException: ORA-00942: table or view does not exist

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:499)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:941)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:531)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1036)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2904)




Any suggestion will be very appreciated,
Baromir.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.