|
|||||||||
| Home >> All >> java >> [ sql overview ] | PREV NEXT | ||||||||
Uses of Class
java.sql.Time
| Uses of Time in java.sql |
| Methods in java.sql that return Time | |
static Time |
Time.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. |
Time |
SQLInput.readTime()
This method reads the next item from the stream a Java java.sql.Time. |
Time |
ResultSet.getTime(int columnIndex)
This method returns the value of the specified column as a Java java.sql.Time. |
Time |
ResultSet.getTime(java.lang.String columnName)
This method returns the value of the specified column as a Java java.sql.Time. |
Time |
ResultSet.getTime(int columnIndex,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Time. |
Time |
ResultSet.getTime(java.lang.String columnName,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Time. |
Time |
CallableStatement.getTime(int index)
This method returns the value of the specified parameter as a Java java.sql.Time. |
Time |
CallableStatement.getTime(int index,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Time. |
Time |
CallableStatement.getTime(java.lang.String name)
This method returns the value of the specified parameter as a Java java.sql.Time. |
Time |
CallableStatement.getTime(java.lang.String name,
java.util.Calendar cal)
This method returns the value of the specified parameter as a Java java.sql.Time. |
| Methods in java.sql with parameters of type Time | |
void |
SQLOutput.writeTime(Time value)
This method writes the specified Java java.sql.Time
to the SQL stream. |
void |
ResultSet.updateTime(int columnIndex,
Time value)
This method updates the specified column to have a java.sql.Time value. |
void |
ResultSet.updateTime(java.lang.String columnName,
Time value)
This method updates the specified column to have a java.sql.Time value. |
void |
PreparedStatement.setTime(int index,
Time value)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
PreparedStatement.setTime(int index,
Time value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
CallableStatement.setTime(java.lang.String name,
Time value)
This method sets the specified parameter from the given Java java.sql.Time value. |
void |
CallableStatement.setTime(java.lang.String name,
Time value,
java.util.Calendar cal)
This method sets the specified parameter from the given Java java.sql.Time value. |
|
|||||||||
| Home >> All >> java >> [ sql overview ] | PREV NEXT | ||||||||