| Package | Description |
|---|---|
| java.sql |
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java
TM programming language.
|
| javax.sql |
Provides the API for server side data source access and processing from the Java
TM programming language.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet implementations.
|
| javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
|
| Modifier and Type | Method and Description |
|---|---|
Time |
ResultSet.getTime(int columnIndex)
Retrieves the value of the designated column in the current row of this
ResultSet object as a
java.sql.Time object in the Java programming language.
|
Time |
CallableStatement.getTime(int parameterIndex)
Retrieves the value of the designated JDBC
TIME parameter as a
java.sql.Time object.
|
Time |
ResultSet.getTime(int columnIndex, Calendar
Retrieves the value of the designated column in the current row of this
ResultSet object as a
java.sql.Time object in the Java programming language.
|
Time |
CallableStatement.getTime(int parameterIndex, Calendar
Retrieves the value of the designated JDBC
TIME parameter as a
java.sql.Time object, using the given
Calendar object to construct the time.
|
Time |
ResultSet.getTime(String
Retrieves the value of the designated column in the current row of this
ResultSet object as a
java.sql.Time object in the Java programming language.
|
Time |
CallableStatement.getTime(String
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object.
|
Time |
ResultSet.getTime(String
Retrieves the value of the designated column in the current row of this
ResultSet object as a
java.sql.Time object in the Java programming language.
|
Time |
CallableStatement.getTime(String
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object, using the given
Calendar object to construct the time.
|
Time |
SQLInput.readTime()
Reads the next attribute in the stream and returns it as a
java.sql.Time object.
|
static Time |
Time.valueOf(LocalTime
Obtains an instance of
Time from a
LocalTime object with the same hour, minute and second time value as the given
LocalTime.
|
static Time |
Time.valueOf(String
Converts a string in JDBC time escape format to a
Time value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PreparedStatement.setTime(int parameterIndex, Time
Sets the designated parameter to the given
java.sql.Time value.
|
void |
PreparedStatement.setTime(int parameterIndex, Time
Sets the designated parameter to the given
java.sql.Time value, using the given
Calendar object.
|
void |
CallableStatement.setTime(String
Sets the designated parameter to the given
java.sql.Time value.
|
void |
CallableStatement.setTime(String
Sets the designated parameter to the given
java.sql.Time value, using the given
Calendar object.
|
void |
ResultSet.updateTime(int columnIndex, Time
Updates the designated column with a
java.sql.Time value.
|
void |
ResultSet.updateTime(String
Updates the designated column with a
java.sql.Time value.
|
void |
SQLOutput.writeTime(Time
Writes the next attribute to the stream as a java.sql.Time object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RowSet.setTime(int parameterIndex, Time
Sets the designated parameter in this
RowSet object's command to the given
java.sql.Time value.
|
void |
RowSet.setTime(int parameterIndex, Time
Sets the designated parameter in this
RowSet object's command with the given
java.sql.Time value.
|
void |
RowSet.setTime(String
Sets the designated parameter to the given
java.sql.Time value.
|
void |
RowSet.setTime(String
Sets the designated parameter to the given
java.sql.Time value, using the given
Calendar object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseRowSet.setTime(int parameterIndex, Time
Sets the designated parameter to the given
java.sql.Time value.
|
void |
BaseRowSet.setTime(int parameterIndex, Time
Sets the designated parameter to the given
java.sql.Time object.
|
void |
BaseRowSet.setTime(String
Sets the designated parameter to the given
java.sql.Time value.
|
void |
BaseRowSet.setTime(String
Sets the designated parameter to the given
java.sql.Time value, using the given
Calendar object.
|
| Modifier and Type | Method and Description |
|---|---|
Time |
SQLInputImpl.readTime()
Retrieves the next attribute in this
SQLInputImpl object as a
java.sql.Time object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SQLOutputImpl.writeTime(Time
Writes a
java.sql.Time object in the Java programming language to this
SQLOutputImpl object.
|