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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to