提交 be743038 authored 作者: Thomas Mueller's avatar Thomas Mueller

The source code is now switched to Java 6 (JDK 1.6) by default.

上级 11ff9957
...@@ -16,11 +16,11 @@ import java.sql.CallableStatement; ...@@ -16,11 +16,11 @@ import java.sql.CallableStatement;
import java.sql.Clob; import java.sql.Clob;
import java.sql.Date; import java.sql.Date;
import java.sql.Ref; import java.sql.Ref;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.NClob; import java.sql.NClob;
import java.sql.SQLXML; import java.sql.SQLXML;
import java.sql.RowId; import java.sql.RowId;
## Java 1.6 end ##*/ //## Java 1.6 end ##
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Time; import java.sql.Time;
import java.sql.Timestamp; import java.sql.Timestamp;
...@@ -459,12 +459,12 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call ...@@ -459,12 +459,12 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setAsciiStream(String parameterName, InputStream x, long length) public void setAsciiStream(String parameterName, InputStream x, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
...@@ -606,216 +606,216 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call ...@@ -606,216 +606,216 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(int parameterIndex) throws SQLException { public RowId getRowId(int parameterIndex) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(String parameterName) throws SQLException { public RowId getRowId(String parameterName) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setRowId(String parameterName, RowId x) throws SQLException { public void setRowId(String parameterName, RowId x) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNString(String parameterName, String value) throws SQLException { public void setNString(String parameterName, String value) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNCharacterStream(String parameterName, Reader value, long length) public void setNCharacterStream(String parameterName, Reader value, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(String parameterName, NClob value) public void setNClob(String parameterName, NClob value)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setClob(String parameterName, Reader reader, long length) public void setClob(String parameterName, Reader reader, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setBlob(String parameterName, InputStream inputStream, long length) public void setBlob(String parameterName, InputStream inputStream, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(String parameterName, Reader reader, long length) public void setNClob(String parameterName, Reader reader, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(int parameterIndex) throws SQLException { public NClob getNClob(int parameterIndex) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(String parameterName) throws SQLException { public NClob getNClob(String parameterName) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setSQLXML(String parameterName, SQLXML xmlObject) public void setSQLXML(String parameterName, SQLXML xmlObject)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(int parameterIndex) throws SQLException { public SQLXML getSQLXML(int parameterIndex) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(String parameterName) throws SQLException { public SQLXML getSQLXML(String parameterName) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(int parameterIndex) throws SQLException { public String getNString(int parameterIndex) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(String parameterName) throws SQLException { public String getNString(String parameterName) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(int parameterIndex) throws SQLException { public Reader getNCharacterStream(int parameterIndex) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(String parameterName) throws SQLException { public Reader getNCharacterStream(String parameterName) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getCharacterStream(int parameterIndex) throws SQLException { public Reader getCharacterStream(int parameterIndex) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getCharacterStream(String parameterName) throws SQLException { public Reader getCharacterStream(String parameterName) throws SQLException {
throw unsupportedGet(); throw unsupportedGet();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setBlob(String parameterName, Blob x) throws SQLException { public void setBlob(String parameterName, Blob x) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setClob(String parameterName, Clob x) throws SQLException { public void setClob(String parameterName, Clob x) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setAsciiStream(String parameterName, InputStream x) public void setAsciiStream(String parameterName, InputStream x)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
...@@ -827,81 +827,81 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call ...@@ -827,81 +827,81 @@ public class JdbcCallableStatement extends JdbcPreparedStatement implements Call
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setBinaryStream(String parameterName, InputStream x) public void setBinaryStream(String parameterName, InputStream x)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setBinaryStream(String parameterName, InputStream x, long length) public void setBinaryStream(String parameterName, InputStream x, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setBlob(String parameterName, InputStream x) public void setBlob(String parameterName, InputStream x)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setCharacterStream(String parameterName, Reader x) public void setCharacterStream(String parameterName, Reader x)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setCharacterStream(String parameterName, Reader x, long length) public void setCharacterStream(String parameterName, Reader x, long length)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setClob(String parameterName, Reader x) throws SQLException { public void setClob(String parameterName, Reader x) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNCharacterStream(String parameterName, Reader x) public void setNCharacterStream(String parameterName, Reader x)
throws SQLException { throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
* @throws SQLException * @throws SQLException
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(String parameterName, Reader x) throws SQLException { public void setNClob(String parameterName, Reader x) throws SQLException {
throw unsupportedParameterName(); throw unsupportedParameterName();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
private SQLException unsupportedParameterName() throws SQLException { private SQLException unsupportedParameterName() throws SQLException {
return unsupported("parameterName"); return unsupported("parameterName");
......
...@@ -20,17 +20,17 @@ import org.h2.message.TraceObject; ...@@ -20,17 +20,17 @@ import org.h2.message.TraceObject;
import org.h2.util.IOUtils; import org.h2.util.IOUtils;
import org.h2.value.Value; import org.h2.value.Value;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.NClob; import java.sql.NClob;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Represents a CLOB value. * Represents a CLOB value.
*/ */
public class JdbcClob extends TraceObject implements Clob public class JdbcClob extends TraceObject implements Clob
/*## Java 1.6 begin ## //## Java 1.6 begin ##
, NClob , NClob
## Java 1.6 end ##*/ //## Java 1.6 end ##
{ {
private Value value; private Value value;
...@@ -208,11 +208,11 @@ public class JdbcClob extends TraceObject implements Clob ...@@ -208,11 +208,11 @@ public class JdbcClob extends TraceObject implements Clob
/** /**
* [Not supported] Returns the reader, starting from an offset. * [Not supported] Returns the reader, starting from an offset.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getCharacterStream(long pos, long length) throws SQLException { public Reader getCharacterStream(long pos, long length) throws SQLException {
throw unsupported("LOB subset"); throw unsupported("LOB subset");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
private void checkClosed() throws SQLException { private void checkClosed() throws SQLException {
conn.checkClosed(); conn.checkClosed();
......
...@@ -41,13 +41,13 @@ import org.h2.value.ValueInt; ...@@ -41,13 +41,13 @@ import org.h2.value.ValueInt;
import org.h2.value.ValueNull; import org.h2.value.ValueNull;
import org.h2.value.ValueString; import org.h2.value.ValueString;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.Array; import java.sql.Array;
import java.sql.NClob; import java.sql.NClob;
import java.sql.Struct; import java.sql.Struct;
import java.sql.SQLXML; import java.sql.SQLXML;
import java.sql.SQLClientInfoException; import java.sql.SQLClientInfoException;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* <p> * <p>
...@@ -1477,7 +1477,7 @@ public class JdbcConnection extends TraceObject implements Connection { ...@@ -1477,7 +1477,7 @@ public class JdbcConnection extends TraceObject implements Connection {
* *
* @return the object * @return the object
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob createNClob() throws SQLException { public NClob createNClob() throws SQLException {
try { try {
int id = getNextId(TraceObject.CLOB); int id = getNextId(TraceObject.CLOB);
...@@ -1495,36 +1495,36 @@ public class JdbcConnection extends TraceObject implements Connection { ...@@ -1495,36 +1495,36 @@ public class JdbcConnection extends TraceObject implements Connection {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Create a new empty SQLXML object. * [Not supported] Create a new empty SQLXML object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML createSQLXML() throws SQLException { public SQLXML createSQLXML() throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Create a new empty Array object. * [Not supported] Create a new empty Array object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Array createArrayOf(String typeName, Object[] elements) public Array createArrayOf(String typeName, Object[] elements)
throws SQLException { throws SQLException {
throw unsupported("createArray"); throw unsupported("createArray");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Create a new empty Struct object. * [Not supported] Create a new empty Struct object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Struct createStruct(String typeName, Object[] attributes) public Struct createStruct(String typeName, Object[] attributes)
throws SQLException { throws SQLException {
throw unsupported("Struct"); throw unsupported("Struct");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns true if this connection is still valid. * Returns true if this connection is still valid.
...@@ -1552,61 +1552,61 @@ public class JdbcConnection extends TraceObject implements Connection { ...@@ -1552,61 +1552,61 @@ public class JdbcConnection extends TraceObject implements Connection {
/** /**
* [Not supported] Set a client property. * [Not supported] Set a client property.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setClientInfo(String name, String value) public void setClientInfo(String name, String value)
throws SQLClientInfoException { throws SQLClientInfoException {
throw new SQLClientInfoException(); throw new SQLClientInfoException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Set the client properties. * [Not supported] Set the client properties.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setClientInfo(Properties properties) throws SQLClientInfoException { public void setClientInfo(Properties properties) throws SQLClientInfoException {
throw new SQLClientInfoException(); throw new SQLClientInfoException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Get the client properties. * [Not supported] Get the client properties.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Properties getClientInfo() throws SQLClientInfoException { public Properties getClientInfo() throws SQLClientInfoException {
throw new SQLClientInfoException(); throw new SQLClientInfoException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Set a client property. * [Not supported] Set a client property.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getClientInfo(String name) throws SQLException { public String getClientInfo(String name) throws SQLException {
throw unsupported("clientInfo"); throw unsupported("clientInfo");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Create a Clob value from this reader. * Create a Clob value from this reader.
......
...@@ -10,9 +10,9 @@ import java.sql.Connection; ...@@ -10,9 +10,9 @@ import java.sql.Connection;
import java.sql.DatabaseMetaData; import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.RowIdLifetime; import java.sql.RowIdLifetime;
## Java 1.6 end ##*/ //## Java 1.6 end ##
import java.sql.SQLException; import java.sql.SQLException;
import org.h2.constant.SysProperties; import org.h2.constant.SysProperties;
...@@ -2753,22 +2753,22 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat ...@@ -2753,22 +2753,22 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
* *
* @return ROWID_UNSUPPORTED * @return ROWID_UNSUPPORTED
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowIdLifetime getRowIdLifetime() { public RowIdLifetime getRowIdLifetime() {
debugCodeCall("getRowIdLifetime"); debugCodeCall("getRowIdLifetime");
return RowIdLifetime.ROWID_UNSUPPORTED; return RowIdLifetime.ROWID_UNSUPPORTED;
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Gets the list of schemas. * [Not supported] Gets the list of schemas.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public ResultSet getSchemas(String catalog, String schemaPattern) public ResultSet getSchemas(String catalog, String schemaPattern)
throws SQLException { throws SQLException {
throw unsupported("getSchemas(., .)"); throw unsupported("getSchemas(., .)");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns whether the database supports calling functions using the call syntax. * Returns whether the database supports calling functions using the call syntax.
...@@ -2800,41 +2800,41 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat ...@@ -2800,41 +2800,41 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Gets the list of function columns. * [Not supported] Gets the list of function columns.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public ResultSet getFunctionColumns(String catalog, String schemaPattern, public ResultSet getFunctionColumns(String catalog, String schemaPattern,
String functionNamePattern, String columnNamePattern) String functionNamePattern, String columnNamePattern)
throws SQLException { throws SQLException {
throw unsupported("getFunctionColumns"); throw unsupported("getFunctionColumns");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Gets the list of functions. * [Not supported] Gets the list of functions.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public ResultSet getFunctions(String catalog, String schemaPattern, public ResultSet getFunctions(String catalog, String schemaPattern,
String functionNamePattern) throws SQLException { String functionNamePattern) throws SQLException {
throw unsupported("getFunctions"); throw unsupported("getFunctions");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -217,20 +217,20 @@ implements ParameterMetaData ...@@ -217,20 +217,20 @@ implements ParameterMetaData
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -48,11 +48,11 @@ import org.h2.value.ValueString; ...@@ -48,11 +48,11 @@ import org.h2.value.ValueString;
import org.h2.value.ValueTime; import org.h2.value.ValueTime;
import org.h2.value.ValueTimestamp; import org.h2.value.ValueTimestamp;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.RowId; import java.sql.RowId;
import java.sql.NClob; import java.sql.NClob;
import java.sql.SQLXML; import java.sql.SQLXML;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Represents a prepared statement. * Represents a prepared statement.
...@@ -1258,11 +1258,11 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1258,11 +1258,11 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
/** /**
* [Not supported] Sets the value of a parameter as a row id. * [Not supported] Sets the value of a parameter as a row id.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setRowId(int parameterIndex, RowId x) throws SQLException { public void setRowId(int parameterIndex, RowId x) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter. * Sets the value of a parameter.
...@@ -1271,7 +1271,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1271,7 +1271,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param x the value * @param x the value
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNString(int parameterIndex, String x) throws SQLException { public void setNString(int parameterIndex, String x) throws SQLException {
try { try {
if (isDebugEnabled()) { if (isDebugEnabled()) {
...@@ -1283,7 +1283,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1283,7 +1283,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter as a character stream. * Sets the value of a parameter as a character stream.
...@@ -1295,7 +1295,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1295,7 +1295,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param length the number of bytes * @param length the number of bytes
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNCharacterStream(int parameterIndex, Reader x, long length) public void setNCharacterStream(int parameterIndex, Reader x, long length)
throws SQLException { throws SQLException {
try { try {
...@@ -1314,7 +1314,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1314,7 +1314,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter as a character stream. * Sets the value of a parameter as a character stream.
...@@ -1325,12 +1325,12 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1325,12 +1325,12 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param x the value * @param x the value
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNCharacterStream(int parameterIndex, Reader x) public void setNCharacterStream(int parameterIndex, Reader x)
throws SQLException { throws SQLException {
setNCharacterStream(parameterIndex, x, -1); setNCharacterStream(parameterIndex, x, -1);
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter as a Clob. * Sets the value of a parameter as a Clob.
...@@ -1339,7 +1339,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1339,7 +1339,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param x the value * @param x the value
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(int parameterIndex, NClob x) throws SQLException { public void setNClob(int parameterIndex, NClob x) throws SQLException {
try { try {
if (isDebugEnabled()) { if (isDebugEnabled()) {
...@@ -1357,7 +1357,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1357,7 +1357,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter as a Clob. * Sets the value of a parameter as a Clob.
...@@ -1368,7 +1368,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1368,7 +1368,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param x the value * @param x the value
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(int parameterIndex, Reader x) throws SQLException { public void setNClob(int parameterIndex, Reader x) throws SQLException {
try { try {
if (isDebugEnabled()) { if (isDebugEnabled()) {
...@@ -1385,7 +1385,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1385,7 +1385,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Sets the value of a parameter as a Clob. * Sets the value of a parameter as a Clob.
...@@ -1448,7 +1448,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1448,7 +1448,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* @param x the value * @param x the value
* @throws SQLException if this object is closed * @throws SQLException if this object is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setNClob(int parameterIndex, Reader x, long length) public void setNClob(int parameterIndex, Reader x, long length)
throws SQLException { throws SQLException {
try { try {
...@@ -1470,11 +1470,11 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1470,11 +1470,11 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
/** /**
* [Not supported] Sets the value of a parameter as a SQLXML object. * [Not supported] Sets the value of a parameter as a SQLXML object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void setSQLXML(int parameterIndex, SQLXML x) throws SQLException { public void setSQLXML(int parameterIndex, SQLXML x) throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -26,11 +26,11 @@ import java.util.Calendar; ...@@ -26,11 +26,11 @@ import java.util.Calendar;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.NClob; import java.sql.NClob;
import java.sql.RowId; import java.sql.RowId;
import java.sql.SQLXML; import java.sql.SQLXML;
## Java 1.6 end ##*/ //## Java 1.6 end ##
import org.h2.constant.ErrorCode; import org.h2.constant.ErrorCode;
import org.h2.constant.SysProperties; import org.h2.constant.SysProperties;
...@@ -2998,22 +2998,22 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -2998,22 +2998,22 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* *
* @param columnIndex (1,2,...) * @param columnIndex (1,2,...)
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(int columnIndex) throws SQLException { public RowId getRowId(int columnIndex) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Returns the value of the specified column as a row id. * [Not supported] Returns the value of the specified column as a row id.
* *
* @param columnLabel the column label * @param columnLabel the column label
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(String columnLabel) throws SQLException { public RowId getRowId(String columnLabel) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Updates a column in the current or insert row. * [Not supported] Updates a column in the current or insert row.
...@@ -3021,11 +3021,11 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3021,11 +3021,11 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param columnIndex (1,2,...) * @param columnIndex (1,2,...)
* @param x the value * @param x the value
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateRowId(int columnIndex, RowId x) throws SQLException { public void updateRowId(int columnIndex, RowId x) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Updates a column in the current or insert row. * [Not supported] Updates a column in the current or insert row.
...@@ -3033,11 +3033,11 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3033,11 +3033,11 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param columnLabel the column label * @param columnLabel the column label
* @param x the value * @param x the value
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateRowId(String columnLabel, RowId x) throws SQLException { public void updateRowId(String columnLabel, RowId x) throws SQLException {
throw unsupported("rowId"); throw unsupported("rowId");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the current result set holdability. * Returns the current result set holdability.
...@@ -3076,7 +3076,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3076,7 +3076,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param x the value * @param x the value
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNString(int columnIndex, String x) throws SQLException { public void updateNString(int columnIndex, String x) throws SQLException {
try { try {
if (isDebugEnabled()) { if (isDebugEnabled()) {
...@@ -3088,7 +3088,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3088,7 +3088,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Updates a column in the current or insert row. * Updates a column in the current or insert row.
...@@ -3097,7 +3097,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3097,7 +3097,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param x the value * @param x the value
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNString(String columnLabel, String x) throws SQLException { public void updateNString(String columnLabel, String x) throws SQLException {
try { try {
if (isDebugEnabled()) { if (isDebugEnabled()) {
...@@ -3109,64 +3109,64 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3109,64 +3109,64 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, NClob x) throws SQLException { public void updateNClob(int columnIndex, NClob x) throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, Reader x) throws SQLException { public void updateNClob(int columnIndex, Reader x) throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, Reader x, long length) public void updateNClob(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, Reader x) public void updateNClob(String columnLabel, Reader x)
throws SQLException { throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, Reader x, long length) public void updateNClob(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, NClob x) throws SQLException { public void updateNClob(String columnLabel, NClob x) throws SQLException {
throw unsupported("NClob"); throw unsupported("NClob");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
...@@ -3176,7 +3176,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3176,7 +3176,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @return the value * @return the value
* @throws SQLException if the column is not found or if the result set is closed * @throws SQLException if the column is not found or if the result set is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(int columnIndex) throws SQLException { public NClob getNClob(int columnIndex) throws SQLException {
try { try {
int id = getNextId(TraceObject.CLOB); int id = getNextId(TraceObject.CLOB);
...@@ -3187,7 +3187,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3187,7 +3187,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the value of the specified column as a Clob. * Returns the value of the specified column as a Clob.
...@@ -3196,7 +3196,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3196,7 +3196,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @return the value * @return the value
* @throws SQLException if the column is not found or if the result set is closed * @throws SQLException if the column is not found or if the result set is closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(String columnLabel) throws SQLException { public NClob getNClob(String columnLabel) throws SQLException {
try { try {
int id = getNextId(TraceObject.CLOB); int id = getNextId(TraceObject.CLOB);
...@@ -3207,45 +3207,45 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3207,45 +3207,45 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Returns the value of the specified column as a SQLXML object. * [Not supported] Returns the value of the specified column as a SQLXML object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(int columnIndex) throws SQLException { public SQLXML getSQLXML(int columnIndex) throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Returns the value of the specified column as a SQLXML object. * [Not supported] Returns the value of the specified column as a SQLXML object.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(String columnLabel) throws SQLException { public SQLXML getSQLXML(String columnLabel) throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Updates a column in the current or insert row. * [Not supported] Updates a column in the current or insert row.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateSQLXML(int columnIndex, SQLXML xmlObject) public void updateSQLXML(int columnIndex, SQLXML xmlObject)
throws SQLException { throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Updates a column in the current or insert row. * [Not supported] Updates a column in the current or insert row.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateSQLXML(String columnLabel, SQLXML xmlObject) public void updateSQLXML(String columnLabel, SQLXML xmlObject)
throws SQLException { throws SQLException {
throw unsupported("SQLXML"); throw unsupported("SQLXML");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the value of the specified column as a String. * Returns the value of the specified column as a String.
...@@ -3255,7 +3255,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3255,7 +3255,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @throws SQLException if the column is not found or if the result set is * @throws SQLException if the column is not found or if the result set is
* closed * closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(int columnIndex) throws SQLException { public String getNString(int columnIndex) throws SQLException {
try { try {
debugCodeCall("getNString", columnIndex); debugCodeCall("getNString", columnIndex);
...@@ -3264,7 +3264,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3264,7 +3264,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the value of the specified column as a String. * Returns the value of the specified column as a String.
...@@ -3274,7 +3274,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3274,7 +3274,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @throws SQLException if the column is not found or if the result set is * @throws SQLException if the column is not found or if the result set is
* closed * closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(String columnLabel) throws SQLException { public String getNString(String columnLabel) throws SQLException {
try { try {
debugCodeCall("getNString", columnLabel); debugCodeCall("getNString", columnLabel);
...@@ -3283,7 +3283,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3283,7 +3283,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the value of the specified column as input stream. * Returns the value of the specified column as input stream.
...@@ -3293,7 +3293,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3293,7 +3293,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @throws SQLException if the column is not found or if the result set is * @throws SQLException if the column is not found or if the result set is
* closed * closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(int columnIndex) throws SQLException { public Reader getNCharacterStream(int columnIndex) throws SQLException {
try { try {
debugCodeCall("getNCharacterStream", columnIndex); debugCodeCall("getNCharacterStream", columnIndex);
...@@ -3302,7 +3302,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3302,7 +3302,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the value of the specified column as input stream. * Returns the value of the specified column as input stream.
...@@ -3312,7 +3312,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3312,7 +3312,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @throws SQLException if the column is not found or if the result set is * @throws SQLException if the column is not found or if the result set is
* closed * closed
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(String columnLabel) throws SQLException { public Reader getNCharacterStream(String columnLabel) throws SQLException {
try { try {
debugCodeCall("getNCharacterStream", columnLabel); debugCodeCall("getNCharacterStream", columnLabel);
...@@ -3321,7 +3321,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3321,7 +3321,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Updates a column in the current or insert row. * Updates a column in the current or insert row.
...@@ -3330,12 +3330,12 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3330,12 +3330,12 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param x the value * @param x the value
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(int columnIndex, Reader x) public void updateNCharacterStream(int columnIndex, Reader x)
throws SQLException { throws SQLException {
updateNCharacterStream(columnIndex, x, -1); updateNCharacterStream(columnIndex, x, -1);
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Updates a column in the current or insert row. * Updates a column in the current or insert row.
...@@ -3345,7 +3345,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3345,7 +3345,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param length the number of characters * @param length the number of characters
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(int columnIndex, Reader x, long length) public void updateNCharacterStream(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
try { try {
...@@ -3359,7 +3359,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3359,7 +3359,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Updates a column in the current or insert row. * Updates a column in the current or insert row.
...@@ -3368,12 +3368,12 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3368,12 +3368,12 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param x the value * @param x the value
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(String columnLabel, Reader x) public void updateNCharacterStream(String columnLabel, Reader x)
throws SQLException { throws SQLException {
updateNCharacterStream(columnLabel, x, -1); updateNCharacterStream(columnLabel, x, -1);
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Updates a column in the current or insert row. * Updates a column in the current or insert row.
...@@ -3383,7 +3383,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3383,7 +3383,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
* @param length the number of characters * @param length the number of characters
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(String columnLabel, Reader x, long length) public void updateNCharacterStream(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
try { try {
...@@ -3397,25 +3397,25 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -3397,25 +3397,25 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
throw logAndConvert(e); throw logAndConvert(e);
} }
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -432,20 +432,20 @@ public class JdbcResultSetMetaData extends TraceObject implements ResultSetMetaD ...@@ -432,20 +432,20 @@ public class JdbcResultSetMetaData extends TraceObject implements ResultSetMetaD
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -947,20 +947,20 @@ public class JdbcStatement extends TraceObject implements Statement { ...@@ -947,20 +947,20 @@ public class JdbcStatement extends TraceObject implements Statement {
/** /**
* [Not supported] Return an object of this class if possible. * [Not supported] Return an object of this class if possible.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns whether this object is poolable. * Returns whether this object is poolable.
......
...@@ -31,9 +31,9 @@ import javax.sql.ConnectionPoolDataSource; ...@@ -31,9 +31,9 @@ import javax.sql.ConnectionPoolDataSource;
import javax.sql.DataSource; import javax.sql.DataSource;
import javax.sql.PooledConnection; import javax.sql.PooledConnection;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import org.h2.message.DbException; import org.h2.message.DbException;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* A simple standalone JDBC connection pool. * A simple standalone JDBC connection pool.
...@@ -342,21 +342,21 @@ public class JdbcConnectionPool implements DataSource, ConnectionEventListener { ...@@ -342,21 +342,21 @@ public class JdbcConnectionPool implements DataSource, ConnectionEventListener {
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw DbException.getUnsupportedException("unwrap"); throw DbException.getUnsupportedException("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw DbException.getUnsupportedException("isWrapperFor"); throw DbException.getUnsupportedException("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
} }
...@@ -363,22 +363,22 @@ implements XADataSource, DataSource, ConnectionPoolDataSource, Serializable, Ref ...@@ -363,22 +363,22 @@ implements XADataSource, DataSource, ConnectionPoolDataSource, Serializable, Ref
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw unsupported("unwrap"); throw unsupported("unwrap");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Checks if unwrap can return an object of this class. * [Not supported] Checks if unwrap can return an object of this class.
* *
* @param iface the class * @param iface the class
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw unsupported("isWrapperFor"); throw unsupported("isWrapperFor");
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -32,9 +32,9 @@ import org.h2.message.DbException; ...@@ -32,9 +32,9 @@ import org.h2.message.DbException;
import org.h2.message.Trace; import org.h2.message.Trace;
import org.h2.message.TraceObject; import org.h2.message.TraceObject;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import javax.sql.StatementEventListener; import javax.sql.StatementEventListener;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* This class provides support for distributed transactions. * This class provides support for distributed transactions.
...@@ -398,22 +398,22 @@ implements XAConnection, XAResource ...@@ -398,22 +398,22 @@ implements XAConnection, XAResource
* *
* @param listener the new statement event listener * @param listener the new statement event listener
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void addStatementEventListener(StatementEventListener listener) { public void addStatementEventListener(StatementEventListener listener) {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* [Not supported] Remove a statement event listener. * [Not supported] Remove a statement event listener.
* *
* @param listener the statement event listener * @param listener the statement event listener
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void removeStatementEventListener(StatementEventListener listener) { public void removeStatementEventListener(StatementEventListener listener) {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
......
...@@ -30,11 +30,11 @@ import org.h2.constant.ErrorCode; ...@@ -30,11 +30,11 @@ import org.h2.constant.ErrorCode;
import org.h2.message.DbException; import org.h2.message.DbException;
import org.h2.util.New; import org.h2.util.New;
/*## Java 1.6 begin ## //## Java 1.6 begin ##
import java.sql.NClob; import java.sql.NClob;
import java.sql.RowId; import java.sql.RowId;
import java.sql.SQLXML; import java.sql.SQLXML;
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* This class is a simple result set and meta data implementation. * This class is a simple result set and meta data implementation.
...@@ -1640,38 +1640,38 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1640,38 +1640,38 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(int columnIndex) throws SQLException { public RowId getRowId(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public RowId getRowId(String columnLabel) throws SQLException { public RowId getRowId(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateRowId(int columnIndex, RowId x) throws SQLException { public void updateRowId(int columnIndex, RowId x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateRowId(String columnLabel, RowId x) throws SQLException { public void updateRowId(String columnLabel, RowId x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* Returns the current result set holdability. * Returns the current result set holdability.
...@@ -1696,426 +1696,426 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1696,426 +1696,426 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNString(int columnIndex, String nString) public void updateNString(int columnIndex, String nString)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNString(String columnLabel, String nString) public void updateNString(String columnLabel, String nString)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, NClob nClob) public void updateNClob(int columnIndex, NClob nClob)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, NClob nClob) public void updateNClob(String columnLabel, NClob nClob)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(int columnIndex) throws SQLException { public NClob getNClob(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public NClob getNClob(String columnLabel) throws SQLException { public NClob getNClob(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(int columnIndex) throws SQLException { public SQLXML getSQLXML(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public SQLXML getSQLXML(String columnLabel) throws SQLException { public SQLXML getSQLXML(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateSQLXML(int columnIndex, SQLXML xmlObject) public void updateSQLXML(int columnIndex, SQLXML xmlObject)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateSQLXML(String columnLabel, SQLXML xmlObject) public void updateSQLXML(String columnLabel, SQLXML xmlObject)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(int columnIndex) throws SQLException { public String getNString(int columnIndex) throws SQLException {
return getString(columnIndex); return getString(columnIndex);
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public String getNString(String columnLabel) throws SQLException { public String getNString(String columnLabel) throws SQLException {
return getString(columnLabel); return getString(columnLabel);
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(int columnIndex) throws SQLException { public Reader getNCharacterStream(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public Reader getNCharacterStream(String columnLabel) public Reader getNCharacterStream(String columnLabel)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public <T> T unwrap(Class<T> iface) throws SQLException { public <T> T unwrap(Class<T> iface) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public boolean isWrapperFor(Class< ? > iface) throws SQLException { public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateAsciiStream(int columnIndex, InputStream x) public void updateAsciiStream(int columnIndex, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateAsciiStream(String columnLabel, InputStream x) public void updateAsciiStream(String columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateAsciiStream(int columnIndex, InputStream x, long length) public void updateAsciiStream(int columnIndex, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateAsciiStream(String columnLabel, InputStream x, long length) public void updateAsciiStream(String columnLabel, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBinaryStream(int columnLabel, InputStream x) public void updateBinaryStream(int columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBinaryStream(String columnLabel, InputStream x) public void updateBinaryStream(String columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBinaryStream(int columnIndex, InputStream x, long length) public void updateBinaryStream(int columnIndex, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBinaryStream(String columnLabel, InputStream x, long length) public void updateBinaryStream(String columnLabel, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBlob(int columnIndex, InputStream x) throws SQLException { public void updateBlob(int columnIndex, InputStream x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBlob(String columnLabel, InputStream x) throws SQLException { public void updateBlob(String columnLabel, InputStream x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBlob(int columnIndex, InputStream x, long length) public void updateBlob(int columnIndex, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateBlob(String columnLabel, InputStream x, long length) public void updateBlob(String columnLabel, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateCharacterStream(int columnIndex, Reader x) public void updateCharacterStream(int columnIndex, Reader x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateCharacterStream(String columnLabel, Reader x) public void updateCharacterStream(String columnLabel, Reader x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateCharacterStream(int columnIndex, Reader x, long length) public void updateCharacterStream(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateCharacterStream(String columnLabel, Reader x, long length) public void updateCharacterStream(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateClob(int columnIndex, Reader x) throws SQLException { public void updateClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateClob(String columnLabel, Reader x) throws SQLException { public void updateClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateClob(int columnIndex, Reader x, long length) public void updateClob(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateClob(String columnLabel, Reader x, long length) public void updateClob(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(int columnIndex, Reader x) public void updateNCharacterStream(int columnIndex, Reader x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(String columnLabel, Reader x) public void updateNCharacterStream(String columnLabel, Reader x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(int columnIndex, Reader x, long length) public void updateNCharacterStream(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNCharacterStream(String columnLabel, Reader x, long length) public void updateNCharacterStream(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, Reader x) throws SQLException { public void updateNClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, Reader x) throws SQLException { public void updateNClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(int columnIndex, Reader x, long length) public void updateNClob(int columnIndex, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
/** /**
* INTERNAL * INTERNAL
*/ */
/*## Java 1.6 begin ## //## Java 1.6 begin ##
public void updateNClob(String columnLabel, Reader x, long length) public void updateNClob(String columnLabel, Reader x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
## Java 1.6 end ##*/ //## Java 1.6 end ##
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论