wt.query
Class DateExpression
java.lang.Object
wt.query.ConstantExpression
wt.query.DateExpression
- All Implemented Interfaces:
- Externalizable, Serializable, ColumnExpression, Expression, OrderByExpression, RelationalExpression
public class DateExpression
- extends ConstantExpression
- implements Externalizable
This class represents a date constant in a SQL statement. This subclass
of ConstantExpression is necessary to provide the special handling for
date values. The java date values are converted to a string representation
and used within a TO_DATE() SQL function when used in SQL statements.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
newExpression
public static ColumnExpression newExpression(Object a_value,
String a_javaType)
- Create a new Expression.
Supported API: true
- Parameters:
a_value - Specifies the data constant value.a_javaType - Specifies the Java type of the value.
- Returns:
- ColumnExpression