Hi,
I am currently working on a tool for the support of entering syntactically and semantically correct HQL statements. Therefore, I can well create the AST of a given query string with
Code:
HqlParser parser = HqlParser.getInstance(queryString);
parser.setFilter(true);
parser.statement();
AST hqlAst = parser.getAST();
I am wondering if there are some helper classes hidden somewhere in the hibernate source code, that help me in serializing the AST to a well formed HQL string. Does anoyone have an idea on that?
Regards,
Bastian