Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by kalyan buddala, 1 year ago
via Hibernate JIRA by kalyan buddala, 1 year ago
via Stack Overflow by user2696089
, 2 years ago
could not execute query
via Stack Overflow by JNPW
, 2 years ago
could not execute query
com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -171, SQLSTATE: 42815, SQLERRMC: 2;-	at com.ibm.db2.jcc.a.hd.e(hd.java:1659)	at com.ibm.db2.jcc.a.hd.a(hd.java:1235)	at com.ibm.db2.jcc.a.hd.a(hd.java:1221)	at com.ibm.db2.jcc.c.jb.h(jb.java:142)	at com.ibm.db2.jcc.c.jb.a(jb.java:43)	at com.ibm.db2.jcc.c.w.a(w.java:30)	at com.ibm.db2.jcc.c.cc.g(cc.java:160)	at com.ibm.db2.jcc.a.hd.n(hd.java:1215)	at com.ibm.db2.jcc.a.id.gb(id.java:1780)	at com.ibm.db2.jcc.a.id.d(id.java:2255)	at com.ibm.db2.jcc.a.id.X(id.java:505)	at com.ibm.db2.jcc.a.id.executeQuery(id.java:488)	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:107)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1183)	at org.hibernate.loader.Loader.doQuery(Loader.java:363)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:203)	at org.hibernate.loader.Loader.doList(Loader.java:1499)	at org.hibernate.loader.Loader.list(Loader.java:1482)	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:103)	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1333)	at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:146)	at com.hibernate.ExceptionTest.getDateDifference(ExceptionTest.java:219)	at com.hibernate.ExceptionTest.main(ExceptionTest.java:43)