软件包 | 描述 |
---|---|
java.sql |
提供的API来访问和处理的数据存储在数据源(通常是一个关系数据库)使用java编程语言
TM。
|
javax.sql |
提供了对服务器端数据源的访问和处理来自
TM java编程语言的API。
|
javax.sql.rowset |
JDBC
RowSet 实现标准接口和基类。
|
javax.sql.rowset.serial |
提供实用类允许序列化映射之间的SQL类型和数据在java编程语言的类型。
|
Modifier and Type | Method and Description |
---|---|
Time |
ResultSet.getTime(int columnIndex)
检索指定的列在这
ResultSet 对象的当前行的值作为java编程语言中的一个
java.sql.Time 对象。
|
Time |
CallableStatement.getTime(int parameterIndex)
检索指定JDBC
TIME 参数的值作为一个
java.sql.Time 对象。
|
Time |
ResultSet.getTime(int columnIndex, Calendar cal)
检索指定的列在这
ResultSet 对象的当前行的值作为java编程语言中的一个
java.sql.Time 对象。
|
Time |
CallableStatement.getTime(int parameterIndex, Calendar cal)
检索指定JDBC
TIME 参数的值作为一个
java.sql.Time 对象,使用给定的
Calendar 对象构建时间。
|
Time |
ResultSet.getTime(String columnLabel)
检索指定的列在这
ResultSet 对象的当前行的值作为java编程语言中的一个
java.sql.Time 对象。
|
Time |
CallableStatement.getTime(String parameterName)
检索一个JDBC
TIME 参数的值作为一个
java.sql.Time 对象。
|
Time |
ResultSet.getTime(String columnLabel, Calendar cal)
检索指定的列在这
ResultSet 对象的当前行的值作为java编程语言中的一个
java.sql.Time 对象。
|
Time |
CallableStatement.getTime(String parameterName, Calendar cal)
检索一个JDBC
TIME 参数的值作为一个
java.sql.Time 对象,使用给定的
Calendar 对象构建时间。
|
Time |
SQLInput.readTime()
读取流中的下一个属性并将其作为
java.sql.Time 对象。
|
static Time |
Time.valueOf(LocalTime time)
|
static Time |
Time.valueOf(String s)
将JDBC中的逃逸时间格式的字符串到
Time 价值。
|
Modifier and Type | Method and Description |
---|---|
void |
PreparedStatement.setTime(int parameterIndex, Time x)
设置为给定
java.sql.Time 指定参数值。
|
void |
PreparedStatement.setTime(int parameterIndex, Time x, Calendar cal)
设置指定的参数给定的
java.sql.Time 值,使用给定的
Calendar 对象。
|
void |
CallableStatement.setTime(String parameterName, Time x)
设置为给定
java.sql.Time 指定参数值。
|
void |
CallableStatement.setTime(String parameterName, Time x, Calendar cal)
设置指定的参数给定的
java.sql.Time 值,使用给定的
Calendar 对象。
|
void |
ResultSet.updateTime(int columnIndex, Time x)
更新指定的列与
java.sql.Time 价值。
|
void |
ResultSet.updateTime(String columnLabel, Time x)
更新指定的列与
java.sql.Time 价值。
|
void |
SQLOutput.writeTime(Time x)
写下一个属性的流作为一个java.sql.time对象。
|
Modifier and Type | Method and Description |
---|---|
void |
RowSet.setTime(int parameterIndex, Time x)
设置指定的参数在这
RowSet 对象的命令给定的
java.sql.Time 价值。
|
void |
RowSet.setTime(int parameterIndex, Time x, Calendar cal)
设置指定的参数在这
RowSet 对象的命令和给定的
java.sql.Time 价值。
|
void |
RowSet.setTime(String parameterName, Time x)
设置为给定
java.sql.Time 指定参数值。
|
void |
RowSet.setTime(String parameterName, Time x, Calendar cal)
设置指定的参数给定的
java.sql.Time 值,使用给定的
Calendar 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
BaseRowSet.setTime(int parameterIndex, Time x)
设置为给定
java.sql.Time 指定参数值。
|
void |
BaseRowSet.setTime(int parameterIndex, Time x, Calendar cal)
设置为给定
java.sql.Time 对象指定的参数。
|
void |
BaseRowSet.setTime(String parameterName, Time x)
设置为给定
java.sql.Time 指定参数值。
|
void |
BaseRowSet.setTime(String parameterName, Time x, Calendar cal)
设置指定的参数给定的
java.sql.Time 值,使用给定的
Calendar 对象。
|
Modifier and Type | Method and Description |
---|---|
Time |
SQLInputImpl.readTime()
检索下一个属性在这
SQLInputImpl 对象作为一个
java.sql.Time 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeTime(Time x)
写一个
java.sql.Time 对象在java编程语言,这
SQLOutputImpl 对象。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.