Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
5c0fc070
提交
5c0fc070
authored
4月 02, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ResultSet.findColumn now also check for matching column names.
上级
eeb08de1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
110 行增加
和
110 行删除
+110
-110
SimpleResultSet.java
h2/src/main/org/h2/tools/SimpleResultSet.java
+110
-110
没有找到文件。
h2/src/main/org/h2/tools/SimpleResultSet.java
浏览文件 @
5c0fc070
...
...
@@ -66,7 +66,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
static
class
Column
{
/**
* The column
name
.
* The column
label
.
*/
String
name
;
...
...
@@ -469,99 +469,99 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* Returns the value as a byte.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
byte
getByte
(
String
column
Name
)
throws
SQLException
{
return
getByte
(
findColumn
(
column
Name
));
public
byte
getByte
(
String
column
Label
)
throws
SQLException
{
return
getByte
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a double.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
double
getDouble
(
String
column
Name
)
throws
SQLException
{
return
getDouble
(
findColumn
(
column
Name
));
public
double
getDouble
(
String
column
Label
)
throws
SQLException
{
return
getDouble
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a float.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
float
getFloat
(
String
column
Name
)
throws
SQLException
{
return
getFloat
(
findColumn
(
column
Name
));
public
float
getFloat
(
String
column
Label
)
throws
SQLException
{
return
getFloat
(
findColumn
(
column
Label
));
}
/**
* Searches for a specific column in the result set. A case-insensitive
* search is made.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the column index (1,2,...)
* @throws SQLException if the column is not found or if the result set is
* closed
*/
public
int
findColumn
(
String
column
Name
)
throws
SQLException
{
for
(
int
i
=
0
;
column
Name
!=
null
&&
columns
!=
null
&&
i
<
columns
.
size
();
i
++)
{
if
(
column
Name
.
equalsIgnoreCase
(
getColumn
(
i
).
name
))
{
public
int
findColumn
(
String
column
Label
)
throws
SQLException
{
for
(
int
i
=
0
;
column
Label
!=
null
&&
columns
!=
null
&&
i
<
columns
.
size
();
i
++)
{
if
(
column
Label
.
equalsIgnoreCase
(
getColumn
(
i
).
name
))
{
return
i
+
1
;
}
}
throw
new
SQLException
(
"Column not found: "
+
column
Name
,
"42S22"
);
throw
new
SQLException
(
"Column not found: "
+
column
Label
,
"42S22"
);
}
/**
* Returns the value as an int.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
int
getInt
(
String
column
Name
)
throws
SQLException
{
return
getInt
(
findColumn
(
column
Name
));
public
int
getInt
(
String
column
Label
)
throws
SQLException
{
return
getInt
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a long.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
long
getLong
(
String
column
Name
)
throws
SQLException
{
return
getLong
(
findColumn
(
column
Name
));
public
long
getLong
(
String
column
Label
)
throws
SQLException
{
return
getLong
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a short.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
short
getShort
(
String
column
Name
)
throws
SQLException
{
return
getShort
(
findColumn
(
column
Name
));
public
short
getShort
(
String
column
Label
)
throws
SQLException
{
return
getShort
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a boolean.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
boolean
getBoolean
(
String
column
Name
)
throws
SQLException
{
return
getBoolean
(
findColumn
(
column
Name
));
public
boolean
getBoolean
(
String
column
Label
)
throws
SQLException
{
return
getBoolean
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a byte array.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
byte
[]
getBytes
(
String
column
Name
)
throws
SQLException
{
return
getBytes
(
findColumn
(
column
Name
));
public
byte
[]
getBytes
(
String
column
Label
)
throws
SQLException
{
return
getBytes
(
findColumn
(
column
Label
));
}
/**
...
...
@@ -648,71 +648,71 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* Returns the value as an Object.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
Object
getObject
(
String
column
Name
)
throws
SQLException
{
return
getObject
(
findColumn
(
column
Name
));
public
Object
getObject
(
String
column
Label
)
throws
SQLException
{
return
getObject
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a String.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
String
getString
(
String
column
Name
)
throws
SQLException
{
return
getString
(
findColumn
(
column
Name
));
public
String
getString
(
String
column
Label
)
throws
SQLException
{
return
getString
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a java.math.BigDecimal.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
BigDecimal
getBigDecimal
(
String
column
Name
)
throws
SQLException
{
return
getBigDecimal
(
findColumn
(
column
Name
));
public
BigDecimal
getBigDecimal
(
String
column
Label
)
throws
SQLException
{
return
getBigDecimal
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a java.sql.Date.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
Date
getDate
(
String
column
Name
)
throws
SQLException
{
return
getDate
(
findColumn
(
column
Name
));
public
Date
getDate
(
String
column
Label
)
throws
SQLException
{
return
getDate
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a java.sql.Time.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
Time
getTime
(
String
column
Name
)
throws
SQLException
{
return
getTime
(
findColumn
(
column
Name
));
public
Time
getTime
(
String
column
Label
)
throws
SQLException
{
return
getTime
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a java.sql.Timestamp.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
Timestamp
getTimestamp
(
String
column
Name
)
throws
SQLException
{
return
getTimestamp
(
findColumn
(
column
Name
));
public
Timestamp
getTimestamp
(
String
column
Label
)
throws
SQLException
{
return
getTimestamp
(
findColumn
(
column
Label
));
}
/**
* Returns the value as a java.sql.Array.
*
* @param column
Name the name of
the column label
* @param column
Label
the column label
* @return the value
*/
public
Array
getArray
(
String
column
Name
)
throws
SQLException
{
return
getArray
(
findColumn
(
column
Name
));
public
Array
getArray
(
String
column
Label
)
throws
SQLException
{
return
getArray
(
findColumn
(
column
Label
));
}
...
...
@@ -878,10 +878,10 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
}
/**
* Returns the column
name
.
* Returns the column
label
.
*
* @param columnIndex (1,2,...)
* @return the column
name
* @return the column
label
*/
public
String
getColumnLabel
(
int
columnIndex
)
throws
SQLException
{
return
getColumn
(
columnIndex
-
1
).
name
;
...
...
@@ -953,7 +953,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateNull
(
String
column
Name
)
throws
SQLException
{
public
void
updateNull
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1240,56 +1240,56 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateByte
(
String
column
Name
,
byte
x
)
throws
SQLException
{
public
void
updateByte
(
String
column
Label
,
byte
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateDouble
(
String
column
Name
,
double
x
)
throws
SQLException
{
public
void
updateDouble
(
String
column
Label
,
double
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateFloat
(
String
column
Name
,
float
x
)
throws
SQLException
{
public
void
updateFloat
(
String
column
Label
,
float
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateInt
(
String
column
Name
,
int
x
)
throws
SQLException
{
public
void
updateInt
(
String
column
Label
,
int
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateLong
(
String
column
Name
,
long
x
)
throws
SQLException
{
public
void
updateLong
(
String
column
Label
,
long
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateShort
(
String
column
Name
,
short
x
)
throws
SQLException
{
public
void
updateShort
(
String
column
Label
,
short
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateBoolean
(
String
column
Name
,
boolean
x
)
throws
SQLException
{
public
void
updateBoolean
(
String
column
Label
,
boolean
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateBytes
(
String
column
Name
,
byte
[]
x
)
throws
SQLException
{
public
void
updateBytes
(
String
column
Label
,
byte
[]
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1387,63 +1387,63 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
InputStream
getAsciiStream
(
String
column
Name
)
throws
SQLException
{
public
InputStream
getAsciiStream
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
InputStream
getBinaryStream
(
String
column
Name
)
throws
SQLException
{
public
InputStream
getBinaryStream
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* @deprecated INTERNAL
*/
public
InputStream
getUnicodeStream
(
String
column
Name
)
throws
SQLException
{
public
InputStream
getUnicodeStream
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateAsciiStream
(
String
column
Name
,
InputStream
x
,
int
length
)
throws
SQLException
{
public
void
updateAsciiStream
(
String
column
Label
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateBinaryStream
(
String
column
Name
,
InputStream
x
,
int
length
)
throws
SQLException
{
public
void
updateBinaryStream
(
String
column
Label
,
InputStream
x
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
Reader
getCharacterStream
(
String
column
Name
)
throws
SQLException
{
public
Reader
getCharacterStream
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateCharacterStream
(
String
column
Name
,
Reader
reader
,
int
length
)
throws
SQLException
{
public
void
updateCharacterStream
(
String
column
Label
,
Reader
reader
,
int
length
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateObject
(
String
column
Name
,
Object
x
)
throws
SQLException
{
public
void
updateObject
(
String
column
Label
,
Object
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateObject
(
String
column
Name
,
Object
x
,
int
scale
)
throws
SQLException
{
public
void
updateObject
(
String
column
Label
,
Object
x
,
int
scale
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1457,35 +1457,35 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateString
(
String
column
Name
,
String
x
)
throws
SQLException
{
public
void
updateString
(
String
column
Label
,
String
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* @deprecated INTERNAL
*/
public
BigDecimal
getBigDecimal
(
String
column
Name
,
int
scale
)
throws
SQLException
{
public
BigDecimal
getBigDecimal
(
String
column
Label
,
int
scale
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateBigDecimal
(
String
column
Name
,
BigDecimal
x
)
throws
SQLException
{
public
void
updateBigDecimal
(
String
column
Label
,
BigDecimal
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
URL
getURL
(
String
column
Name
)
throws
SQLException
{
public
URL
getURL
(
String
column
Label
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateArray
(
String
column
Name
,
Array
x
)
throws
SQLException
{
public
void
updateArray
(
String
column
Label
,
Array
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1499,7 +1499,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateBlob
(
String
column
Name
,
Blob
x
)
throws
SQLException
{
public
void
updateBlob
(
String
column
Label
,
Blob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1513,14 +1513,14 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateClob
(
String
column
Name
,
Clob
x
)
throws
SQLException
{
public
void
updateClob
(
String
column
Label
,
Clob
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateDate
(
String
column
Name
,
Date
x
)
throws
SQLException
{
public
void
updateDate
(
String
column
Label
,
Date
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1541,14 +1541,14 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateRef
(
String
column
Name
,
Ref
x
)
throws
SQLException
{
public
void
updateRef
(
String
column
Label
,
Ref
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
void
updateTime
(
String
column
Name
,
Time
x
)
throws
SQLException
{
public
void
updateTime
(
String
column
Label
,
Time
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1562,7 +1562,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
void
updateTimestamp
(
String
column
Name
,
Timestamp
x
)
throws
SQLException
{
public
void
updateTimestamp
(
String
column
Label
,
Timestamp
x
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1583,21 +1583,21 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
Date
getDate
(
String
column
Name
,
Calendar
cal
)
throws
SQLException
{
public
Date
getDate
(
String
column
Label
,
Calendar
cal
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
Time
getTime
(
String
column
Name
,
Calendar
cal
)
throws
SQLException
{
public
Time
getTime
(
String
column
Label
,
Calendar
cal
)
throws
SQLException
{
throw
getUnsupportedException
();
}
/**
* INTERNAL
*/
public
Timestamp
getTimestamp
(
String
column
Name
,
Calendar
cal
)
throws
SQLException
{
public
Timestamp
getTimestamp
(
String
column
Label
,
Calendar
cal
)
throws
SQLException
{
throw
getUnsupportedException
();
}
...
...
@@ -1642,7 +1642,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public RowId getRowId(String column
Name
) throws SQLException {
public RowId getRowId(String column
Label
) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -1660,7 +1660,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateRowId(String column
Name
, RowId x) throws SQLException {
public void updateRowId(String column
Label
, RowId x) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -1699,7 +1699,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNString(String column
Name
, String nString)
public void updateNString(String column
Label
, String nString)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1719,7 +1719,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNClob(String column
Name
, NClob nClob)
public void updateNClob(String column
Label
, NClob nClob)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1738,7 +1738,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public NClob getNClob(String column
Name
) throws SQLException {
public NClob getNClob(String column
Label
) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -1756,7 +1756,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public SQLXML getSQLXML(String column
Name
) throws SQLException {
public SQLXML getSQLXML(String column
Label
) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -1775,7 +1775,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateSQLXML(String column
Name
, SQLXML xmlObject)
public void updateSQLXML(String column
Label
, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1791,8 +1791,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/**
* INTERNAL
*/
public
String
getNString
(
String
column
Name
)
throws
SQLException
{
return
getString
(
column
Name
);
public
String
getNString
(
String
column
Label
)
throws
SQLException
{
return
getString
(
column
Label
);
}
/**
...
...
@@ -1808,7 +1808,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public Reader getNCharacterStream(String column
Name
)
public Reader getNCharacterStream(String column
Label
)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1846,7 +1846,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateAsciiStream(String column
Name
, InputStream x)
public void updateAsciiStream(String column
Label
, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1866,7 +1866,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateAsciiStream(String column
Name
, InputStream x, long length)
public void updateAsciiStream(String column
Label
, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1876,7 +1876,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateBinaryStream(int column
Name
, InputStream x)
public void updateBinaryStream(int column
Label
, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1886,7 +1886,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateBinaryStream(String column
Name
, InputStream x)
public void updateBinaryStream(String column
Label
, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1906,7 +1906,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateBinaryStream(String column
Name
, InputStream x, long length)
public void updateBinaryStream(String column
Label
, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1925,7 +1925,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateBlob(String column
Name
, InputStream x) throws SQLException {
public void updateBlob(String column
Label
, InputStream x) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -1944,7 +1944,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateBlob(String column
Name
, InputStream x, long length)
public void updateBlob(String column
Label
, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1964,7 +1964,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateCharacterStream(String column
Name
, Reader x)
public void updateCharacterStream(String column
Label
, Reader x)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -1984,7 +1984,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateCharacterStream(String column
Name
, Reader x, long length)
public void updateCharacterStream(String column
Label
, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -2003,7 +2003,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateClob(String column
Name
, Reader x) throws SQLException {
public void updateClob(String column
Label
, Reader x) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -2022,7 +2022,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateClob(String column
Name
, Reader x, long length)
public void updateClob(String column
Label
, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -2042,7 +2042,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNCharacterStream(String column
Name
, Reader x)
public void updateNCharacterStream(String column
Label
, Reader x)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -2062,7 +2062,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNCharacterStream(String column
Name
, Reader x, long length)
public void updateNCharacterStream(String column
Label
, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
@@ -2081,7 +2081,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNClob(String column
Name
, Reader x) throws SQLException {
public void updateNClob(String column
Label
, Reader x) throws SQLException {
throw getUnsupportedException();
}
## Java 1.6 end ##*/
...
...
@@ -2100,7 +2100,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* INTERNAL
*/
/*## Java 1.6 begin ##
public void updateNClob(String column
Name
, Reader x, long length)
public void updateNClob(String column
Label
, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论