rs.sol.soloist.server.builtindomains.builtindatatypes
Class Date.AsDate
java.lang.Object
rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<Date>
rs.sol.soloist.server.builtindomains.builtindatatypes.Date.AsDate
- All Implemented Interfaces:
- rs.sol.soloist.server.javaimpl.db.mapping.IDataTypeHandler<Date>
- Enclosing class:
- Date
public static class Date.AsDate
- extends rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<Date>
Date stored as SQL DATE (in UTC)
- Author:
- marko.ninkovic
Methods inherited from class rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler |
getSQLType, getSQLType, getSQLType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Date.AsDate
public Date.AsDate()
getColumnType
public rs.sol.soloist.server.javaimpl.db.model.Column.Type getColumnType()
readValue
public Date readValue(IDataType type,
java.sql.ResultSet sqlResultSet,
int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
toSQLString
public java.lang.String toSQLString(Date value)
writeValue
public void writeValue(java.sql.PreparedStatement sqlPStmt,
int parameterIndex,
Date value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException