Code example for PreparedStatement

Methods: setObject

0
            statement.setInt(parameterIndex, value);
        } 
 
 
        public void setObject(int parameterIndex, Object value) throws SQLException {
            statement.setObject(parameterIndex, value);
        } 
 
 
        public void setObject(int parameterIndex, Object value, int sqlType) throws SQLException {
            statement.setObject(parameterIndex, value, sqlType);
        } 
 
 
        public void setString(int parameterIndex, String value) throws SQLException {
            statement.setString(parameterIndex, value);
        } 
 
 
        public void setTimestamp(int parameterIndex, Timestamp value) throws SQLException {
            statement.setTimestamp(parameterIndex, value);