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 Vasyl Zhabko, 1 year ago
could not execute query
via Hibernate JIRA by Vasyl Zhabko, 1 year ago
could not execute query
via Oracle Community by 707610, 1 year ago
via oracle.com by Unknown author, 1 year ago
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Column name 'kittens2_.NAME' is invalid in the ORDER BY clause because it is not contained in an aggregate function and there is no GROUP BY clause.	at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)	at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)	at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)	at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)	at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)	at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)	at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)	at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)	at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)	at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)	at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)	at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)	at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:120)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1272)	at org.hibernate.loader.Loader.doQuery(Loader.java:391)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)	at org.hibernate.loader.Loader.doList(Loader.java:1593)	at org.hibernate.loader.Loader.list(Loader.java:1577)	at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:111)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1322)	at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:300)	at test.test.Test.test(Test.java:62)	at test.test.Test.main(Test.java:79)