eclipselink M19.1
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/property_files/jpa_jpql_validation.properties b/jpa/plugins/org.eclipse.jpt.jpa.core/property_files/jpa_jpql_validation.properties
index fc6a510..8f9e7be 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/property_files/jpa_jpql_validation.properties
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/property_files/jpa_jpql_validation.properties
@@ -1,4 +1,4 @@
-################################################################################
+ ################################################################################
 # Copyright (c) 2006, 2012 Oracle. All rights reserved.
 # This program and the accompanying materials are made available under the
 # terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
@@ -11,9 +11,6 @@
 #     Oracle - initial API and implementation
 ################################################################################
 
-# Generic
-INVALID_JPA_PLATFORM = JPA 1.0 does not support the expression.
-
 # AbsExpression - Grammar
 ABS_EXPRESSION_INVALID_EXPRESSION = The encapsulated expression is not a valid expression.
 ABS_EXPRESSION_MISSING_EXPRESSION = The encapsulated expression must be provided for an ABS expression.
@@ -35,7 +32,6 @@
 
 # AbstractSchemaName - Grammar
 ABSTRACT_SCHEMA_NAME_INVALID = The abstract schema type ''{0}'' is unknown.
-ABSTRACT_SCHEMA_NAME_NOT_RESOLVABLE = ''{0}'' cannot be resolved to a type.
 # AbstractSchemaName - Semantic
 PATH_EXPRESSION_NOT_RELATIONSHIP_MAPPING = The derived path ''{0}'' does not represent an association field.
 
@@ -83,7 +79,7 @@
 AVG_FUNCTION_INVALID_NUMERIC_EXPRESSION = The encapsulated expression is not a valid numeric expression.
 
 # BadExpression
-BAD_EXPRESSION_INVALID_EXPRESSION = The expression is invalid, which means it does not follow the JPQL grammar.
+BAD_EXPRESSION_INVALID_EXPRESSION =  The expression is invalid, which means it does not follow the JPQL grammar.
 
 # BetweenExpression - Grammar
 BETWEEN_EXPRESSION_MISSING_EXPRESSION = The result expression is missing from the BETWEEN expression.
@@ -102,6 +98,14 @@
 CASE_EXPRESSION_WHEN_CLAUSES_END_WITH_COMMA = The WHEN clauses cannot end with a comma.
 CASE_EXPRESSION_WHEN_CLAUSES_HAS_COMMA = Two WHEN clauses cannot be separated by a comma.
 
+# CastExpression - Grammar
+CAST_EXPRESSION_INVALID_EXPRESSION = The encapsulated expression is not a valid expression.
+CAST_EXPRESSION_INVALID_JPA_VERSION = A CAST expression is only supported by EclipseLink.
+CAST_EXPRESSION_MISSING_DATABASE_TYPE = The database type must be specified.
+CAST_EXPRESSION_MISSING_EXPRESSION = The encapsulated expression must be provided for a CAST expression.
+CAST_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the CAST expression.
+CAST_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the CAST expression.
+
 # CoalesceExpression - Grammar
 COALESCE_EXPRESSION_INVALID_EXPRESSION = The encapsulated expression is not a valid expression.
 COALESCE_EXPRESSION_INVALID_JPA_VERSION = A COALESCE expression cannot be used in a JPQL query when the JPA platform is 1.0.
@@ -170,6 +174,15 @@
 # CountFunction - Semantic
 COUNT_FUNCTION_DISTINCT_EMBEDDABLE = The use of DISTINCT is not supported for arguments of embeddable types.
 
