| Package | Description | 
|---|---|
| java.sql | Provides the API for accessing and processing data stored in a 
data source (usually a relational database) using the 
JavaTM programming language. | 
| javax.sql | Provides the API for server side data source access and processing from
the JavaTM programming language. | 
| javax.sql.rowset | Standard interfaces and base classes for JDBC  RowSetimplementations. | 
| 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 | CallableStatement. getTime(int parameterIndex)Retrieves the value of the designated JDBC  TIMEparameter as ajava.sql.Timeobject. | 
| Time | ResultSet. getTime(int columnIndex)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as
 ajava.sql.Timeobject in the Java programming language. | 
| Time | CallableStatement. getTime(int parameterIndex,
       Calendar cal)Retrieves the value of the designated JDBC  TIMEparameter as ajava.sql.Timeobject, using
 the givenCalendarobject
 to construct the time. | 
| Time | ResultSet. getTime(int columnIndex,
       Calendar cal)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as ajava.sql.Timeobject
 in the Java programming language. | 
| Time | CallableStatement. getTime(String parameterName)Retrieves the value of a JDBC  TIMEparameter as ajava.sql.Timeobject. | 
| Time | ResultSet. getTime(String columnLabel)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as
 ajava.sql.Timeobject in the Java programming language. | 
| Time | CallableStatement. getTime(String parameterName,
       Calendar cal)Retrieves the value of a JDBC  TIMEparameter as ajava.sql.Timeobject, using
 the givenCalendarobject
 to construct the time. | 
| Time | ResultSet. getTime(String columnLabel,
       Calendar cal)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as ajava.sql.Timeobject
 in the Java programming language. | 
| Time | SQLInput. readTime()Reads the next attribute in the stream and returns it as a  java.sql.Timeobject. | 
| static Time | Time. valueOf(LocalTime time)Obtains an instance of  Timefrom aLocalTimeobject
 with the same hour, minute and second time value as the givenLocalTime. | 
| static Time | Time. valueOf(String s)Converts a string in JDBC time escape format to a  Timevalue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PreparedStatement. setTime(int parameterIndex,
       Time x)Sets the designated parameter to the given  java.sql.Timevalue. | 
| void | PreparedStatement. setTime(int parameterIndex,
       Time x,
       Calendar cal)Sets the designated parameter to the given  java.sql.Timevalue,
 using the givenCalendarobject. | 
| void | CallableStatement. setTime(String parameterName,
       Time x)Sets the designated parameter to the given  java.sql.Timevalue. | 
| void | CallableStatement. setTime(String parameterName,
       Time x,
       Calendar cal)Sets the designated parameter to the given  java.sql.Timevalue,
 using the givenCalendarobject. | 
| void | ResultSet. updateTime(int columnIndex,
          Time x)Updates the designated column with a  java.sql.Timevalue. | 
| void | ResultSet. updateTime(String columnLabel,
          Time x)Updates the designated column with a  java.sql.Timevalue. | 
| void | SQLOutput. writeTime(Time x)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 x)Sets the designated parameter in this  RowSetobject's command
 to the givenjava.sql.Timevalue. | 
| void | RowSet. setTime(int parameterIndex,
       Time x,
       Calendar cal)Sets the designated parameter in this  RowSetobject's command
 with the givenjava.sql.Timevalue. | 
| void | RowSet. setTime(String parameterName,
       Time x)Sets the designated parameter to the given  java.sql.Timevalue. | 
| void | RowSet. setTime(String parameterName,
       Time x,
       Calendar cal)Sets the designated parameter to the given  java.sql.Timevalue,
 using the givenCalendarobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BaseRowSet. setTime(int parameterIndex,
       Time x)Sets the designated parameter to the given  java.sql.Timevalue. | 
| void | BaseRowSet. setTime(int parameterIndex,
       Time x,
       Calendar cal)Sets the designated parameter to the given  java.sql.Timeobject. | 
| void | BaseRowSet. setTime(String parameterName,
       Time x)Sets the designated parameter to the given  java.sql.Timevalue. | 
| void | BaseRowSet. setTime(String parameterName,
       Time x,
       Calendar cal)Sets the designated parameter to the given  java.sql.Timevalue,
 using the givenCalendarobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| Time | SQLInputImpl. readTime()Retrieves the next attribute in this  SQLInputImplobject as
 ajava.sql.Timeobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SQLOutputImpl. writeTime(Time x)Writes a  java.sql.Timeobject in the Java programming
 language to thisSQLOutputImplobject. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.