[jboss-user] [JBoss Seam] - ejq-ql subquery in seam

zdaler do-not-reply at jboss.com
Tue Apr 17 04:27:10 EDT 2007


this might be a little off topic since it's an ejb-ql question but I'm using it inside seam and I think maybe my error will be obvious to some of you.

I'm simply trying to execute a simple (test) subquery like this :
select t from MyObject t order by ( select 1 )

but I get the error :

anonymous wrote : Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select t from com.[...].MyObject t order by ( select 1 ) ]

any hint ? (I guess I'm doing some stupid mistake somewhere ...)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037874#4037874

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037874



More information about the jboss-user mailing list