+# DatabaseType - Grammar
+DATABASE_TYPE_INVALID_FIRST_EXPRESSION = The first argument is not a valid precision/length value.
+DATABASE_TYPE_INVALID_SECOND_EXPRESSION = The second argument is not a valid scale value.
+DATABASE_TYPE_MISSING_COMMA = The comma separating the length and precision is missing.
+DATABASE_TYPE_MISSING_FIRST_EXPRESSION = The precision/length value is missing.
+DATABASE_TYPE_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the database type expression.
+DATABASE_TYPE_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the database type expression.
+DATABASE_TYPE_MISSING_SECOND_EXPRESSION = The scale value is missing.
+
 # DateTime - Grammar
 DATE_TIME_JDBC_ESCAPE_FORMAT_INVALID_SPECIFICATION = The JDBC escape format does not start with either 'd', 't' or 'ts'.
 DATE_TIME_JDBC_ESCAPE_FORMAT_MISSING_CLOSE_QUOTE = The JDBC escape format is missing the close quote.
@@ -193,6 +206,7 @@
 EMPTY_COLLECTION_COMPARISON_EXPRESSION_MISSING_EXPRESSION = The collection valued path expression must be defined.
 
 # EntityTypeLiteral - Semantic
+ENTITY_TYPE_LITERAL_INVALID_JPA_VERSION = An entity name cannot be used as an entity type literal in a JPQL query when the JPA platform is 1.0.
 ENTITY_TYPE_LITERAL_NOT_RESOLVABLE = ''{0}'' cannot be resolved to a type.
 
 # EntryExpression - Grammar
@@ -208,9 +222,18 @@
 EXISTS_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the EXISTS expression.
 EXISTS_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the EXISTS expression.
 
+# ExtractExpression - Grammar
+EXTRACT_EXPRESSION_INVALID_EXPRESSION = The date expression is not a valid expression.
+EXTRACT_EXPRESSION_INVALID_JPA_VERSION = An EXTRACT expression is only supported by EclipseLink.
+EXTRACT_EXPRESSION_MISSING_DATE_PART = The date part must be specified.
+EXTRACT_EXPRESSION_MISSING_EXPRESSION = The date expression is missing from the EXTRACT expression.
+EXTRACT_EXPRESSION_MISSING_LEFT_PARENTHESIS = The date part must be specified.
+EXTRACT_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The left parenthesis is missing from the EXTRACT expression.
+
 # FunctionExpression - Grammar
 FUNCTION_EXPRESSION_HAS_EXPRESSION = The function {0} should not have any argument.
 FUNCTION_EXPRESSION_INVALID_EXPRESSION = The function {0}''s argument is not valid.
+FUNCTION_EXPRESSION_INVALID_JPA_VERSION = A FUNCTION expression can only be used in a JPQL query when the JPA platform is 2.1.
 FUNCTION_EXPRESSION_MISSING_EXPRESSION = The function {0}''s argument must be specified.
 FUNCTION_EXPRESSION_MISSING_FUNCTION_NAME = The function name must be specified.
 FUNCTION_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the function {0}.
@@ -274,6 +297,7 @@
 
 # Join - Grammar
 JOIN_MISSING_IDENTIFICATION_VARIABLE = An identification variable must be defined for a JOIN expression.
+JOIN_INVALID_JOIN_ASSOCIATION_PATH = The join association path is not a valid expression.
 JOIN_MISSING_JOIN_ASSOCIATION_PATH = The join association path is missing from the JOIN expression.
 
 # JoinFetch - Grammar
@@ -351,7 +375,7 @@
 
 # ModExpression - Grammar
 MOD_EXPRESSION_INVALID_FIRST_EXPRESSION = The first argument is not a valid expression.
-MOD_EXPRESSION_INVALID_SECOND_PARENTHESIS = The second argument is not a valid expression.
+MOD_EXPRESSION_INVALID_SECOND_EXPRESSION = The second argument is not a valid expression.
 MOD_EXPRESSION_MISSING_COMMA = The comma is missing from the MOD expression.
 MOD_EXPRESSION_MISSING_FIRST_EXPRESSION = The first argument is missing from the MOD expression.
 MOD_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the MOD expression.
@@ -406,8 +430,16 @@
 ORDER_BY_CLAUSE_ORDER_BY_ITEM_MISSING = The ordering item is missing from the ORDER BY clause.
 
 # RangeVariableDeclaration - Grammar
