-->
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.  [ 2 posts ] 
Author Message
 Post subject: [Newbie] Built-in Connection Pooling
PostPosted: Wed Feb 23, 2005 10:11 am 
Newbie

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)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 12:48 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Do not use the builting connection pool.


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

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.