Darn - read only cvs...

Can't see those files yet - not even on the viewcvs.

/max

Joshua Davis wrote:

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On


Well, lets get it to spit out some SQL, I suppose. I think
the first step is to get it to translate:

from Foo foo where foo.id = 1

to SQL, given a mock instance of net.sf.hibernate.persister.Queryable.


A simple example is in CVS now.  This includes:
* Mock Queryable and SessionFactoryImplementor classes.
* A new HQL->SQL tree transform grammar (hql-sql.g).
* A new SQL code generator grammar (SQL tree-> SQL string) (sql-gen.g).
* Unit test: SQLGenerationTest

So, for all this, you get a lot of code that essentially replaces the class
names with table names. :D  Gotta start somewhere.

[EMAIL PROTECTED]:/cvsroot/yajul
Module=hql

Web view:
http://cvs.sourceforge.net/viewcvs.py/yajul/hql

Please have a look.




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to