Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
mockobjects
mockobjects-java6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mockobjects-java6.patch of Package mockobjects
--- build.xml +++ build.xml @@ -24,8 +24,8 @@ <property name="year" value="2002" /> <property name="debug" value="on" /> <property name="optimize" value="off" /> - <property name="source" value="1.4" /> - <property name="target" value="1.4" /> + <property name="source" value="1.5" /> + <property name="target" value="1.5" /> <property name="deprecation" value="off" /> </target> --- src/j2ee/1.4/com/mockobjects/sql/MockDataSource.java +++ src/j2ee/1.4/com/mockobjects/sql/MockDataSource.java @@ -9,4 +9,14 @@ * @version $Revision: 1.1 $ $Date: 2002/08/27 16:34:04 $ */ public class MockDataSource extends CommonMockDataSource{ + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockCallableStatement.java +++ src/jdk/1.4/com/mockobjects/sql/MockCallableStatement.java @@ -59,4 +59,237 @@ notImplemented(); return 0; } -} \ No newline at end of file + + // Java6 build - interface java.sql.Statement + + public boolean isClosed() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isClosed()"); + } + + public void setPoolable(boolean poolable) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setPoolable()"); + } + + public boolean isPoolable() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isPoolable()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } + + // Java6 build - interface java.sql.PreparedStatement + + public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setRowId()"); + } + + public void setNString(int parameterIndex, String value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNString()"); + } + + public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setSQLXML()"); + } + + public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setObject()"); + } + + public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + // Java6 build - interface java.sql.CallableStatement + + public java.sql.RowId getRowId(int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public java.sql.RowId getRowId(String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public void setRowId(String parameterName, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setRowId()"); + } + + public void setNString(String parameterName, String value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNString()"); + } + + public void setNCharacterStream(String parameterName, java.io.Reader value, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setNClob(String parameterName, java.sql.NClob value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public void setClob(String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(String parameterName, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public java.sql.NClob getNClob (int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method ()"); + } + + public java.sql.NClob getNClob (String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method ()"); + } + + public void setSQLXML(String parameterName, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setSQLXML()"); + } + + public java.sql.SQLXML getSQLXML(int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public java.sql.SQLXML getSQLXML(String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public String getNString(int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public String getNString(String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public java.io.Reader getNCharacterStream(int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public java.io.Reader getNCharacterStream(String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public java.io.Reader getCharacterStream(int parameterIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getCharacterStream()"); + } + + public java.io.Reader getCharacterStream(String parameterName) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getCharacterStream()"); + } + + public void setBlob (String parameterName, java.sql.Blob x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method ()"); + } + + public void setClob (String parameterName, java.sql.Clob x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method ()"); + } + + public void setAsciiStream(String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setAsciiStream(String parameterName, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(String parameterName, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(String parameterName, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setNCharacterStream(String parameterName, java.io.Reader value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setClob(String parameterName, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(String parameterName, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(String parameterName, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + +} --- src/jdk/1.4/com/mockobjects/sql/MockConnection.java +++ src/jdk/1.4/com/mockobjects/sql/MockConnection.java @@ -26,4 +26,60 @@ notImplemented(); return null; } + + // Java6 build - interface java.sql.Connection + + public java.sql.Clob createClob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createClob()"); + } + + public java.sql.Blob createBlob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createBlob()"); + } + + public java.sql.NClob createNClob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createNClob()"); + } + + public java.sql.SQLXML createSQLXML() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createSQLXML()"); + } + + public boolean isValid(int timeout) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isValid()"); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new RuntimeException("Not implemented method setClientInfo()"); + } + + public void setClientInfo(java.util.Properties properties) throws java.sql.SQLClientInfoException { + throw new RuntimeException("Not implemented method setClientInfo()"); + } + + public String getClientInfo(String name) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getClientInfo()"); + } + + public java.util.Properties getClientInfo() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getClientInfo()"); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createArrayOf()"); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createStruct()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockConnection2.java +++ src/jdk/1.4/com/mockobjects/sql/MockConnection2.java @@ -37,4 +37,60 @@ public Savepoint setSavepoint(String name) throws SQLException { return connection.setSavepoint(); } + + // Java6 build - interface java.sql.Connection + + public java.sql.Clob createClob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createClob()"); + } + + public java.sql.Blob createBlob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createBlob()"); + } + + public java.sql.NClob createNClob() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createNClob()"); + } + + public java.sql.SQLXML createSQLXML() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createSQLXML()"); + } + + public boolean isValid(int timeout) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isValid()"); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new RuntimeException("Not implemented method setClientInfo()"); + } + + public void setClientInfo(java.util.Properties properties) throws java.sql.SQLClientInfoException { + throw new RuntimeException("Not implemented method setClientInfo()"); + } + + public String getClientInfo(String name) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getClientInfo()"); + } + + public java.util.Properties getClientInfo() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getClientInfo()"); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createArrayOf()"); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method createStruct()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockMultiRowResultSet.java +++ src/jdk/1.4/com/mockobjects/sql/MockMultiRowResultSet.java @@ -49,4 +49,208 @@ public void updateArray(String columnName, Array x) throws SQLException { notImplemented(); } + + // Java6 build - interface java.sql.ResultSet + + public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public java.sql.RowId getRowId(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateRowId()"); + } + + public void updateRowId(String columnLabel, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateRowId()"); + } + + public int getHoldability() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getHoldability()"); + } + + public boolean isClosed() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isClosed()"); + } + + public void updateNString(int columnIndex, String nString) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNString()"); + } + + public void updateNString(String columnLabel, String nString) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNString()"); + } + + public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.sql.NClob nClob) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNClob()"); + } + + public java.sql.NClob getNClob(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNClob()"); + } + + public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public java.sql.SQLXML getSQLXML(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateSQLXML()"); + } + + public void updateSQLXML(String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateSQLXML()"); + } + + public String getNString(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public String getNString(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public java.io.Reader getNCharacterStream(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateBlob(String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateClob(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateBlob(String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateClob(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockPreparedStatement.java +++ src/jdk/1.4/com/mockobjects/sql/MockPreparedStatement.java @@ -59,4 +59,106 @@ notImplemented(); return 0; } + + // Java6 build - interface java.sql.PreparedStatement + + public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setRowId()"); + } + + public void setNString(int parameterIndex, String value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNString()"); + } + + public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setSQLXML()"); + } + + public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setObject()"); + } + + public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setAsciiStream()"); + } + + public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBinaryStream()"); + } + + public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setCharacterStream()"); + } + + public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNCharacterStream()"); + } + + public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setClob()"); + } + + public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setBlob()"); + } + + public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setNClob()"); + } + + // Java6 build - interface java.sql.Statement + + public boolean isClosed() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isClosed()"); + } + + public void setPoolable(boolean poolable) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setPoolable()"); + } + + public boolean isPoolable() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isPoolable()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockSingleRowResultSet.java +++ src/jdk/1.4/com/mockobjects/sql/MockSingleRowResultSet.java @@ -49,4 +49,208 @@ public void updateArray(String columnName, Array x) throws SQLException { notImplemented(); } + + // Java6 build - interface java.sql.ResultSet + + public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public java.sql.RowId getRowId(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowId()"); + } + + public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateRowId()"); + } + + public void updateRowId(String columnLabel, java.sql.RowId x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateRowId()"); + } + + public int getHoldability() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getHoldability()"); + } + + public boolean isClosed() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isClosed()"); + } + + public void updateNString(int columnIndex, String nString) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNString()"); + } + + public void updateNString(String columnLabel, String nString) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNString()"); + } + + public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.sql.NClob nClob) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNClob()"); + } + + public java.sql.NClob getNClob(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNClob()"); + } + + public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public java.sql.SQLXML getSQLXML(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSQLXML()"); + } + + public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateSQLXML()"); + } + + public void updateSQLXML(String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateSQLXML()"); + } + + public String getNString(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public String getNString(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNString()"); + } + + public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public java.io.Reader getNCharacterStream(String columnLabel) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getNCharacterStream()"); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateBlob(String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateClob(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNCharacterStream()"); + } + + public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateAsciiStream()"); + } + + public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBinaryStream()"); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateCharacterStream()"); + } + + public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateBlob(String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateBlob()"); + } + + public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateClob(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateClob()"); + } + + public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + public void updateNClob(String columnLabel, java.io.Reader reader) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method updateNClob()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/1.4/com/mockobjects/sql/MockStatement.java +++ src/jdk/1.4/com/mockobjects/sql/MockStatement.java @@ -48,4 +48,28 @@ notImplemented(); return 0; } + + // Java6 build - interface java.sql.Statement + + public boolean isClosed() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isClosed()"); + } + + public void setPoolable(boolean poolable) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method setPoolable()"); + } + + public boolean isPoolable() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isPoolable()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/common/com/mockobjects/sql/CommonMockResultSetMetaData.java +++ src/jdk/common/com/mockobjects/sql/CommonMockResultSetMetaData.java @@ -312,4 +312,13 @@ myColumnClassNameIndexes.addExpected(aColumnIndex); } + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } } --- src/jdk/common/com/mockobjects/sql/MockArray.java +++ src/jdk/common/com/mockobjects/sql/MockArray.java @@ -70,4 +70,10 @@ notImplemented(); return null; } + + // Java6 build - interface java.sql.Array + + public void free() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method free()"); + } } --- src/jdk/common/com/mockobjects/sql/MockDatabaseMetaData.java +++ src/jdk/common/com/mockobjects/sql/MockDatabaseMetaData.java @@ -864,4 +864,43 @@ return null; } + // Java6 build - interface java.sql.DatabaseMetaData + + public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getRowIdLifetime()"); + } + + public java.sql.ResultSet getSchemas(String catalog, String schemaPattern) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getSchemas()"); + } + + public boolean supportsStoredFunctionsUsingCallSyntax() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method supportsStoredFunctionsUsingCallSyntax()"); + } + + public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method autoCommitFailureClosesAllResultSets()"); + } + + public java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getClientInfoProperties()"); + } + + public java.sql.ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getFunctions()"); + } + + public java.sql.ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method getFunctionColumns()"); + } + + // Java6 build - interface java.sql.Wrapper + + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method unwrap()"); + } + + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { + throw new RuntimeException("Not implemented method isWrapperFor()"); + } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor