Projects
Eulaceura:Factory
gsbase
_service:obs_scm:gsbase-2.0.1-jdk7.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:gsbase-2.0.1-jdk7.patch of Package gsbase
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(); + } }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2