Class DateTimeFactory
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.ExpressionFactory
-
- org.eclipse.persistence.jpa.jpql.parser.DateTimeFactory
-
- All Implemented Interfaces:
Comparable<ExpressionFactory>
public final class DateTimeFactory extends ExpressionFactory
ThisDateTimeFactory
creates a newDateTime
when the portion of the query to parse starts with CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP or with the JDBC escape format used for date/time/timestamp.- Since:
- 2.3
- Version:
- 2.4
- Author:
- Pascal Filion
- See Also:
DateTime
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
The unique identifier of thisDateTimeFactory
.
-
Constructor Summary
Constructors Constructor Description DateTimeFactory()
Creates a newDateTimeFactory
.
-
Method Summary
-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.ExpressionFactory
compareTo, equals, getExpressionRegistry, getId, hashCode, identifiers, toString
-
-
-
-
Field Detail
-
ID
public static final String ID
The unique identifier of thisDateTimeFactory
.- See Also:
- Constant Field Values
-
-