final HBqlStatement stmt = parser.hbqlStatement();
stmt.validate();
return stmt;
}
catch (LexerRecognitionException e) {
throw new ParseException(e.getRecognitionExecption(), sql);
}
catch (RecognitionException e) {
throw new ParseException(e, sql);
}
}