org.hibernate.hql.ast.QuerySyntaxError: unexpected AST node: . [ from AnyObject obj order by anypackage.anyfunction(obj.id) ]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Roland Scheel, 1 year ago
unexpected AST node: . [ from AnyObject obj order by anypackage.anyfunction(obj.id) ]
via Hibernate JIRA by Roland Scheel, 1 year ago
unexpected AST node: . [ from AnyObject obj order by anypackage.anyfunction(obj.id) ]
via Coderanch by Pooja Kumar, 11 months ago
DUAL is not mapped. [ SELECT RESPONSE_PK_SEQ.NEXTVAL FROM DUAL D ]
via Coderanch by renga ram, 11 months ago
unexpected AST node: ( [select link, userTargetedContent.displayName from com.wamu.dashboard.hotlinks.HotLink link, com.wamu.dashboard.security.permission.UserTargetedContent userTargetedContent where link.userPermissionCode = userTargetedContent.userPermissionCode and link.userPermissionCode (:userPermissionCode) order by link.userPermissionCode, link.displayName]
via Oracle Community by 843859, 3 months ago
person is not mapped. [from person]
org.hibernate.hql.ast.QuerySyntaxError: unexpected AST node: . [ from AnyObject obj order by anypackage.anyfunction(obj.id) ]
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:63)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:196)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:130)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:425)
at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:386)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:289)
at de.tmobile.cs.db.AbstractCSDatabase.(AbstractCSDatabase.java:94)
at de.tmobile.cs.db.CSDatabase.(CSDatabase.java:13)
at de.tmobile.cs.db.CSDatabase.getInstance(CSDatabase.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at de.tmobile.cs.dbrt.SessionFactoryProvider.(SessionFactoryProvider.java:53)
at de.tmobile.cs.db.AutomaticQueryTest.testQueries(AutomaticQueryTest.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:72)
at junit.textui.TestRunner.run(TestRunner.java:57)
at de.tmobile.cs.db.AutomaticQueryTest.main(AutomaticQueryTest.java:150)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.