public class JPQLQueryHelper extends Object
| Constructor and Description |
|---|
JPQLQueryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJPQLForExpression(Expression expr)
Convenience method to return the JPQL single-string query text for the provided expression.
|
static boolean |
isKeyword(String name)
Convenience method returning if the supplied name is a keyword for this query language.
|
static boolean |
isReservedIdentifier(String name)
Convenience method returning if the supplied name is a reserved identifier for this query language.
|
public static boolean isKeyword(String name)
name - Name to checkpublic static boolean isReservedIdentifier(String name)
name - Name to checkpublic static String getJPQLForExpression(Expression expr)
expr - The expressionCopyright © 2017. All rights reserved.