--- 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
-
*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
7;Farrels''
[QUOTED_STRING]--- SQL AST --- \-'select'
[SELECT] +-'from' [FROM] |
+-'EG_FOOS AS foo' [TABLE_NAME] | \-'EG_BARS AS
bar' [TABLE_NAME] \-'where'
[WHERE] \-'AND'
[AND] +-'=&
COLUMN_REF] | \-'bar.ID'
[COLUMN_REF] \-'='
[EQ] +-'foo.NAME'
[COLUMN_REF] \-''Farrels''
[QUOTED_STRING]--- SQL AST --- \-'select'
[SELECT] +-'from' [FROM] |
+-'EG_FOOS AS foo' [TABLE_NAME]
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
Title: Message
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 Source licence, and adds only one new library
dependency.
2) Use a three phase design: parse/analyze/ge