public static interface ParameterParser.Recognizer
Modifier and Type | Method and Description |
---|---|
void |
jpaPositionalParameter(java.lang.String name,
int position)
Called when a JPA-style named parameter is recognized
|
void |
namedParameter(java.lang.String name,
int position)
Called when a named parameter is recognized
|
void |
ordinalParameter(int position)
Called when an ordinal parameter is recognized
|
void |
other(char character)
Called when a character that is not a parameter (or part of a parameter dfinition) is recognized.
|
void |
outParameter(int position)
Called when an output parameter is recognized
|
void outParameter(int position)
position
- The position within the queryvoid ordinalParameter(int position)
position
- The position within the queryvoid namedParameter(java.lang.String name, int position)
name
- The recognized parameter nameposition
- The position within the queryvoid jpaPositionalParameter(java.lang.String name, int position)
name
- The name of the JPA-style parameterposition
- The position within the queryvoid other(char character)
character
- The recognized characterCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.