An update on what I've been up to so far...

* ANTLR support added: build.xml, build.bat and lib/antlr-2.7.2.jar 
* Hibernate2/grammar - The ANTLR grammar source code.
* ANTLR generates source code into build/generated-src.

New packages:

* net.sf.hibernate.hql.anltr - Parser classes generated by ANTLR from the
grammar files.
* net.sf.hibernate.hql.ast - The hand coded parser sub-classes and the new
QueryTranslator implementation.

Refactorings:

* QueryTranslator is now an interface.  Implementation instances are created
by QueryTranslatorFactory.  For testing the QueryTranslator implementation
class can be set programmatically, or via the
'net.sf.hibernate.hql.QueryTranslatorClass' system property.
* The old QueryTranslator is now 'net.sf.hibernate.hql.QueryTranslatorImpl'
* Some code that is shared by both the old and new implementations has been
moved into helper classes in the net.sf.hibernate.hql package.

Unit tests:

* HqlParserTest - Covers the HQL grammar.
* HQLTest - Regression test that can be used to check any QueryTranslator
implementation against some authoratative results.
* Currently FooBarTest.testRefresh is failing... don't know why.




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to