diff --git a/jpa/org.eclipse.persistence.jpa.jpql/src/org/eclipse/persistence/jpa/jpql/parser/LocateExpression.java b/jpa/org.eclipse.persistence.jpa.jpql/src/org/eclipse/persistence/jpa/jpql/parser/LocateExpression.java index 1a17c8a0bf9..884442a51b9 100644 --- a/jpa/org.eclipse.persistence.jpa.jpql/src/org/eclipse/persistence/jpa/jpql/parser/LocateExpression.java +++ b/jpa/org.eclipse.persistence.jpa.jpql/src/org/eclipse/persistence/jpa/jpql/parser/LocateExpression.java @@ -21,8 +21,7 @@ * integer. The first argument is the string to be located; the second argument is the string to be * searched; the optional third argument is an integer that represents the string position at which * the search is started (by default, the beginning of the string to be searched). The first - * position in a string is denoted by 1. If the string is not found, 0 is returned. The LOCATE - * function returns the length of the string in characters as an integer. + * position in a string is denoted by 1. If the string is not found, 0 is returned. *
* JPA 1.0, 2.0: *
expression ::= LOCATE(string_primary, string_primary [, simple_arithmetic_expression])
LENGTH
function returns the length of the string in characters as an integer.
+ * The first position in a string is denoted by 1. If the string is not found, 0 is returned.
*
* expression ::= LOCATE(string_primary, string_primary [, simple_arithmetic_expression])