5 Star 0 Fork 3

src-openEuler/gsbase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gsbase-2.0.1-jdk7.patch 28.44 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2020-08-28 14:21 +08:00 . first commit
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/CallableStatementWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/CallableStatementWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/CallableStatementWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/CallableStatementWrapper.java 2012-05-06 18:22:52.320378801 +0200
@@ -37,13 +37,19 @@
*/
package com.gargoylesoftware.base.resource.jdbc;
+import java.io.InputStream;
+import java.io.Reader;
import java.math.BigDecimal;
import java.sql.Array;
import java.sql.Blob;
import java.sql.CallableStatement;
import java.sql.Clob;
+import java.sql.NClob;
import java.sql.Ref;
+import java.sql.RowId;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
+import java.sql.SQLXML;
import java.util.Calendar;
/**
@@ -1694,5 +1700,175 @@
checkIsOpen();
delegate_.registerOutParameter(parameterName, sqlType, typeName);
}
+
+ public <T> T getObject(String parameterName, Class<T> arg0) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T getObject(int columnIndex, Class<T> arg0) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(String parameterName, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(String parameterName, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(String parameterName, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(String parameterName, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(String parameterName, Clob x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(String parameterName, Blob x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getCharacterStream(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getCharacterStream(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getNCharacterStream(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getNCharacterStream(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getNString(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getNString(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public SQLXML getSQLXML(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public SQLXML getSQLXML(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public NClob getNClob(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public NClob getNClob(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(String parameterName, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(String parameterName, NClob value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNString(String parameterName, String value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setRowId(String parameterName, RowId x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public RowId getRowId(String parameterName) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public RowId getRowId(int parameterIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/ConnectionWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/ConnectionWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/ConnectionWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/ConnectionWrapper.java 2012-05-06 16:31:03.598966255 +0200
@@ -38,19 +38,29 @@
package com.gargoylesoftware.base.resource.jdbc;
import com.gargoylesoftware.base.resource.ManagedResource;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
+import java.sql.NClob;
import java.sql.PreparedStatement;
import java.sql.Savepoint;
+import java.sql.SQLClientInfoException;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.sql.SQLWarning;
import java.sql.Statement;
+import java.sql.Struct;
+import java.sql.SQLXML;
import java.util.ArrayList;
+import java.util.concurrent.Executor;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.Properties;
/**
* A wrapper for java.sql.Connection objects.<p>
@@ -1067,5 +1077,95 @@
openStatements_.add( statement );
return statement;
}
+
+ public int getNetworkTimeout() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNetworkTimeout(Executor executor, int timeout) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void abort(Executor executor) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getSchema() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setSchema(String schema) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Struct createStruct(String typeName,Object[] attributes) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Array createArrayOf(String typeName, Object[] elements)throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Properties getClientInfo() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getClientInfo(String name) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
+ // TODO
+ throw new SQLClientInfoException();
+ }
+
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
+ // TODO
+ throw new SQLClientInfoException();
+ }
+
+ public boolean isValid(int timeout) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public SQLXML createSQLXML() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public NClob createNClob() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Blob createBlob() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Clob createClob() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/DatabaseMetaDataWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/DatabaseMetaDataWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/DatabaseMetaDataWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/DatabaseMetaDataWrapper.java 2012-05-05 15:25:44.968605917 +0200
@@ -40,7 +40,9 @@
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
+import java.sql.RowIdLifetime;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -3217,6 +3219,61 @@
checkIsOpen();
return delegate_.supportsStatementPooling();
}
+
+ public boolean generatedKeyAlwaysReturned() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getClientInfoProperties() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public RowIdLifetime getRowIdLifetime() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/PreparedStatementWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/PreparedStatementWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/PreparedStatementWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/PreparedStatementWrapper.java 2012-05-06 16:28:25.347956524 +0200
@@ -44,12 +44,16 @@
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
+import java.sql.NClob;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
+import java.sql.RowId;
import java.sql.ParameterMetaData;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
+import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
@@ -790,6 +794,96 @@
checkIsOpen();
return delegate_.getParameterMetaData();
}
+
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(int parameterIndex, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(int parameterIndex, NClob value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNString(int parameterIndex, String value) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setRowId(int parameterIndex, RowId x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/ResultSetWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/ResultSetWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/ResultSetWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/ResultSetWrapper.java 2012-05-06 18:55:27.994499063 +0200
@@ -37,15 +37,21 @@
*/
package com.gargoylesoftware.base.resource.jdbc;
+import java.io.InputStream;
+import java.io.Reader;
import java.math.BigDecimal;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
+import java.sql.NClob;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
+import java.sql.RowId;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.sql.SQLWarning;
+import java.sql.SQLXML;
import java.sql.Statement;
import java.util.Calendar;
@@ -2912,5 +2918,260 @@
checkIsOpen();
delegate_.updateArray(columnName, x);
}
+
+ public <T> T getObject(String columnLabel, Class<T> arg0) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T getObject(int columnIndex, Class<T> arg0) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(String columnLabel, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(int columnIndex, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateClob(String columnLabel, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateClob(int columnIndex, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getNCharacterStream(String columnLabel) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public Reader getNCharacterStream(int columnIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getNString(String columnLabel) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getNString(int columnIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public SQLXML getSQLXML(String columnLabel) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public SQLXML getSQLXML(int columnIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public NClob getNClob(String columnLabel) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public NClob getNClob(int columnIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNString(String columnLabel, String nString) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateNString(int columnIndex, String nString) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public int getHoldability() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateRowId(String columnLabel, RowId x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void updateRowId(int columnIndex, RowId x) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public RowId getRowId(String columnLabel) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public RowId getRowId(int columnIndex) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
diff -Nru gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/StatementWrapper.java gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/StatementWrapper.java
--- gsbase-2.0.1/src/java/com/gargoylesoftware/base/resource/jdbc/StatementWrapper.java 2004-10-02 13:36:14.000000000 +0200
+++ gsbase-2.0.1-gil/src/java/com/gargoylesoftware/base/resource/jdbc/StatementWrapper.java 2012-05-05 14:23:43.623402725 +0200
@@ -40,6 +40,7 @@
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.ArrayList;
@@ -961,5 +962,35 @@
checkIsOpen();
return delegate_.getResultSetHoldability();
}
+
+ public boolean isCloseOnCompletion() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void closeOnCompletion() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean isPoolable() throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setPoolable(boolean poolable) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO
+ throw new SQLFeatureNotSupportedException();
+ }
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/gsbase.git
git@gitee.com:src-openeuler/gsbase.git
src-openeuler
gsbase
gsbase
master

搜索帮助