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 Alexey Filippov, 2 years ago
via Hibernate JIRA by Alexey Filippov, 1 year ago
java.sql.SQLException: Was expecting a result set	at net.sourceforge.jtds.jdbc.PreparedStatement_base.executeQuery(PreparedStatement_base.java:203)	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:205)	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:508)	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:432)