2. org.hibernate.exception.GenericJDBCException: could not execute query coderanch.comHi, below are our environment details: jdk1.5.0_14, Hibernate-3.2.6, WebLogic Server- 9.2.2.0 DB2 v9.1.6 we have an issue where we get org.hibernate.exception.GenericJDBCException: could not execute query when we try to execute query using either org.hibernate.Criteria.list() or org.hibernate.Query.list() its weird that this doesn't happen always, any suggestion would be appreciated. stack trace FATAL - caught HibernateException during user search [org.hibernate.exception.GenericJDBCException: could not execute ... |
3. |
4. Hibernate2.0 - GenericJDBCException: Could not execute query forum.hibernate.orgThe following code returns a list & will be used in a JSP, If the same JSP page is refreshed or if I use pagination which gets the lookup data, the above query returns an error: (for 2 or 3 times no error occurs) code:: Query query = session.createQuery("from LookupsDTO l order by l.lookupsPK.codeGroup, l.m_seq"); List lookups = query.list(); LOOKUP mapping ... |
5. GenericJDBCException: could not execute query forum.hibernate.orgHi, I am using Hibernate with MySQL database on tomcat. If application kept ideal for some time, then I get following exception. " org.hibernate.exception.GenericJDBCException: could not execute query " And then all data access fails and this continues until I restart Tomcat. Is it caused by timeout? Is there any parameter which control this? Thanks Sameer |
6. GenericJDBCException: could not execute query??? add_months forum.hibernate.orgHi, Code: List lst = session.createQuery("select add_months(ep.meetingDate,12)-1 from EpPmsPtlDtls ep where ep.ptlDtlsId="+ptlDtlsId).list(); I got the following exception with the above code. Code: at java.lang.Thread.run(Thread.java:595) Caused by: org.hibernate.exception.GenericJDBCException: could not execute query at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateC onverter.java:91) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79) ... |
7. org.hibernate.exception.GenericJDBCException: could not execute query forums.oracle.comHi All, I am developing a web service using Java 1.6 , Hibernate 3.0 , Axis 1.4 and Tomcat Apache 5.5. My issue is that when i work with the "createCriteria" queries they works fine. But when i use "createSQLQuery" it raise the following exception "org.hibernate.exception.GenericJDBCException: could not execute query" and also some times without doing anyting code starts working but ... |