Joined: Wed Feb 23, 2005 9:01 am Posts: 9 Location: London
|
Hello
I'm using the built-in connection pooling and receive the following stack trace for any query that I perform. From looking at the Java source, it appears that it is the getQueryTimeout that is the problem (WARNING: exception clearing maxRows/queryTimeout).
1) Is the timeout period something I need to worry about?
2) Can error messages be suppressed?
3) Can the timeout functionality be controlled via a setting within hibernate.cfg.xml
Thanks
Mark
Hibernate: select corporatio0_.Company as Company from PUB.Corporation corporatio0_ where (corporatio0_.Company='02425920' )
23-Feb-2005 11:38:46 net.sf.hibernate.impl.BatcherImpl closeQueryStatement
WARNING: exception clearing maxRows/queryTimeout
java.sql.SQLException: Driver does not support this function
at openlink.jdbc3.OPLMessage.makeException(Unknown Source)
at openlink.jdbc3.OPLUtility.getIntegerInfo(Unknown Source)
at openlink.jdbc3.OPLStatement.getQueryTimeout(Unknown Source)
at net.sf.hibernate.impl.BatcherImpl.closeQueryStatement(BatcherImpl.java:150)
at net.sf.hibernate.impl.BatcherImpl.closeQueryStatement(BatcherImpl.java:105)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:306)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
at net.sf.hibernate.loader.Loader.list(Loader.java:1054)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1531)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1523)
at com.equifax.base._BaseRootDAO.find(_BaseRootDAO.java:224)
at com.equifax.base._BaseRootDAO.find(_BaseRootDAO.java:212)
at Test.main(Test.java:29)
|
|