|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.engine.query.ParameterParser
public class ParameterParser
The single available method parse(java.lang.String, org.hibernate.engine.query.ParameterParser.Recognizer)
is responsible for parsing a
query string and recognizing tokens in relation to parameters (either
named, JPA-style, or ordinal) and providing callbacks about such
recognitions.
Nested Class Summary | |
---|---|
static interface |
ParameterParser.Recognizer
|
Method Summary | |
---|---|
static void |
parse(java.lang.String sqlString,
ParameterParser.Recognizer recognizer)
Performs the actual parsing and tokenizing of the query string making appropriate callbacks to the given recognizer upon recognition of the various tokens. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void parse(java.lang.String sqlString, ParameterParser.Recognizer recognizer) throws QueryException
sqlString
- The string to be parsed/tokenized.recognizer
- The thing which handles recognition events.
QueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |