Note that there are some explanatory texts on larger screens.

plurals
  1. POjava.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyConnection
    primarykey
    data
    text
    <p>i am getting the following </p> <pre><code>java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyConnection </code></pre> <p>when the following code executes. could you please help me how to solve.</p> <pre><code> ComboPooledDataSource connPool = new ComboPooledDataSource(); connPool .setJdbcUrl(PropertyReader.getSystemProperty(DB_URL)); connPool .setUser(PropertyReader.getSystemProperty(DB_USER)); connPool .setPassword(Decryption.getDecryptedPwd(DB_PASSWORD)); connPool .setMaxPoolSize(MAX_POOL_SIZE); connPool .setMaxIdleTime(MAX_IDLE_TIME); connPool .setMinPoolSize(MIN_POOL_SIZE); connPool .setMaxAdministrativeTaskTime(15); java.sql.Connection conn = connPool.getConnection(); oracle.sql.CLOB c = CLOB.createTemporary(conn, false, CLOB.DURATION_SESSION); Writer writer = c.setCharacterStream(0L); writer.write(String.valueOf(pNoListDelimited).toCharArray()); writer.flush(); writer.close(); </code></pre> <p>Exception stack trace </p> <pre><code> java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyConnection at oracle.sql.CLOB.createTemporary(CLOB.java:676) at oracle.sql.CLOB.createTemporary(CLOB.java:640) …… ….. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload