Uses of Class java.sql.Date

Uses in package java.sql

Methods with parameter type java.sql.Date

void
PreparedStatement.setDate(int parameterIndex, Date x)
This method sets the specified parameter from the given Java java.sql.Date value.
void
PreparedStatement.setDate(int parameterIndex, Date x, Calendar cal)
This method sets the specified parameter from the given Java java.sql.Date value.
void
CallableStatement.setDate(String parameterName, Date x)
void
CallableStatement.setDate(String parameterName, Date x, Calendar cal)
void
ResultSet.updateDate(int columnIndex, Date x)
This method updates the specified column to have a java.sql.Date value.
void
ResultSet.updateDate(String columnName, Date x)
This method updates the specified column to have a java.sql.Date value.
void
This method writes the specified Java java.sql.Date to the SQL stream.

Methods with return type java.sql.Date

Date
CallableStatement.getDate(int parameterIndex)
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(int columnIndex)
This method returns the value of the specified column as a Java java.sql.Date.
Date
CallableStatement.getDate(int parameterIndex, Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(int columnIndex, Calendar cal)
This method returns the specified column value as a java.sql.Date.
Date
Date
ResultSet.getDate(String columnName)
This method returns the value of the specified column as a Java java.sql.Date.
Date
Date
ResultSet.getDate(String columnName, Calendar cal)
This method returns the specified column value as a java.sql.Date.
Date
This method reads the next item from the stream a Java java.sql.Date.
Date
This method returns a new instance of this class by parsing a date in JDBC format into a Java date.

Uses in package javax.sql

Methods with parameter type java.sql.Date

void
RowSet.setDate(int parameterIndex, Date x)
void
RowSet.setDate(int parameterIndex, Date x, Calendar cal)