Class TimestampColumnMapping

    • Method Detail

      • setObject

        public void setObject​(PreparedStatement ps,
                              int param,
                              Object value)
        Method to set an object in a PreparedStatement for sending to the datastore.
        Specified by:
        setObject in interface ColumnMapping
        Overrides:
        setObject in class AbstractColumnMapping
        Parameters:
        ps - The PreparedStatement
        param - The parameter position (in the statement)
        value - The value to set
      • getTimestamp

        protected Timestamp getTimestamp​(ResultSet rs,
                                         int param)
        Method to access a Timestamp from the ResultSet.
        Parameters:
        rs - The ResultSet
        param - The parameter position in the ResultSet row.
        Returns:
        The Timestamp object