Class ReservedWords
- java.lang.Object
-
- org.apache.openjpa.persistence.util.ReservedWords
-
public class ReservedWords extends Object
Utility to test validity of identifier or parameter name.- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
-
Constructor Summary
Constructors Constructor Description ReservedWords()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Character
hasSpecialCharacter(String name)
Returns the special character contained in the given name if any.static boolean
isKeyword(String name)
Affirms if the given string matches any of the JPA reserved words in a case-insensitive manner.
-
-
-
Method Detail
-
isKeyword
public static boolean isKeyword(String name)
Affirms if the given string matches any of the JPA reserved words in a case-insensitive manner.
-
-