Hi all,
Here's an update on the Hibernate3
branch:
* Refactored HQLTest so that it executes the old
QueryTranslator to get the SQL for comparison. There have been some
minor changes in the old QueryTranslator that had made the existing, hard coded
SQL invalid.
* Cleaned up the general scheme for the second phase.
Most of the delimiters and other things are handled by the third phase.
Each chunk of SQL is treated as it's own AST node where
possible.
* Encapsulated the complexity of join post processing into
it's own delegate: JoinProcessor.
* Encapsulated SessionFactoryImplementor. This
takes care of the tricky exception handling, etc.
* DotNode (the AST node that represents a dot in a path) is
now beginning to take on the behaviors of PathExpressionParser. It can
lazily evaluate paths, generating explicit joins.
* Moved the alias generator function into StringHelper
(don't worry, it doesn't reference anything but java.*) from Loader so that the
new QueryTranslator can share it.