Logo Search packages:      
Sourcecode: mysql-connector-java version File versions  Download package

void com::mysql::jdbc::ServerPreparedStatement::setTime ( int  parameterIndex,
java.sql.Time  x 
) throws SQLException [inline]

Set a parameter to a java.sql.Time value.

Parameters:
parameterIndex the first parameter is 1...));
x the parameter value
Exceptions:
SQLException if a database access error occurs

Definition at line 2029 of file ServerPreparedStatement.java.

References com::mysql::jdbc::StatementImpl::connection, com::mysql::jdbc::ConnectionImpl::getDefaultTimeZone(), and setTimeInternal().

                                      {
            setTimeInternal(parameterIndex, x, null, this.connection.getDefaultTimeZone(), false);
      }


Generated by  Doxygen 1.6.0   Back to index