-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Proposal SQL generation
sebersole edited this page Nov 29, 2012
·
3 revisions
Currently Hibernate generates SQL in a number of different ways. The main generators of SQL include:
- Loader subclasses based on the JoinWalker subclasses
- HQL query parser/translator
- Criteria translator
Obviously, doing the same basic thing in 3 or more places is not ideal. Additionally, another huge limitation is that the current atomic piece to SQL generation is String manipulation based on fragments which has all kinds of drawbacks.
The basic proposal here is to move to an AST based approach to generating SQL.
This proposal has a high correlation to the Loader redesign proposal.
More to come...