Beginner |
|
Joined: Wed Feb 06, 2013 2:43 am Posts: 46
|
ASTQueryTranslatorFactory : Generates translators which uses the Antlr-based parser to perform the translation. 1) Added in Hibernate 3
ClassicQueryTranslatorFactory : Generates translators which uses the older hand-written parser to perform the translation. 1) Added in Hibernate 2.1 and in Hibernate 3 also.
ASTQueryTranslatorFactory is the new translator which parses the queries in Hibernate 3 and is by default activated. It does not support all queries from Hibernate 2.1 if you are doing a migration . For that you can switch the translator to ClassicQueryTranslatorFactory
_________________ Thanks, Ajit Singh ajits@mindfiresolutions.com www.mindfiresolutions.com
|
|