|
|||||||||
| Home >> All >> java >> [ sql overview ] | PREV NEXT | ||||||||
Uses of Class
java.sql.Date
| Uses of Date in java.sql |
| Methods in java.sql that return Date | |
Date |
SQLInput.readDate()
This method reads the next item from the stream 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 |
ResultSet.getDate(java.lang.String columnName)
This method returns the value of the specified column as a Java java.sql.Date. |
Date |
ResultSet.getDate(int columnIndex,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Date. |
Date |
ResultSet.getDate(java.lang.String columnName,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Date. |
static Date |
Date.valueOf(java.lang.String str)
This method returns a new instance of this class by parsing a date in JDBC format into a Java date. |
Date |
CallableStatement.getDate(int index)
This method returns the value of the specified parameter as a Java java.sql.Date. |
Date |
CallableStatement.getDate(int index,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Date. |
Date |
CallableStatement.getDate(java.lang.String name)
This method returns the value of the specified parameter as a Java java.sql.Date. |
Date |
CallableStatement.getDate(java.lang.String name,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Date. |
| Methods in java.sql with parameters of type Date | |
void |
SQLOutput.writeDate(Date value)
This method writes the specified Java java.sql.Date
to the SQL stream. |
void |
ResultSet.updateDate(int columnIndex,
Date value)
This method updates the specified column to have a java.sql.Date value. |
void |
ResultSet.updateDate(java.lang.String columnName,
Date value)
This method updates the specified column to have a java.sql.Date value. |
void |
PreparedStatement.setDate(int index,
Date value)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
PreparedStatement.setDate(int index,
Date value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
CallableStatement.setDate(java.lang.String name,
Date value)
This method sets the specified parameter from the given Java java.sql.Date value. |
void |
CallableStatement.setDate(java.lang.String name,
Date value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Date value. |
|
|||||||||
| Home >> All >> java >> [ sql overview ] | PREV NEXT | ||||||||