-RANGE_VARIABLE_DECLARATION_MISSING_ABSTRACT_SCHEMA_NAME = An abstract schema name must be specified.
-RANGE_VARIABLE_DECLARATION_MISSING_IDENTIFICATION_VARIABLE = An identification variable must be provider for a range variable declaration.
+RANGE_VARIABLE_DECLARATION_MISSING_ROOT_OBJECT = A \"root object\" must be specified.
+RANGE_VARIABLE_DECLARATION_INVALID_ROOT_OBJECT = A \"root object\" must be specified.
+RANGE_VARIABLE_DECLARATION_MISSING_IDENTIFICATION_VARIABLE = An identification variable must be provided for a range variable declaration.
+
+# RegexpExpression - Grammar
+REGEXP_EXPRESSION_INVALID_JPA_VERSION = A REGEXP expression is only supported by EclipseLink.
+REGEXP_EXPRESSION_INVALID_PATTERN_VALUE = The pattern value is not a valid expression.
+REGEXP_EXPRESSION_INVALID_STRING_EXPRESSION = The string expression is not a valid expression.
+REGEXP_EXPRESSION_MISSING_PATTERN_VALUE = The pattern value must be specified.
+REGEXP_EXPRESSION_MISSING_STRING_EXPRESSION = The string expression must be specified.
 
 # ResultVariable - Grammar
 RESULT_VARIABLE_INVALID_JPA_VERSION = A result variable cannot be used in a JPQL query when the JPA platform is 1.0.
@@ -477,6 +509,16 @@
 # SumFunction - Semantic
 SUM_FUNCTION_WRONG_TYPE = The argument must be numeric.
 
+# TableExpression - Grammar
+TABLE_EXPRESSION_INVALID_EXPRESSION = The encapsulated expression is not a valid table name.
+TABLE_EXPRESSION_MISSING_EXPRESSION = The table name must be provided for an TABLE expression.
+TABLE_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the TABLE expression.
+TABLE_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the TABLE expression.
+
+# TableVariableDeclaration
+TABLE_VARIABLE_DECLARATION_INVALID_JPA_VERSION = A table variable declaration can only be used when the platform is EclipseLink.
+TABLE_VARIABLE_DECLARATION_MISSING_IDENTIFICATION_VARIABLE = An identification variable must be provided for a table variable declaration.
+
 # TreatExpression - Grammar
 TREAT_EXPRESSION_INVALID_JPA_PLATFORM = A TREAT expression can only be used when the platform is EclipseLink.
 
@@ -495,6 +537,10 @@
 TYPE_EXPRESSION_MISSING_LEFT_PARENTHESIS = The left parenthesis is missing from the TYPE expression.
 TYPE_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the TYPE expression.
 
+# UnionClause - Grammar
+UNION_CLAUSE_INVALID_JPA_VERSION = A union clause is only supported by EclipseLink.
+UNION_CLAUSE_MISSING_EXPRESSION = The query is missing from the UNION clause.
+
 # UpdateClause - Grammar
 UPDATE_CLAUSE_MISSING_RANGE_VARIABLE_DECLARATION = The range variable declaration is missing from the UPDATE clause.
 UPDATE_CLAUSE_MISSING_SET = The SET identifier is missing from the UPDATE clause.
@@ -528,7 +574,7 @@
 VALUE_EXPRESSION_MISSING_RIGHT_PARENTHESIS = The right parenthesis is missing from the VALUE expression.
 
 # WhenClause - Grammar
-WHEN_CLAUSE_MISSING_THEN_EXPRESSION = A conditional expression must be provider for a WHEN clause.
+WHEN_CLAUSE_MISSING_THEN_EXPRESSION = A conditional expression must be provided for a WHEN clause.
 WHEN_CLAUSE_MISSING_THEN_IDENTIFIER = The identifier THEN is missing from the WHEN clause.
 WHEN_CLAUSE_MISSING_WHEN_EXPRESSION = A WHEN expression must be provided for a WHEN clause.