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

void com::mysql::jdbc::ServerPreparedStatement::setDate ( int  parameterIndex,
Date  x 
) throws SQLException [inline]

Set a parameter to a java.sql.Date value. The driver converts this to a SQL DATE value when it sends it to the database.

parameterIndex the first parameter is 1, the second is 2, ...
x the parameter value
SQLException if a database-access error occurs.

Definition at line 1833 of file ServerPreparedStatement.java.

            setDate(parameterIndex, x, null);

Generated by  Doxygen 1.6.0   Back to index