Okay, figred this out. Copied the implementation of QueryTranslator.createNameFor(Class) into the new parser (along with the comment about uglyness). I figured one a y'all would recognize the code and fix it up later. :D
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Joshua Davis > Sent: Monday, December 08, 2003 10:06 PM > To: [EMAIL PROTECTED] > Subject: RE: [Hibernate] AST grammar for HQL > > > > -----Original Message----- > > From: Gavin King [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 05, 2003 8:48 AM > > > BTW, Is there some interface I should use to generate the alias > > > symbols (e.g. 'bar_' in the previous example)? > > > > In the current Hibernate 2.1 CVS, this is done by > > Loader.generateAlias(String, int). > > > I take it this is now Queryable.createNameFor(Class)? > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel