rs.sol.soloist.server.builtindomains.builtindatatypes
Class DateTime.AsDateTime
java.lang.Object
rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<DateTime>
rs.sol.soloist.server.builtindomains.builtindatatypes.DateTime.AsDateTime
- All Implemented Interfaces:
- rs.sol.soloist.server.javaimpl.db.mapping.IDataTypeHandler<DateTime>
- Direct Known Subclasses:
- DateTime.AsDateTimeLocal
- Enclosing class:
- DateTime
public static class DateTime.AsDateTime
- extends rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<DateTime>
Encodes DateTime as SQL DATETIME (in UTC)
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 |
DateTime.AsDateTime
public DateTime.AsDateTime()
getColumnType
public rs.sol.soloist.server.javaimpl.db.model.Column.Type getColumnType()
readValue
public DateTime readValue(IDataType type,
java.sql.ResultSet sqlResultSet,
int columnIndex)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
toSQLString
public java.lang.String toSQLString(DateTime value)
writeValue
public void writeValue(java.sql.PreparedStatement sqlPStmt,
int parameterIndex,
DateTime value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException