Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEvent.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEvent.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEvent.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEvent.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public class ConnectionEvent extends java.util.EventObject
+{
+ public ConnectionEvent(PooledConnection con) { super( con ); }
+ public ConnectionEvent(PooledConnection con, SQLException ex) throws SQLException { super( con ); }
+
+ public SQLException getSQLException() { return null; }
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEvent.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEventListener.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEventListener.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEventListener.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEventListener.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+public interface ConnectionEventListener extends java.util.EventListener
+{
+ public void connectionClosed(ConnectionEvent event);
+ public void connectionErrorOccurred(ConnectionEvent event);
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionEventListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionPoolDataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionPoolDataSource.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionPoolDataSource.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionPoolDataSource.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public interface ConnectionPoolDataSource extends CommonDataSource
+{
+ public PooledConnection getPooledConnection() throws SQLException;
+ public PooledConnection getPooledConnection(String user, String password) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/ConnectionPoolDataSource.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/DataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/DataSource.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/DataSource.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/DataSource.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+import java.sql.Wrapper;
+
+public interface DataSource extends CommonDataSource, Wrapper
+{
+ public Connection getConnection() throws SQLException;
+ public Connection getConnection(String username, String password) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/DataSource.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/PooledConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/PooledConnection.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/PooledConnection.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/PooledConnection.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+
+public interface PooledConnection
+{
+ public void addConnectionEventListener(ConnectionEventListener listener);
+ public void addStatementEventListener(StatementEventListener listener);
+ public void close() throws SQLException;
+ public Connection getConnection() throws SQLException;
+ public void removeConnectionEventListener(ConnectionEventListener listener);
+ public void removeStatementEventListener(StatementEventListener listener);
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/PooledConnection.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,155 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.math.BigDecimal;
+import java.net.URL;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Date;
+import java.sql.NClob;
+import java.sql.RowId;
+import java.sql.SQLException;
+import java.sql.SQLXML;
+import java.sql.Ref;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.util.Calendar;
+import java.util.Map;
+
+public interface RowSet extends java.sql.ResultSet
+{
+ public void addRowSetListener(RowSetListener listener);
+ public void clearParameters() throws SQLException;
+ public void execute() throws SQLException;
+ public String getCommand();
+ public String getDataSourceName();
+ public boolean getEscapeProcessing() throws SQLException;
+ public int getMaxFieldSize() throws SQLException;
+ public int getMaxRows() throws SQLException;
+ public String getPassword();
+ public int getQueryTimeout() throws SQLException;
+ public int getTransactionIsolation();
+ public Map<String,Class<?>> getTypeMap() throws SQLException;
+ public String getUrl() throws SQLException;
+ public String getUsername();
+ public boolean isReadOnly();
+ public void removeRowSetListener(RowSetListener listener);
+ public void setArray(int i, Array x) throws SQLException;
+ public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException;
+ public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException;
+ public void setAsciiStream(String parameterName, InputStream x) throws SQLException;
+ public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException;
+ public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException;
+ public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException;
+ public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException;
+ public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException;
+ public void setBinaryStream(String parameterName, InputStream x) throws SQLException;
+ public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException;
+ public void setBlob(int i, Blob x) throws SQLException;
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException;
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException;
+ public void setBlob(String parameterName, Blob x) throws SQLException;
+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException;
+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException;
+ public void setBoolean(int parameterIndex, boolean x) throws SQLException;
+ public void setBoolean(String parameterName, boolean x) throws SQLException;
+ public void setByte(int parameterIndex, byte x) throws SQLException;
+ public void setByte(String parameterName, byte x) throws SQLException;
+ public void setBytes(int parameterIndex, byte[] x) throws SQLException;
+ public void setBytes(String parameterName, byte[] x) throws SQLException;
+ public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException;
+ public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException;
+ public void setCharacterStream(String parameterName, Reader reader) throws SQLException;
+ public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException;
+ public void setClob(int i, Clob x) throws SQLException;
+ public void setClob(int parameterIndex, Reader reader) throws SQLException;
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException;
+ public void setClob(String parameterName, Clob x) throws SQLException;
+ public void setClob(String parameterName, Reader reader) throws SQLException;
+ public void setClob(String parameterName, Reader reader, long length) throws SQLException;
+ public void setCommand(String cmd) throws SQLException;
+ public void setConcurrency(int concurrency) throws SQLException;
+ public void setDataSourceName(String name) throws SQLException;
+ public void setDate(int parameterIndex, Date x) throws SQLException;
+ public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException;
+ public void setDate(String parameterName, Date x) throws SQLException;
+ public void setDate(String parameterName, Date x, Calendar cal) throws SQLException;
+ public void setDouble(int parameterIndex, double x) throws SQLException;
+ public void setDouble(String parameterName, double x) throws SQLException;
+ public void setEscapeProcessing(boolean enable) throws SQLException;
+ public void setFloat(int parameterIndex, float x) throws SQLException;
+ public void setFloat(String parameterName, float x) throws SQLException;
+ public void setInt(int parameterIndex, int x) throws SQLException;
+ public void setInt(String parameterName, int x) throws SQLException;
+ public void setLong(int parameterIndex, long x) throws SQLException;
+ public void setLong(String parameterName, long x) throws SQLException;
+ public void setMaxFieldSize(int max) throws SQLException;
+ public void setMaxRows(int max) throws SQLException;
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException;
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException;
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException;
+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException;
+ public void setNClob(int parameterIndex, NClob value) throws SQLException;
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException;
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException;
+ public void setNClob(String parameterName, NClob value) throws SQLException;
+ public void setNClob(String parameterName, Reader reader) throws SQLException;
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException;
+ public void setNString(int parameterIndex, String value) throws SQLException;
+ public void setNString(String parameterName, String value) throws SQLException;
+ public void setNull(int parameterIndex, int sqlType) throws SQLException;
+ public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException;
+ public void setNull(String parameterName, int sqlType) throws SQLException;
+ public void setNull(String parameterName, int sqlType, String typeName) throws SQLException;
+ public void setObject(int parameterIndex, Object x) throws SQLException;
+ public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException;
+ public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException;
+ public void setObject(String parameterName, Object x) throws SQLException;
+ public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException;
+ public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException;
+ public void setPassword(String password) throws SQLException;
+ public void setQueryTimeout(int seconds) throws SQLException;
+ public void setReadOnly(boolean value) throws SQLException;
+ public void setRef(int i, Ref x) throws SQLException;
+ public void setRowId(int parameterIndex, RowId x) throws SQLException;
+ public void setRowId(String parameterName, RowId x) throws SQLException;
+ public void setShort(int parameterIndex, short x) throws SQLException;
+ public void setShort(String parameterName, short x) throws SQLException;
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException;
+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException;
+ public void setString(int parameterIndex, String x) throws SQLException;
+ public void setString(String parameterName, String x) throws SQLException;
+ public void setTime(int parameterIndex, Time x) throws SQLException;
+ public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException;
+ public void setTime(String parameterName, Time x) throws SQLException;
+ public void setTime(String parameterName, Time x, Calendar cal) throws SQLException;
+ public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException;
+ public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException;
+ public void setTimestamp(String parameterName, Timestamp x) throws SQLException;
+ public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException;
+ public void setTransactionIsolation(int level) throws SQLException;
+ public void setType(int type) throws SQLException;
+ public void setTypeMap(Map<String,Class<?>> map) throws SQLException;
+ public void setURL(int parameterIndex, URL x) throws SQLException;
+ public void setUrl(String url) throws SQLException;
+ public void setUsername(String name) throws SQLException;
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetEvent.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetEvent.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetEvent.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetEvent.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+public class RowSetEvent extends java.util.EventObject
+{
+ public RowSetEvent(RowSet source) { super( source ); }
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetEvent.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetInternal.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetInternal.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetInternal.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetInternal.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.Connection;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+public interface RowSetInternal
+{
+ public Connection getConnection() throws SQLException;
+ public ResultSet getOriginal() throws SQLException;
+ public ResultSet getOriginalRow() throws SQLException;
+ public Object[] getParams() throws SQLException;
+ public void setMetaData(RowSetMetaData md) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetInternal.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetListener.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetListener.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetListener.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetListener.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+public interface RowSetListener extends java.util.EventListener
+{
+ public void cursorMoved(RowSetEvent event);
+ public void rowChanged(RowSetEvent event);
+ public void rowSetChanged(RowSetEvent event);
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetMetaData.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetMetaData.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetMetaData.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.ResultSetMetaData;
+import java.sql.SQLException;
+
+public interface RowSetMetaData extends ResultSetMetaData
+{
+ public void setAutoIncrement(int columnIndex, boolean property) throws SQLException;
+ public void setCaseSensitive(int columnIndex, boolean property) throws SQLException;
+ public void setCatalogName(int columnIndex, String catalogName) throws SQLException;
+ public void setColumnCount(int columnCount) throws SQLException;
+ public void setColumnDisplaySize(int columnIndex, int size) throws SQLException;
+ public void setColumnLabel(int columnIndex, String label) throws SQLException;
+ public void setColumnName(int columnIndex, String columnName) throws SQLException;
+ public void setColumnType(int columnIndex, int SQLType) throws SQLException;
+ public void setColumnTypeName(int columnIndex, String typeName) throws SQLException;
+ public void setCurrency(int columnIndex, boolean property) throws SQLException;
+ public void setNullable(int columnIndex, int property) throws SQLException;
+ public void setPrecision(int columnIndex, int precision) throws SQLException;
+ public void setScale(int columnIndex, int scale) throws SQLException;
+ public void setSchemaName(int columnIndex, String schemaName) throws SQLException;
+ public void setSearchable(int columnIndex, boolean property) throws SQLException;
+ public void setSigned(int columnIndex, boolean property) throws SQLException;
+ public void setTableName(int columnIndex, String tableName) throws SQLException;
+
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetMetaData.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetReader.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetReader.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetReader.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetReader.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public interface RowSetReader
+{
+ public void readData(RowSetInternal caller) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetReader.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetWriter.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetWriter.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetWriter.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetWriter.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public interface RowSetWriter
+{
+ public boolean writeData(RowSetInternal caller) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/RowSetWriter.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEvent.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEvent.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEvent.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEvent.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.PreparedStatement;
+import java.sql.SQLException;
+
+public class StatementEvent extends java.util.EventObject
+{
+ public StatementEvent(PooledConnection con, PreparedStatement statement) { super( con ); }
+ public StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception) { super( con ); }
+
+ public SQLException getSQLException() { return null; }
+ public PreparedStatement getStatement() { return null; }
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEvent.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEventListener.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEventListener.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEventListener.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEventListener.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+public interface StatementEventListener extends java.util.EventListener
+{
+ public void statementClosed(StatementEvent event);
+ public void statementErrorOccurred(StatementEvent event);
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/StatementEventListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XAConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XAConnection.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XAConnection.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XAConnection.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public interface XAConnection extends PooledConnection
+{
+ public javax.transaction.xa.XAResource getXAResource() throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XAConnection.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XADataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XADataSource.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XADataSource.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XADataSource.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql;
+
+import java.sql.SQLException;
+
+public interface XADataSource extends CommonDataSource
+{
+ public XAConnection getXAConnection() throws SQLException;
+ public XAConnection getXAConnection(String user, String password) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/XADataSource.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/BaseRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/BaseRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/BaseRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/BaseRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,181 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.math.BigDecimal;
+import java.net.URL;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Date;
+import java.sql.NClob;
+import java.sql.RowId;
+import java.sql.Ref;
+import java.sql.SQLException;
+import java.sql.SQLXML;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.util.Calendar;
+import java.util.Map;
+import javax.sql.RowSetListener;
+
+public abstract class BaseRowSet implements Cloneable, java.io.Serializable
+{
+ public static final int ASCII_STREAM_PARAM = 2;
+ public static final int BINARY_STREAM_PARAM = 1;
+ public static final int UNICODE_STREAM_PARAM = 0;
+
+ protected java.io.InputStream binaryStream;
+ protected java.io.InputStream unicodeStream;
+ protected java.io.InputStream asciiStream;
+ protected java.io.Reader charStream;
+
+ public BaseRowSet() {}
+
+ public void addRowSetListener(RowSetListener listener) {}
+ public void clearParameters() throws SQLException {}
+ public String getCommand() { return null; }
+ public int getConcurrency() throws SQLException { return 0; }
+ public String getDataSourceName() { return null; }
+ public boolean getEscapeProcessing() throws SQLException { return false; }
+ public int getFetchDirection() throws SQLException { return 0; }
+ public int getFetchSize() throws SQLException { return 0; }
+ public int getMaxFieldSize() throws SQLException { return 0; }
+ public int getMaxRows() throws SQLException { return 0; }
+ public Object[] getParams() throws SQLException { return null; }
+ public String getPassword() { return null; }
+ public int getQueryTimeout() throws SQLException { return 0; }
+ public boolean getShowDeleted() throws SQLException { return false; }
+ public int getTransactionIsolation() { return 0; }
+ public int getType() throws SQLException { return 0; }
+ public Map<String,Class<?>> getTypeMap() { return null; }
+ public String getUrl() throws SQLException { return null; }
+ public String getUsername() { return null; }
+ protected void initParams() {}
+ public boolean isReadOnly() { return false; }
+ protected void notifyCursorMoved() throws SQLException {}
+ protected void notifyRowChanged() throws SQLException {}
+ protected void notifyRowSetChanged() throws SQLException {}
+ public void removeRowSetListener(RowSetListener listener) {}
+ public void setArray(int parameterIndex, Array array) throws SQLException {}
+ public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {}
+ public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {}
+ public void setAsciiStream(String parameterName, InputStream x) throws SQLException {}
+ public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException {}
+ public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException {}
+ public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException {}
+ public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {}
+ public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {}
+ public void setBinaryStream(String parameterName, InputStream x) throws SQLException {}
+ public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException {}
+ public void setBlob(int parameterIndex, Blob x) throws SQLException {}
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {}
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {}
+ public void setBlob(String parameterName, Blob x) throws SQLException {}
+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException {}
+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException {}
+ public void setBoolean(int parameterIndex, boolean x) throws SQLException {}
+ public void setBoolean(String parameterName, boolean x) throws SQLException {}
+ public void setByte(int parameterIndex, byte x) throws SQLException {}
+ public void setByte(String parameterName, byte x) throws SQLException {}
+ public void setBytes(int parameterIndex, byte[] x) throws SQLException {}
+ public void setBytes(String parameterName, byte[] x) throws SQLException {}
+ public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {}
+ public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {}
+ public void setCharacterStream(String parameterName, Reader reader) throws SQLException {}
+ public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException {}
+ public void setClob(int parameterIndex, Clob x) throws SQLException {}
+ public void setClob(int parameterIndex, Reader reader) throws SQLException {}
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {}
+ public void setClob(String parameterName, Clob x) throws SQLException {}
+ public void setClob(String parameterName, Reader reader) throws SQLException {}
+ public void setClob(String parameterName, Reader reader, long length) throws SQLException {}
+ public void setCommand(String cmd) throws SQLException {}
+ public void setConcurrency(int concurrency) throws SQLException {}
+ public void setDataSourceName(String name) throws SQLException {}
+ public void setDate(int parameterIndex, Date x) throws SQLException {}
+ public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException {}
+ public void setDate(String parameterName, Date x) throws SQLException {}
+ public void setDate(String parameterName, Date x, Calendar cal) throws SQLException {}
+ public void setDouble(int parameterIndex, double x) throws SQLException {}
+ public void setDouble(String parameterName, double x) throws SQLException {}
+ public void setEscapeProcessing(boolean enable) throws SQLException {}
+ public void setFetchDirection(int direction) throws SQLException {}
+ public void setFetchSize(int rows) throws SQLException {}
+ public void setFloat(int parameterIndex, float x) throws SQLException {}
+ public void setFloat(String parameterName, float x) throws SQLException {}
+ public void setInt(int parameterIndex, int x) throws SQLException {}
+ public void setInt(String parameterName, int x) throws SQLException {}
+ public void setLong(int parameterIndex, long x) throws SQLException {}
+ public void setLong(String parameterName, long x) throws SQLException {}
+ public void setMaxFieldSize(int max) throws SQLException {}
+ public void setMaxRows(int max) throws SQLException {}
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {}
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {}
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException {}
+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {}
+ public void setNClob(int parameterIndex, NClob value) throws SQLException {}
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException {}
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {}
+ public void setNClob(String parameterName, NClob value) throws SQLException {}
+ public void setNClob(String parameterName, Reader reader) throws SQLException {}
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {}
+ public void setNString(int parameterIndex, String value) throws SQLException {}
+ public void setNString(String parameterName, String value) throws SQLException {}
+ public void setNull(int parameterIndex, int sqlType) throws SQLException {}
+ public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException {}
+ public void setNull(String parameterName, int sqlType) throws SQLException {}
+ public void setNull(String parameterName, int sqlType, String typeName) throws SQLException {}
+ public void setObject(int parameterIndex, Object x) throws SQLException {}
+ public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {}
+ public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException {}
+ public void setObject(String parameterName, Object x) throws SQLException {}
+ public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException {}
+ public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException {}
+ public void setPassword(String pass) {}
+ public void setQueryTimeout(int seconds) throws SQLException {}
+ public void setReadOnly(boolean value) {}
+ public void setRef(int parameterIndex, Ref ref) throws SQLException {}
+ public void setRowId(int parameterIndex, RowId x) throws SQLException {}
+ public void setRowId(String parameterName, RowId x) throws SQLException {}
+ public void setShort(int parameterIndex, short x) throws SQLException {}
+ public void setShort(String parameterName, short x) throws SQLException {}
+ public void setShowDeleted(boolean value) throws SQLException {}
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {}
+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {}
+ public void setString(int parameterIndex, String x) throws SQLException {}
+ public void setString(String parameterName, String x) throws SQLException {}
+ public void setTime(int parameterIndex, Time x) throws SQLException {}
+ public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {}
+ public void setTime(String parameterName, Time x) throws SQLException {}
+ public void setTime(String parameterName, Time x, Calendar cal) throws SQLException {}
+ public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {}
+ public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {}
+ public void setTimestamp(String parameterName, Timestamp x) throws SQLException {}
+ public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException {}
+ public void setTransactionIsolation(int level) throws SQLException {}
+ public void setType(int type) throws SQLException {}
+ public void setTypeMap(Map<String,Class<?>> map) {}
+ public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException {}
+ public void setURL(int parameterIndex, URL x) throws SQLException {}
+ public void setUrl(String url) throws SQLException {}
+ public void setUsername(String name) {}
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/BaseRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/CachedRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/CachedRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/CachedRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/CachedRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,80 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.Connection;
+import java.sql.ResultSet;
+import java.sql.Savepoint;
+import java.sql.SQLException;
+import java.util.Collection;
+import javax.sql.RowSet;
+import javax.sql.RowSetEvent;
+import javax.sql.RowSetMetaData;
+import javax.sql.RowSetReader;
+import javax.sql.RowSetWriter;
+import javax.sql.rowset.spi.SyncProvider;
+import javax.sql.rowset.spi.SyncResolver;
+
+public interface CachedRowSet extends Joinable, RowSet
+{
+ public static final boolean COMMIT_ON_ACCEPT_CHANGES = true;
+
+ public void acceptChanges() throws SQLException;
+ public void acceptChanges(Connection con) throws SQLException;
+ public boolean columnUpdated(int idx) throws SQLException;
+ public boolean columnUpdated(String columnName) throws SQLException;
+ public void commit() throws SQLException;
+ public CachedRowSet createCopy() throws SQLException;
+ public CachedRowSet createCopyNoConstraints() throws SQLException;
+ public CachedRowSet createCopySchema() throws SQLException;
+ public RowSet createShared() throws SQLException;
+ public void execute(Connection conn) throws SQLException;
+ public int[] getKeyColumns() throws SQLException;
+ public ResultSet getOriginal() throws SQLException;
+ public ResultSet getOriginalRow() throws SQLException;
+ public int getPageSize() throws SQLException;
+ public RowSetWarning getRowSetWarnings() throws SQLException;
+ public boolean getShowDeleted() throws SQLException;
+ public SyncProvider getSyncProvider() throws SQLException;
+ public String getTableName() throws SQLException;
+ public boolean nextPage() throws SQLException;
+ public void populate(ResultSet data) throws SQLException;
+ public void populate(ResultSet rs, int startRow) throws SQLException;
+ public boolean previousPage() throws SQLException;
+ public void release() throws SQLException;
+ public void restoreOriginal() throws SQLException;
+ public void rollback() throws SQLException;
+ public void rollback(Savepoint s) throws SQLException;
+ public void rowSetPopulated(RowSetEvent event, int numRows) throws SQLException;
+ public void setKeyColumns(int[] keys) throws SQLException;
+ public void setMetaData(RowSetMetaData md) throws SQLException;
+ public void setOriginalRow() throws SQLException;
+ public void setPageSize(int size) throws SQLException;
+ public void setShowDeleted(boolean b) throws SQLException;
+ public void setSyncProvider(String provider) throws SQLException;
+ public void setTableName(String tabName) throws SQLException;
+ public int size() throws SQLException;
+ public Collection<?> toCollection() throws SQLException;
+ public Collection<?> toCollection(int column) throws SQLException;
+ public Collection<?> toCollection(String column) throws SQLException;
+ public void undoDelete() throws SQLException;
+ public void undoInsert() throws SQLException;
+ public void undoUpdate() throws SQLException;
+
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/CachedRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/FilteredRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/FilteredRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/FilteredRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/FilteredRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+
+public interface FilteredRowSet extends WebRowSet
+{
+ public Predicate getFilter();
+ public void setFilter(Predicate p) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/FilteredRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JdbcRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JdbcRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JdbcRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JdbcRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.Savepoint;
+import java.sql.SQLException;
+import javax.sql.RowSet;
+
+public interface JdbcRowSet extends Joinable, RowSet
+{
+ public void commit() throws SQLException;
+ public boolean getAutoCommit() throws SQLException;
+ public RowSetWarning getRowSetWarnings() throws SQLException;
+ public boolean getShowDeleted() throws SQLException;
+ public void rollback() throws SQLException;
+ public void rollback(Savepoint s) throws SQLException;
+ public void setAutoCommit(boolean autoCommit) throws SQLException;
+ public void setShowDeleted(boolean b) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JdbcRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JoinRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JoinRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JoinRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JoinRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+import java.util.Collection;
+import javax.sql.RowSet;
+
+public interface JoinRowSet extends WebRowSet
+{
+ public static int CROSS_JOIN = 0;
+ public static int FULL_JOIN = 4;
+ public static int INNER_JOIN = 1;
+ public static int LEFT_OUTER_JOIN = 2;
+ public static int RIGHT_OUTER_JOIN = 3;
+
+ public void addRowSet(Joinable rowset) throws SQLException;
+ public void addRowSet(RowSet[] rowset, int[] columnIdx) throws SQLException;
+ public void addRowSet(RowSet[] rowset, String[] columnName) throws SQLException;
+ public void addRowSet(RowSet rowset, int columnIdx) throws SQLException;
+ public void addRowSet(RowSet rowset, String columnName) throws SQLException;
+ public int getJoinType() throws SQLException;
+ public String[] getRowSetNames() throws SQLException;
+ public Collection<?> getRowSets() throws SQLException;
+ public String getWhereClause() throws SQLException;
+ public void setJoinType(int joinType) throws SQLException;
+ public boolean supportsCrossJoin();
+ public boolean supportsFullJoin();
+ public boolean supportsInnerJoin();
+ public boolean supportsLeftOuterJoin();
+ public boolean supportsRightOuterJoin();
+ public CachedRowSet toCachedRowSet() throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/JoinRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Joinable.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Joinable.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Joinable.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Joinable.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+
+public interface Joinable
+{
+ public int[] getMatchColumnIndexes() throws SQLException;
+ public String[] getMatchColumnNames() throws SQLException;
+ public void setMatchColumn(int columnIdx) throws SQLException;
+ public void setMatchColumn(int[] columnIdxes) throws SQLException;
+ public void setMatchColumn(String columnName) throws SQLException;
+ public void setMatchColumn(String[] columnNames) throws SQLException;
+ public void unsetMatchColumn(int columnIdx) throws SQLException;
+ public void unsetMatchColumn(int[] columnIdxes) throws SQLException;
+ public void unsetMatchColumn(String columnName) throws SQLException;
+ public void unsetMatchColumn(String[] columnName) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Joinable.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Predicate.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Predicate.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Predicate.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Predicate.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+import javax.sql.RowSet;
+
+public interface Predicate
+{
+ public boolean evaluate(Object value, int column) throws SQLException;
+ public boolean evaluate(Object value, String columnName) throws SQLException;
+ public boolean evaluate(RowSet rs);
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/Predicate.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetMetaDataImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetMetaDataImpl.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetMetaDataImpl.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetMetaDataImpl.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+import javax.sql.RowSetMetaData;
+
+public class RowSetMetaDataImpl implements RowSetMetaData
+{
+ public RowSetMetaDataImpl() {}
+
+ public String getCatalogName(int columnIndex) throws SQLException { return null; }
+ public String getColumnClassName(int columnIndex) throws SQLException { return null; }
+ public int getColumnCount() throws SQLException { return 0; }
+ public int getColumnDisplaySize(int columnIndex) throws SQLException { return 0; }
+ public String getColumnLabel(int columnIndex) throws SQLException { return null; }
+ public String getColumnName(int columnIndex) throws SQLException { return null; }
+ public int getColumnType(int columnIndex) throws SQLException { return 0; }
+ public String getColumnTypeName(int columnIndex) throws SQLException { return null; }
+ public int getPrecision(int columnIndex) throws SQLException { return 0; }
+ public int getScale(int columnIndex) throws SQLException { return 0; }
+ public String getSchemaName(int columnIndex) throws SQLException { return null; }
+ public String getTableName(int columnIndex) throws SQLException { return null; }
+ public boolean isAutoIncrement(int columnIndex) throws SQLException { return false; }
+ public boolean isCaseSensitive(int columnIndex) throws SQLException { return false; }
+ public boolean isCurrency(int columnIndex) throws SQLException { return false; }
+ public boolean isDefinitelyWritable(int columnIndex) throws SQLException { return false; }
+ public int isNullable(int columnIndex) throws SQLException { return 0; }
+ public boolean isReadOnly(int columnIndex) throws SQLException { return false; }
+ public boolean isSearchable(int columnIndex) throws SQLException { return false; }
+ public boolean isSigned(int columnIndex) throws SQLException { return false; }
+ public boolean isWrapperFor(Class<?> interfaces) throws SQLException { return false; }
+ public boolean isWritable(int columnIndex) throws SQLException { return false; }
+ public void setAutoIncrement(int columnIndex, boolean property) throws SQLException {}
+ public void setCaseSensitive(int columnIndex, boolean property) throws SQLException {}
+ public void setCatalogName(int columnIndex, String catalogName) throws SQLException {}
+ public void setColumnCount(int columnCount) throws SQLException {}
+ public void setColumnDisplaySize(int columnIndex, int size) throws SQLException {}
+ public void setColumnLabel(int columnIndex, String label) throws SQLException {}
+ public void setColumnName(int columnIndex, String columnName) throws SQLException {}
+ public void setColumnType(int columnIndex, int SQLType) throws SQLException {}
+ public void setColumnTypeName(int columnIndex, String typeName) throws SQLException {}
+ public void setCurrency(int columnIndex, boolean property) throws SQLException {}
+ public void setNullable(int columnIndex, int property) throws SQLException {}
+ public void setPrecision(int columnIndex, int precision) throws SQLException {}
+ public void setScale(int columnIndex, int scale) throws SQLException {}
+ public void setSchemaName(int columnIndex, String schemaName) throws SQLException {}
+ public void setSearchable(int columnIndex, boolean property) throws SQLException {}
+ public void setSigned(int columnIndex, boolean property) throws SQLException {}
+ public void setTableName(int columnIndex, String tableName) throws SQLException {}
+ public <T> T unwrap(Class<T> iface) throws SQLException { return null; }
+
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetMetaDataImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetWarning.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetWarning.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetWarning.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetWarning.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.sql.SQLException;
+
+public class RowSetWarning extends SQLException
+{
+ public RowSetWarning() {}
+ public RowSetWarning(String reason) {}
+ public RowSetWarning(String reason, String SQLState) {}
+ public RowSetWarning(String reason, String SQLState, int vendorCode) {}
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/RowSetWarning.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/WebRowSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/WebRowSet.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/WebRowSet.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/WebRowSet.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset;
+
+import java.io.InputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.Reader;
+import java.io.Writer;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+public interface WebRowSet extends CachedRowSet
+{
+ public static String PUBLIC_XML_SCHEMA = "--//Sun Microsystems, Inc.//XSD Schema//EN";
+ public static String SCHEMA_SYSTEM_ID = "http://java.sun.com/xml/ns/jdbc/webrowset.xsd";
+
+ public void readXml(InputStream iStream) throws SQLException, IOException;
+ public void readXml(Reader reader) throws SQLException;
+ public void writeXml(OutputStream oStream) throws SQLException, IOException;
+ public void writeXml(ResultSet rs, OutputStream oStream) throws SQLException, IOException;
+ public void writeXml(ResultSet rs, Writer writer) throws SQLException;
+ public void writeXml(Writer writer) throws SQLException;
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/WebRowSet.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLInputImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLInputImpl.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLInputImpl.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLInputImpl.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.math.BigDecimal;
+import java.net.URL;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Date;
+import java.sql.NClob;
+import java.sql.RowId;
+import java.sql.Ref;
+import java.sql.SQLException;
+import java.sql.SQLXML;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.sql.Struct;
+import java.sql.ResultSet;
+import java.sql.SQLData;
+import java.sql.SQLInput;
+import java.util.Calendar;
+import java.util.Map;
+
+public class SQLInputImpl implements SQLInput
+{
+ public SQLInputImpl(Object[] attributes, Map<String,Class<?>> map) throws SQLException {}
+
+ public Array readArray() throws SQLException { return null; }
+ public InputStream readAsciiStream() throws SQLException { return null; }
+ public BigDecimal readBigDecimal() throws SQLException { return null; }
+ public InputStream readBinaryStream() throws SQLException { return null; }
+ public Blob readBlob() throws SQLException { return null; }
+ public boolean readBoolean() throws SQLException { return false; }
+ public byte readByte() throws SQLException { return (byte) 0; }
+ public byte[] readBytes() throws SQLException { return null; }
+ public Reader readCharacterStream() throws SQLException { return null; }
+ public Clob readClob() throws SQLException { return null; }
+ public Date readDate() throws SQLException { return null; }
+ public double readDouble() throws SQLException { return 0.0; }
+ public float readFloat() throws SQLException { return (float) 0.0; }
+ public int readInt() throws SQLException { return 0; }
+ public long readLong() throws SQLException { return 0L; }
+ public NClob readNClob() throws SQLException { return null; }
+ public String readNString() throws SQLException { return null; }
+ public Object readObject() throws SQLException { return null; }
+ public Ref readRef() throws SQLException { return null; }
+ public RowId readRowId() throws SQLException { return null; }
+ public short readShort() throws SQLException { return (short) 0; }
+ public SQLXML readSQLXML() throws SQLException { return null; }
+ public String readString() throws SQLException { return null; }
+ public Time readTime() throws SQLException { return null; }
+ public Timestamp readTimestamp() throws SQLException { return null; }
+ public URL readURL() throws SQLException { return null; }
+ public boolean wasNull() throws SQLException { return false; }
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLInputImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLOutputImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLOutputImpl.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLOutputImpl.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLOutputImpl.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,74 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.math.BigDecimal;
+import java.net.URL;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Date;
+import java.sql.NClob;
+import java.sql.RowId;
+import java.sql.Ref;
+import java.sql.SQLException;
+import java.sql.SQLXML;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.sql.Struct;
+import java.sql.ResultSet;
+import java.sql.SQLData;
+import java.sql.SQLOutput;
+import java.util.Calendar;
+import java.util.Map;
+import java.util.Vector;
+
+public class SQLOutputImpl implements SQLOutput
+{
+ public SQLOutputImpl(Vector<?> attributes, Map<String,?> map) throws SQLException {}
+
+ public void writeArray(Array x) throws SQLException {}
+ public void writeAsciiStream(InputStream x) throws SQLException {}
+ public void writeBigDecimal(BigDecimal x) throws SQLException {}
+ public void writeBinaryStream(InputStream x) throws SQLException {}
+ public void writeBlob(Blob x) throws SQLException {}
+ public void writeBoolean(boolean x) throws SQLException {}
+ public void writeByte(byte x) throws SQLException {}
+ public void writeBytes(byte[] x) throws SQLException {}
+ public void writeCharacterStream(Reader x) throws SQLException {}
+ public void writeClob(Clob x) throws SQLException {}
+ public void writeDate(Date x) throws SQLException {}
+ public void writeDouble(double x) throws SQLException {}
+ public void writeFloat(float x) throws SQLException {}
+ public void writeInt(int x) throws SQLException {}
+ public void writeLong(long x) throws SQLException {}
+ public void writeNClob(NClob x) throws SQLException {}
+ public void writeNString(String x) throws SQLException {}
+ public void writeObject(SQLData x) throws SQLException {}
+ public void writeRef(Ref x) throws SQLException {}
+ public void writeRowId(RowId x) throws SQLException {}
+ public void writeShort(short x) throws SQLException {}
+ public void writeSQLXML(SQLXML x) throws SQLException {}
+ public void writeString(String x) throws SQLException {}
+ public void writeStruct(Struct x) throws SQLException {}
+ public void writeTime(Time x) throws SQLException {}
+ public void writeTimestamp(Timestamp x) throws SQLException {}
+ public void writeURL(URL url) throws SQLException {}
+}
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SQLOutputImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialArray.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialArray.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialArray.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialArray.java Tue Dec 9 07:06:09 2008
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.sql.Array;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Map;
+
+public class SerialArray implements Array, Cloneable, java.io.Serializable
+{
+ public SerialArray(Array array) throws SerialException, SQLException {}
+ public SerialArray(Array array, Map<String,Class<?>> map) throws SerialException, SQLException {}
+
+ public void free() throws SQLException {}
+ public Object getArray() throws SerialException { return null; }
+ public Object getArray(long index, int count) throws SerialException { return null; }
+ public Object getArray(long index, int count, Map<String,Class<?>> map) throws SerialException { return null; }
+ public Object getArray(Map<String,Class<?>> map) throws SerialException { return null; }
+ public int getBaseType() throws SerialException { return 0; }
+ public String getBaseTypeName() throws SerialException { return null; }
+ public ResultSet getResultSet() throws SerialException { return null; }
+ public ResultSet getResultSet(long index, int count) throws SerialException { return null; }
+ public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SerialException { return null; }
+ public ResultSet getResultSet(Map<String,Class<?>> map) throws SerialException { return null; }
+}
+
Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialArray.java
------------------------------------------------------------------------------
svn:eol-style = native
|