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 Santtu Virolainen, 2 years ago
via Hibernate JIRA by Santtu Virolainen, 1 year ago
via Coderanch by Sapana R Patel, 1 year ago
could not execute query
java.sql.SQLException: Parameter #1 has not been set.	at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL(ConnectionJDBC2.java:649)	at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:777)	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)	at org.hibernate.loader.Loader.doQuery(Loader.java:674)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)	at org.hibernate.loader.Loader.doList(Loader.java:2220)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)	at org.hibernate.loader.Loader.list(Loader.java:2099)	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)	at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)	at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)	at com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.loadClassDataFromDatabase(DefaultStaticDataLoaderStrategy.java:44)	at com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.main(DefaultStaticDataLoaderStrategy.java:66)