Package org.hotrod.torcs.setters.index
Class TimestampSetter
- java.lang.Object
-
- org.hotrod.torcs.setters.index.IndexSetter
-
- org.hotrod.torcs.setters.index.TimestampSetter
-
public class TimestampSetter extends IndexSetter
-
-
Field Summary
-
Fields inherited from class org.hotrod.torcs.setters.index.IndexSetter
index
-
-
Constructor Summary
Constructors Constructor Description TimestampSetter(int index, Timestamp x)TimestampSetter(int index, Timestamp x, Calendar cal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(PreparedStatement ps)StringguessSQLServerDataType()Objectvalue()-
Methods inherited from class org.hotrod.torcs.setters.index.IndexSetter
getIndex, isConsumableParameter, isLOBParameter
-
-
-
-
Method Detail
-
applyTo
public void applyTo(PreparedStatement ps) throws SQLException
- Specified by:
applyToin classIndexSetter- Throws:
SQLException
-
value
public Object value()
- Specified by:
valuein classIndexSetter
-
guessSQLServerDataType
public String guessSQLServerDataType()
- Specified by:
guessSQLServerDataTypein classIndexSetter
-
-