}
public static HBqlStatement parseHBqlStatement(final String sql) throws HBqlException {
try {
final HBqlParser parser = ParserUtil.newHBqlParser(sql + ";");
final HBqlStatement stmt = parser.hbqlStatement();
stmt.validate();
return stmt;
}
catch (LexerRecognitionException e) {
throw new ParseException(e.getRecognitionExecption(), sql);