-->
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: Where to look to understand the guts?
PostPosted: Fri Oct 03, 2003 11:45 am 
Newbie

Joined: Fri Oct 03, 2003 11:26 am
Posts: 1
Location: United States
I'm trying to wrap my brains around the HQL and how it's implemented, under the covers. Any suggestions of where to look? I've poked at the javadocs, and tried to glean some information from the test tree, but am missing the big picture. Any leads on where to begin my quest for knowledge? I'm impressed with Hibernate's documentation for users, but I guess I'm looking for the playbook for folks who are interested in its development.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 03, 2003 12:55 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Have a look at source code n.s.h.hql package and the entry class QueryTranslator.java


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 03, 2003 2:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
More and more people have been asking for this, so it is certainly on my todo list to document internals. We had a session at JAOO going through this stuff (we should have videotaped it!)

Note: the current implementation of the HQL translator is NOT elegant. We will eventually re-write it to use a proper grammar + generated parser + AST. Currently it uses a pure-lookbehind, handwritten parser and no AST.


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.