public static interface ParameterParser.Recognizer
Modifier and Type | Method and Description |
---|---|
void |
jpaPositionalParameter(String name,
int position)
Called when a JPA-style named parameter is recognized
|
void |
namedParameter(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(String name, int position)
name
- The recognized parameter nameposition
- The position within the queryvoid jpaPositionalParameter(String name, int position)
name
- The name of the JPA-style parameterposition
- The position within the queryvoid other(char character)
character
- The recognized characterCopyright © 2016 JBoss by Red Hat. All rights reserved.