Re: [Hibernate] AST parser for HQL

2003-12-11 Thread Joshua Davis
--- Gavin King <[EMAIL PROTECTED]> wrote: > We look at the Type of the property. > > Take a look at AssociationType. > > This is an area which is probably not as clean as it > should be, so I > welcome suggestions for improvements. Thanks, will do. __ Do you

Re: [Hibernate] AST parser for HQL

2003-12-11 Thread Gavin King
- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Joshua Davis *Sent:* Tuesday, December 09, 2003 6:23 AM *To:* [EMAIL PROTECTED] *Subject:* RE: [Hibernate] AST parser for HQL The following is an example of the output from each phase when an 'implied joi

RE: [Hibernate] AST parser for HQL

2003-12-11 Thread Joshua Davis
lives in)? (b) How do you get the foreign key column name for the relationship? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua DavisSent: Tuesday, December 09, 2003 6:23 AMTo: [EMAIL PROTECTED]Subject: RE: [Hibernate] AST parser

RE: [Hibernate] AST parser for HQL

2003-12-09 Thread Joshua Davis
Title: Message The following is an example of the output from each phase when an 'implied join' is processed.  The hibernate mapping is enclosed.   Notes: 1) The 'booleanExpr=>' sub-tree is the resulting tree *after* the analyzer has added any theta-style join clauses. 2) It does not yet a

Re: [Hibernate] AST parser for HQL

2003-12-09 Thread Max Rydahl Andersen
I'm running out my door now, so don't have much time...but just wanna say this is GREAT WORK ;) /max Joshua Davis wrote: Hibernate programmers, I've made some progress with the HQL parser, so here's an update: Design decisions: 1) Use ANTLR to generate the parser. It has a compatible Open So