-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: HQL Syntax Reference
PostPosted: Tue Jan 11, 2005 8:25 pm 
Newbie

Joined: Tue Jan 11, 2005 5:01 pm
Posts: 10
Hibernate version: 2.1

Hi,

I've been trying to find documentation on HQL that shows the codified syntax rules, not simply HQL examples such as those found in chapter 11 of the "Hibernate Reference Documentation" document.

For example, for the from statement one might have something like:

FROM [package.]classname [ [AS] alias] [,..., [package.]classname [ [AS] alias] ]

(the above syntax may be incorrect)

Instead of various examples like from Formula as form, Parameter as param found in the ref document.

This is typical of SQL syntax reference guides, but I haven't found anything online like this for Hibernate.

Can someone point me to such documentation if it does exist?

Thanks,

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 8:30 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
There is the grammar file for the new parser at http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate3/grammar/hql.g?rev=1.39&only_with_tag=HEAD&view=auto and there is http://www.hibernate.org/89.html which may not be complete however


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 8:37 pm 
Newbie

Joined: Tue Jan 11, 2005 5:01 pm
Posts: 10
That's more like what I was looking for.

Thanks!

Dan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.