Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
87dc0a20
提交
87dc0a20
authored
12月 29, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare for updateable simple result set (for TriggerAdapter)
上级
3dfa0fae
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
472 行增加
和
459 行删除
+472
-459
SimpleResultSet.java
h2/src/main/org/h2/tools/SimpleResultSet.java
+472
-459
没有找到文件。
h2/src/main/org/h2/tools/SimpleResultSet.java
浏览文件 @
87dc0a20
...
@@ -777,16 +777,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -777,16 +777,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
return
getTimestamp
(
findColumn
(
columnLabel
));
return
getTimestamp
(
findColumn
(
columnLabel
));
}
}
/**
* Returns the value as a java.sql.Array.
*
* @param columnLabel the column label
* @return the value
*/
public
Array
getArray
(
String
columnLabel
)
throws
SQLException
{
return
getArray
(
findColumn
(
columnLabel
));
}
/**
/**
* Returns the value as a java.io.Reader.
* Returns the value as a java.io.Reader.
* This is only supported if the
* This is only supported if the
...
@@ -1050,8 +1040,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -1050,8 +1040,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
return
null
;
return
null
;
}
}
// ---- unsupported / result set ---------------------------------------------
/**
/**
* INTERNAL
* INTERNAL
*/
*/
...
@@ -1059,199 +1047,230 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -1059,199 +1047,230 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
// nothing to do
// nothing to do
}
}
// ---- unsupported / result set ---------------------------------------------
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
afterLast
(
)
throws
SQLException
{
public
void
updateArray
(
int
columnIndex
,
Array
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* Returns the value as a java.sql.Array.
*
* @param columnLabel the column label
* @return the value
*/
*/
public
void
cancelRowUpdates
(
)
throws
SQLException
{
public
Array
getArray
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
(
);
return
getArray
(
findColumn
(
columnLabel
)
);
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateNull
(
String
columnLabel
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
deleteRow
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
insertRow
(
)
throws
SQLException
{
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
moveToCurrentRow
(
)
throws
SQLException
{
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
moveToInsertRow
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
refreshRow
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Row
(
)
throws
SQLException
{
public
void
update
BigDecimal
(
int
columnIndex
,
BigDecimal
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
first
(
)
throws
SQLException
{
public
void
updateBigDecimal
(
String
columnLabel
,
BigDecimal
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
isAfterLast
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBinaryStream
(
int
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
isBeforeFirst
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
isFirst
(
)
throws
SQLException
{
public
void
updateBinaryStream
(
int
columnIndex
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
isLast
(
)
throws
SQLException
{
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
last
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBinaryStream
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
previous
()
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
rowDeleted
(
)
throws
SQLException
{
public
void
updateBlob
(
int
columnIndex
,
Blob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
rowInserted
(
)
throws
SQLException
{
public
void
updateBlob
(
String
columnLabel
,
Blob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
rowUpdated
(
)
throws
SQLException
{
public
void
updateBoolean
(
int
columnIndex
,
boolean
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
setFetchDirection
(
int
direction
)
throws
SQLException
{
public
void
updateBoolean
(
String
columnLabel
,
boolean
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
// intest
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
setFetchSize
(
int
rows
)
throws
SQLException
{
public
void
updateNull
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateNull
(
int
columnIndex
)
throws
SQLException
{
public
void
updateNull
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
absolute
(
int
row
)
throws
SQLException
{
public
void
updateByte
(
int
columnIndex
,
byte
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
boolean
relative
(
int
offset
)
throws
SQLException
{
public
void
updateByte
(
String
columnLabel
,
byte
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Byte
(
int
columnIndex
,
byte
x
)
throws
SQLException
{
public
void
update
Short
(
int
columnIndex
,
short
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Double
(
int
columnIndex
,
double
x
)
throws
SQLException
{
public
void
update
Short
(
String
columnLabel
,
short
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Float
(
int
columnIndex
,
floa
t
x
)
throws
SQLException
{
public
void
update
Int
(
int
columnIndex
,
in
t
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateInt
(
int
columnIndex
,
int
x
)
throws
SQLException
{
public
void
updateInt
(
String
columnLabel
,
int
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
...
@@ -1265,799 +1284,791 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -1265,799 +1284,791 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Short
(
int
columnIndex
,
short
x
)
throws
SQLException
{
public
void
update
Long
(
String
columnLabel
,
long
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Boolean
(
int
columnIndex
,
boolean
x
)
throws
SQLException
{
public
void
update
Float
(
int
columnIndex
,
float
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Bytes
(
int
columnIndex
,
byte
[]
x
)
throws
SQLException
{
public
void
update
Float
(
String
columnLabel
,
float
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
InputStream
getAsciiStream
(
int
columnIndex
)
{
public
void
updateDouble
(
int
columnIndex
,
double
x
)
throws
SQLException
{
return
null
;
throw
getUnsupportedException
()
;
}
}
/**
/**
*
@deprecated
INTERNAL
* INTERNAL
*/
*/
public
InputStream
getUnicodeStream
(
int
columnIndex
)
{
public
void
updateDouble
(
String
columnLabel
,
double
x
)
throws
SQLException
{
return
null
;
throw
getUnsupportedException
()
;
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
,
int
length
)
throws
SQLException
{
public
void
updateString
(
int
columnIndex
,
String
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
BinaryStream
(
int
columnIndex
,
InputStream
x
,
int
length
)
throws
SQLException
{
public
void
update
String
(
String
columnLabel
,
String
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
CharacterStream
(
int
columnIndex
,
Reader
x
,
int
length
)
throws
SQLException
{
public
void
update
Date
(
int
columnIndex
,
Date
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Object
(
int
columnIndex
,
Object
x
)
throws
SQLException
{
public
void
update
Date
(
String
columnLabel
,
Date
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Object
(
int
columnIndex
,
Object
x
,
int
scale
)
throws
SQLException
{
public
void
update
Time
(
int
columnIndex
,
Time
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
String
getCursorName
(
)
throws
SQLException
{
public
void
updateTime
(
String
columnLabel
,
Time
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
String
(
int
columnIndex
,
String
x
)
throws
SQLException
{
public
void
update
Timestamp
(
int
columnIndex
,
Timestamp
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Byte
(
String
columnLabel
,
byte
x
)
throws
SQLException
{
public
void
update
Timestamp
(
String
columnLabel
,
Timestamp
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Double
(
String
columnLabel
,
double
x
)
throws
SQLException
{
public
void
update
Object
(
int
columnIndex
,
Object
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Float
(
String
columnLabel
,
floa
t
x
)
throws
SQLException
{
public
void
update
Object
(
String
columnLabel
,
Objec
t
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Int
(
String
columnLabel
,
int
x
)
throws
SQLException
{
public
void
update
Object
(
int
columnIndex
,
Object
x
,
int
scale
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Long
(
String
columnLabel
,
long
x
)
throws
SQLException
{
public
void
update
Object
(
String
columnLabel
,
Object
x
,
int
scale
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Short
(
String
columnLabel
,
short
x
)
throws
SQLException
{
public
void
update
Bytes
(
int
columnIndex
,
byte
[]
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateB
oolean
(
String
columnLabel
,
boolean
x
)
throws
SQLException
{
public
void
updateB
ytes
(
String
columnLabel
,
byte
[]
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
update
Bytes
(
String
columnLabel
,
byte
[]
x
)
throws
SQLException
{
public
void
update
CharacterStream
(
int
columnIndex
,
Reader
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* @deprecated
INTERNAL
*
INTERNAL
*/
*/
public
BigDecimal
getBigDecimal
(
int
columnIndex
,
int
scale
)
throws
SQLException
{
public
URL
getURL
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateBigDecimal
(
int
columnIndex
,
BigDecimal
x
)
throws
SQLException
{
public
void
updateClob
(
int
columnIndex
,
Clob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
URL
getURL
(
int
columnInde
x
)
throws
SQLException
{
public
void
updateRef
(
int
columnIndex
,
Ref
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateArray
(
int
columnIndex
,
Array
x
)
throws
SQLException
{
public
void
updateRef
(
String
columnLabel
,
Ref
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateBlob
(
int
columnIndex
,
Blob
x
)
throws
SQLException
{
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
reader
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateClob
(
int
columnIndex
,
Clob
x
)
throws
SQLException
{
public
void
updateArray
(
String
columnLabel
,
Array
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateDate
(
int
columnIndex
,
Date
x
)
throws
SQLException
{
public
void
updateClob
(
String
columnLabel
,
Clob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Ref
getRef
(
int
columnIndex
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateRowId
(
int
columnIndex
,
RowId
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateRef
(
int
columnIndex
,
Ref
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateRowId
(
String
columnLabel
,
RowId
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateTime
(
int
columnIndex
,
Time
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNString
(
int
columnIndex
,
String
nString
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateTimestamp
(
int
columnIndex
,
Timestamp
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNString
(
String
columnLabel
,
String
nString
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
InputStream
getAsciiStream
(
String
columnLabel
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
int
columnIndex
,
NClob
nClob
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* @deprecated
INTERNAL
*
INTERNAL
*/
*/
public
InputStream
getUnicodeStream
(
String
columnLabel
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
String
columnLabel
,
NClob
nClob
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
,
int
length
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateSQLXML
(
int
columnIndex
,
SQLXML
xmlObject
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
,
int
length
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateSQLXML
(
String
columnLabel
,
SQLXML
xmlObject
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
reader
,
int
length
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBlob
(
int
columnIndex
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateObject
(
String
columnLabel
,
Object
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBlob
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateObject
(
String
columnLabel
,
Object
x
,
int
scale
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBlob
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Object
getObject
(
int
columnIndex
,
Map
<
String
,
Class
<?>>
map
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateBlob
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateString
(
String
columnLabel
,
String
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateCharacterStream
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* @deprecated
INTERNAL
*
INTERNAL
*/
*/
public
BigDecimal
getBigDecimal
(
String
columnLabel
,
int
scale
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateBigDecimal
(
String
columnLabel
,
BigDecimal
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateCharacterStream
(
int
columnIndex
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
URL
getURL
(
String
columnLabel
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateArray
(
String
columnLabel
,
Array
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateClob
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateBlob
(
String
columnLabel
,
Blob
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateClob
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateClob
(
String
columnLabel
,
Clob
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateClob
(
int
columnIndex
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateDate
(
String
columnLabel
,
Date
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateClob
(
String
columnLabel
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Date
getDate
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNCharacterStream
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Ref
getRef
(
String
colName
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNCharacterStream
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateRef
(
String
columnLabel
,
Ref
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNCharacterStream
(
int
columnIndex
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateTime
(
String
columnLabel
,
Time
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNCharacterStream
(
String
columnLabel
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Time
getTime
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
void
updateTimestamp
(
String
columnLabel
,
Timestamp
x
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Timestamp
getTimestamp
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
int
columnIndex
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Object
getObject
(
String
colName
,
Map
<
String
,
Class
<?>>
map
)
throws
SQLException
{
//## Java 1.6 ##
public
void
updateNClob
(
String
columnLabel
,
Reader
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Date
getDate
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
Time
getTime
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Time
getTime
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
void
afterLast
(
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
public
Timestamp
getTimestamp
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
void
cancelRowUpdates
(
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
// --- private -----------------------------
/**
/**
* INTERNAL
* INTERNAL
*/
*/
static
SQLException
getUnsupportedException
()
{
public
void
deleteRow
()
throws
SQLException
{
return
DbException
.
get
(
ErrorCode
.
FEATURE_NOT_SUPPORTED_1
).
getSQLException
();
throw
getUnsupportedException
();
}
private
void
checkColumnIndex
(
int
columnIndex
)
throws
SQLException
{
if
(
columnIndex
<
0
||
columnIndex
>=
columns
.
size
())
{
throw
DbException
.
getInvalidValueException
(
"columnIndex"
,
columnIndex
+
1
).
getSQLException
();
}
}
private
Object
get
(
int
columnIndex
)
throws
SQLException
{
if
(
currentRow
==
null
)
{
throw
DbException
.
get
(
ErrorCode
.
NO_DATA_AVAILABLE
).
getSQLException
();
}
columnIndex
--;
checkColumnIndex
(
columnIndex
);
Object
o
=
columnIndex
<
currentRow
.
length
?
currentRow
[
columnIndex
]
:
null
;
wasNull
=
o
==
null
;
return
o
;
}
private
Column
getColumn
(
int
i
)
throws
SQLException
{
checkColumnIndex
(
i
);
return
columns
.
get
(
i
);
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
insertRow
()
throws
SQLException
{
public
RowId
getRowId
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
moveToCurrentRow
()
throws
SQLException
{
public
RowId
getRowId
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
moveToInsertRow
()
throws
SQLException
{
public
void
updateRowId
(
int
columnIndex
,
RowId
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
refreshRow
()
throws
SQLException
{
public
void
updateRowId
(
String
columnLabel
,
RowId
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* Returns the current result set holdability.
* INTERNAL
*
* @return the holdability
*/
*/
public
int
getHoldability
()
{
public
void
updateRow
()
throws
SQLException
{
return
ResultSet
.
HOLD_CURSORS_OVER_COMMIT
;
throw
getUnsupportedException
()
;
}
}
/**
/**
* Returns whether this result set has been closed.
* INTERNAL
*
* @return true if the result set was closed
*/
*/
public
boolean
isClosed
()
{
public
boolean
first
()
throws
SQLException
{
return
rows
==
null
;
throw
getUnsupportedException
()
;
}
}
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
isAfterLast
()
throws
SQLException
{
public
void
updateNString
(
int
columnIndex
,
String
nString
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
isBeforeFirst
()
throws
SQLException
{
public
void
updateNString
(
String
columnLabel
,
String
nString
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
isFirst
()
throws
SQLException
{
public
void
updateNClob
(
int
columnIndex
,
NClob
nClob
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
isLast
()
throws
SQLException
{
public
void
updateNClob
(
String
columnLabel
,
NClob
nClob
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
last
()
throws
SQLException
{
public
NClob
getNClob
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
previous
()
throws
SQLException
{
public
NClob
getNClob
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
rowDeleted
()
throws
SQLException
{
public
SQLXML
getSQLXML
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
rowInserted
()
throws
SQLException
{
public
SQLXML
getSQLXML
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
rowUpdated
()
throws
SQLException
{
public
void
updateSQLXML
(
int
columnIndex
,
SQLXML
xmlObject
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
setFetchDirection
(
int
direction
)
throws
SQLException
{
public
void
updateSQLXML
(
String
columnLabel
,
SQLXML
xmlObject
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
void
setFetchSize
(
int
rows
)
throws
SQLException
{
public
String
getNString
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
return
getString
(
columnIndex
);
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
absolute
(
int
row
)
throws
SQLException
{
public
String
getNString
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
return
getString
(
columnLabel
);
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
boolean
relative
(
int
offset
)
throws
SQLException
{
public
Reader
getNCharacterStream
(
int
columnIndex
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
InputStream
getAsciiStream
(
int
columnIndex
)
{
public
Reader
getNCharacterStream
(
String
columnLabel
)
return
null
;
throws
SQLException
{
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
*
@deprecated
INTERNAL
*/
*/
//## Java 1.6 ##
public
InputStream
getUnicodeStream
(
int
columnIndex
)
{
public
<
T
>
T
unwrap
(
Class
<
T
>
iface
)
throws
SQLException
{
return
null
;
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
String
getCursorName
()
throws
SQLException
{
public
boolean
isWrapperFor
(
Class
<?>
iface
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
/**
* @deprecated INTERNAL
*/
*/
//## Java 1.6 ##
public
BigDecimal
getBigDecimal
(
int
columnIndex
,
int
scale
)
throws
SQLException
{
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Ref
getRef
(
int
columnIndex
)
throws
SQLException
{
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
InputStream
getAsciiStream
(
String
columnLabel
)
throws
SQLException
{
public
void
updateAsciiStream
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
*
@deprecated
INTERNAL
*/
*/
//## Java 1.6 ##
public
InputStream
getUnicodeStream
(
String
columnLabel
)
throws
SQLException
{
public
void
updateAsciiStream
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Object
getObject
(
int
columnIndex
,
Map
<
String
,
Class
<?>>
map
)
throws
SQLException
{
public
void
updateBinaryStream
(
int
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
*
@deprecated
INTERNAL
*/
*/
//## Java 1.6 ##
public
BigDecimal
getBigDecimal
(
String
columnLabel
,
int
scale
)
throws
SQLException
{
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
URL
getURL
(
String
columnLabel
)
throws
SQLException
{
public
void
updateBinaryStream
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Date
getDate
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
public
void
updateBinaryStream
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Ref
getRef
(
String
colName
)
throws
SQLException
{
public
void
updateBlob
(
int
columnIndex
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Timestamp
getTimestamp
(
int
columnIndex
,
Calendar
cal
)
throws
SQLException
{
public
void
updateBlob
(
String
columnLabel
,
InputStream
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Object
getObject
(
String
colName
,
Map
<
String
,
Class
<?>>
map
)
throws
SQLException
{
public
void
updateBlob
(
int
columnIndex
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Date
getDate
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
void
updateBlob
(
String
columnLabel
,
InputStream
x
,
long
length
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Time
getTime
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
void
updateCharacterStream
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
public
Timestamp
getTimestamp
(
String
columnLabel
,
Calendar
cal
)
throws
SQLException
{
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
// --- private -----------------------------
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
static
SQLException
getUnsupportedException
()
{
public
void
updateCharacterStream
(
int
columnIndex
,
Reader
x
,
long
length
)
return
DbException
.
get
(
ErrorCode
.
FEATURE_NOT_SUPPORTED_1
).
getSQLException
();
throws
SQLException
{
}
throw
getUnsupportedException
();
private
void
checkColumnIndex
(
int
columnIndex
)
throws
SQLException
{
if
(
columnIndex
<
0
||
columnIndex
>=
columns
.
size
())
{
throw
DbException
.
getInvalidValueException
(
"columnIndex"
,
columnIndex
+
1
).
getSQLException
();
}
}
private
Object
get
(
int
columnIndex
)
throws
SQLException
{
if
(
currentRow
==
null
)
{
throw
DbException
.
get
(
ErrorCode
.
NO_DATA_AVAILABLE
).
getSQLException
();
}
columnIndex
--;
checkColumnIndex
(
columnIndex
);
Object
o
=
columnIndex
<
currentRow
.
length
?
currentRow
[
columnIndex
]
:
null
;
wasNull
=
o
==
null
;
return
o
;
}
private
Column
getColumn
(
int
i
)
throws
SQLException
{
checkColumnIndex
(
i
);
return
columns
.
get
(
i
);
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateCharacterStream
(
String
columnLabel
,
Reader
x
,
long
length
)
public
RowId
getRowId
(
int
columnIndex
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2066,26 +2077,34 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2066,26 +2077,34 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateClob
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
public
RowId
getRowId
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
/**
/**
* INTERNAL
* Returns the current result set holdability.
*
* @return the holdability
*/
*/
//## Java 1.6 ##
public
int
getHoldability
()
{
public
void
updateClob
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
return
ResultSet
.
HOLD_CURSORS_OVER_COMMIT
;
throw
getUnsupportedException
();
}
/**
* Returns whether this result set has been closed.
*
* @return true if the result set was closed
*/
public
boolean
isClosed
()
{
return
rows
==
null
;
}
}
//*/
/**
/**
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateClob
(
int
columnIndex
,
Reader
x
,
long
length
)
public
NClob
getNClob
(
int
columnIndex
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2094,8 +2113,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2094,8 +2113,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateClob
(
String
columnLabel
,
Reader
x
,
long
length
)
public
NClob
getNClob
(
String
columnLabel
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2104,8 +2122,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2104,8 +2122,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNCharacterStream
(
int
columnIndex
,
Reader
x
)
public
SQLXML
getSQLXML
(
int
columnIndex
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2114,8 +2131,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2114,8 +2131,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNCharacterStream
(
String
columnLabel
,
Reader
x
)
public
SQLXML
getSQLXML
(
String
columnLabel
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2124,9 +2140,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2124,9 +2140,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNCharacterStream
(
int
columnIndex
,
Reader
x
,
long
length
)
public
String
getNString
(
int
columnIndex
)
throws
SQLException
{
throws
SQLException
{
return
getString
(
columnIndex
);
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2134,9 +2149,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2134,9 +2149,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNCharacterStream
(
String
columnLabel
,
Reader
x
,
long
length
)
public
String
getNString
(
String
columnLabel
)
throws
SQLException
{
throws
SQLException
{
return
getString
(
columnLabel
);
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2144,7 +2158,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2144,7 +2158,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNClob
(
int
columnIndex
,
Reader
x
)
throws
SQLException
{
public
Reader
getNCharacterStream
(
int
columnInde
x
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2153,7 +2167,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2153,7 +2167,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNClob
(
String
columnLabel
,
Reader
x
)
throws
SQLException
{
public
Reader
getNCharacterStream
(
String
columnLabel
)
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2162,8 +2177,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2162,8 +2177,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNClob
(
int
columnIndex
,
Reader
x
,
long
length
)
public
<
T
>
T
unwrap
(
Class
<
T
>
iface
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
@@ -2172,8 +2186,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2172,8 +2186,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
* INTERNAL
*/
*/
//## Java 1.6 ##
//## Java 1.6 ##
public
void
updateNClob
(
String
columnLabel
,
Reader
x
,
long
length
)
public
boolean
isWrapperFor
(
Class
<?>
iface
)
throws
SQLException
{
throws
SQLException
{
throw
getUnsupportedException
();
throw
getUnsupportedException
();
}
}
//*/
//*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论