hibernate - java.sql.SQLRecoverableException: Closed Resultset: next -


we migrating our application hibernate deault pool c3p0.

our application running correctly in default pool configuration. c3p0 displays below exception.

16:45:35,890 | debug | com.mchange.v2.sql.sqlutils - attempted convert sqlexception sqlexception. leaving alone. [sqlstate: 08003; errorcode: 17010] java.sql.sqlrecoverableexception: closed resultset: next @ oracle.jdbc.driver.oracleresultsetimpl.next(oracleresultsetimpl.java:214)

our configuration c3p0 below

<property name="hibernate.connection.provider_class">org.hibernate.connection.c3p0connectionprovider</property>     <property name="hibernate.c3p0.min_size">20</property>     <property name="hibernate.c3p0.max_size">200</property>     <property name="hibernate.c3p0.timeout">3000</property>     <property name="hibernate.c3p0.max_statements">50</property>     <property name="hibernate.c3p0.idle_test_period">3000</property> 

and using c3p0.0.9.1.2 jar configuration.

thanks providing assistance.

this trace message. c3p0 log great deal @ debug levels. c3p0 libraries intended logged @ info in general.

all message telling c3p0 observed exception that, in order conform jdbc apis, going need rethrown sqlexception. however, sqlexception, c3p0 left alone. looks though application called next() on closed result set. if message isn't followed evidence of exception, app handles (or swallows or with) it. right thing.

the easiest solution set logging level loggers in com.mchange info.

and please, upgrade c3p0-0.9.2.1.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -