Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSet.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSet.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSet.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSet.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,227 @@ +/* + * 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 java.sql; + +import java.io.InputStream; +import java.io.Reader; +import java.math.BigDecimal; +import java.net.URL; +import java.util.Calendar; +import java.util.Map; + +public interface ResultSet extends Wrapper +{ + int CLOSE_CURSORS_AT_COMMIT = 2; + int CONCUR_READ_ONLY = 1007; + int CONCUR_UPDATABLE = 1008; + int FETCH_FORWARD = 1000; + int FETCH_REVERSE = 1001; + int FETCH_UNKNOWN = 1002; + int HOLD_CURSORS_OVER_COMMIT = 1; + int TYPE_FORWARD_ONLY = 1003; + int TYPE_SCROLL_INSENSITIVE = 1004; + int TYPE_SCROLL_SENSITIVE = 1005; + + public boolean absolute(int row) throws SQLException; + public void afterLast() throws SQLException; + public void beforeFirst() throws SQLException; + public void cancelRowUpdates() throws SQLException; + public void clearWarnings() throws SQLException; + public void close() throws SQLException; + public void deleteRow() throws SQLException; + public int findColumn(String columnLabel) throws SQLException; + public boolean first() throws SQLException; + public Array getArray(int columnIndex) throws SQLException; + public Array getArray(String columnLabel) throws SQLException; + public InputStream getAsciiStream(int columnIndex) throws SQLException; + public InputStream getAsciiStream(String columnLabel) throws SQLException; + public BigDecimal getBigDecimal(int columnIndex) throws SQLException; + public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException; + public BigDecimal getBigDecimal(String columnLabel) throws SQLException; + public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException; + public InputStream getBinaryStream(int columnIndex) throws SQLException; + public InputStream getBinaryStream(String columnLabel) throws SQLException; + public Blob getBlob(int columnIndex) throws SQLException; + public Blob getBlob(String columnLabel) throws SQLException; + public boolean getBoolean(int columnIndex) throws SQLException; + public boolean getBoolean(String columnLabel) throws SQLException; + public byte getByte(int columnIndex) throws SQLException; + public byte getByte(String columnLabel) throws SQLException; + public byte[] getBytes(int columnIndex) throws SQLException; + public byte[] getBytes(String columnLabel) throws SQLException; + public Reader getCharacterStream(int columnIndex) throws SQLException; + public Reader getCharacterStream(String columnLabel) throws SQLException; + public Clob getClob(int columnIndex) throws SQLException; + public Clob getClob(String columnLabel) throws SQLException; + public int getConcurrency() throws SQLException; + public String getCursorName() throws SQLException; + public Date getDate(int columnIndex) throws SQLException; + public Date getDate(int columnIndex, Calendar cal) throws SQLException; + public Date getDate(String columnLabel) throws SQLException; + public Date getDate(String columnLabel, Calendar cal) throws SQLException; + public double getDouble(int columnIndex) throws SQLException; + public double getDouble(String columnLabel) throws SQLException; + public int getFetchDirection() throws SQLException; + public int getFetchSize() throws SQLException; + public float getFloat(int columnIndex) throws SQLException; + public float getFloat(String columnLabel) throws SQLException; + public int getHoldability() throws SQLException; + public int getInt(int columnIndex) throws SQLException; + public int getInt(String columnLabel) throws SQLException; + public long getLong(int columnIndex) throws SQLException; + public long getLong(String columnLabel) throws SQLException; + public ResultSetMetaData getMetaData() throws SQLException; + public Reader getNCharacterStream(int columnIndex) throws SQLException; + public Reader getNCharacterStream(String columnLabel) throws SQLException; + public NClob getNClob(int columnIndex) throws SQLException; + public NClob getNClob(String columnLabel) throws SQLException; + public String getNString(int columnIndex) throws SQLException; + public String getNString(String columnLabel) throws SQLException; + public Object getObject(int columnIndex) throws SQLException; + public Object getObject(int columnIndex, Map> map) throws SQLException; + public Object getObject(String columnLabel) throws SQLException; + public Object getObject(String columnLabel, Map> map) throws SQLException; + public Ref getRef(int columnIndex) throws SQLException; + public Ref getRef(String columnLabel) throws SQLException; + public int getRow() throws SQLException; + public RowId getRowId(int columnIndex) throws SQLException; + public RowId getRowId(String columnLabel) throws SQLException; + public short getShort(int columnIndex) throws SQLException; + public short getShort(String columnLabel) throws SQLException; + public SQLXML getSQLXML(int columnIndex) throws SQLException; + public SQLXML getSQLXML(String columnLabel) throws SQLException; + public Statement getStatement() throws SQLException; + public String getString(int columnIndex) throws SQLException; + public String getString(String columnLabel) throws SQLException; + public Time getTime(int columnIndex) throws SQLException; + public Time getTime(int columnIndex, Calendar cal) throws SQLException; + public Time getTime(String columnLabel) throws SQLException; + public Time getTime(String columnLabel, Calendar cal) throws SQLException; + public Timestamp getTimestamp(int columnIndex) throws SQLException; + public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException; + public Timestamp getTimestamp(String columnLabel) throws SQLException; + public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException; + public int getType() throws SQLException; + public InputStream getUnicodeStream(int columnIndex) throws SQLException; + public InputStream getUnicodeStream(String columnLabel) throws SQLException; + public URL getURL(int columnIndex) throws SQLException; + public URL getURL(String columnLabel) throws SQLException; + public SQLWarning getWarnings() throws SQLException; + public void insertRow() throws SQLException; + public boolean isAfterLast() throws SQLException; + public boolean isBeforeFirst() throws SQLException; + public boolean isClosed() throws SQLException; + public boolean isFirst() throws SQLException; + public boolean isLast() throws SQLException; + public boolean last() throws SQLException; + public void moveToCurrentRow() throws SQLException; + public void moveToInsertRow() throws SQLException; + public boolean next() throws SQLException; + public boolean previous() throws SQLException; + public void refreshRow() throws SQLException; + public boolean relative(int rows) throws SQLException; + public boolean rowDeleted() throws SQLException; + public boolean rowInserted() throws SQLException; + public boolean rowUpdated() throws SQLException; + public void setFetchDirection(int direction) throws SQLException; + public void setFetchSize(int rows) throws SQLException; + public void updateArray(int columnIndex, Array x) throws SQLException; + public void updateArray(String columnLabel, Array x) throws SQLException; + public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException; + public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException; + public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException; + public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException; + public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException; + public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException; + public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException; + public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException; + public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException; + public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException; + public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException; + public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException; + public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException; + public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException; + public void updateBlob(int columnIndex, Blob x) throws SQLException; + public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException; + public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException; + public void updateBlob(String columnLabel, Blob x) throws SQLException; + public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException; + public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException; + public void updateBoolean(int columnIndex, boolean x) throws SQLException; + public void updateBoolean(String columnLabel, boolean x) throws SQLException; + public void updateByte(int columnIndex, byte x) throws SQLException; + public void updateByte(String columnLabel, byte x) throws SQLException; + public void updateBytes(int columnIndex, byte[] x) throws SQLException; + public void updateBytes(String columnLabel, byte[] x) throws SQLException; + public void updateCharacterStream(int columnIndex, Reader x) throws SQLException; + public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException; + public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException; + public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException; + public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException; + public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException; + public void updateClob(int columnIndex, Clob x) throws SQLException; + public void updateClob(int columnIndex, Reader reader) throws SQLException; + public void updateClob(int columnIndex, Reader reader, long length) throws SQLException; + public void updateClob(String columnLabel, Clob x) throws SQLException; + public void updateClob(String columnLabel, Reader reader) throws SQLException; + public void updateClob(String columnLabel, Reader reader, long length) throws SQLException; + public void updateDate(int columnIndex, Date x) throws SQLException; + public void updateDate(String columnLabel, Date x) throws SQLException; + public void updateDouble(int columnIndex, double x) throws SQLException; + public void updateDouble(String columnLabel, double x) throws SQLException; + public void updateFloat(int columnIndex, float x) throws SQLException; + public void updateFloat(String columnLabel, float x) throws SQLException; + public void updateInt(int columnIndex, int x) throws SQLException; + public void updateInt(String columnLabel, int x) throws SQLException; + public void updateLong(int columnIndex, long x) throws SQLException; + public void updateLong(String columnLabel, long x) throws SQLException; + public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException; + public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException; + public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException; + public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException; + public void updateNClob(int columnIndex, NClob nClob) throws SQLException; + public void updateNClob(int columnIndex, Reader reader) throws SQLException; + public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException; + public void updateNClob(String columnLabel, NClob nClob) throws SQLException; + public void updateNClob(String columnLabel, Reader reader) throws SQLException; + public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException; + public void updateNString(int columnIndex, String nString) throws SQLException; + public void updateNString(String columnLabel, String nString) throws SQLException; + public void updateNull(int columnIndex) throws SQLException; + public void updateNull(String columnLabel) throws SQLException; + public void updateObject(int columnIndex, Object x) throws SQLException; + public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException; + public void updateObject(String columnLabel, Object x) throws SQLException; + public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException; + public void updateRef(int columnIndex, Ref x) throws SQLException; + public void updateRef(String columnLabel, Ref x) throws SQLException; + public void updateRow() throws SQLException; + public void updateRowId(int columnIndex, RowId x) throws SQLException; + public void updateRowId(String columnLabel, RowId x) throws SQLException; + public void updateShort(int columnIndex, short x) throws SQLException; + public void updateShort(String columnLabel, short x) throws SQLException; + public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException; + public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException; + public void updateString(int columnIndex, String x) throws SQLException; + public void updateString(String columnLabel, String x) throws SQLException; + public void updateTime(int columnIndex, Time x) throws SQLException; + public void updateTime(String columnLabel, Time x) throws SQLException; + public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException; + public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException; + public boolean wasNull() throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSet.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSetMetaData.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSetMetaData.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSetMetaData.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSetMetaData.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,48 @@ +/* + * 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 java.sql; + +public interface ResultSetMetaData extends Wrapper +{ + int columnNoNulls = 0; + int columnNullable = 1; + int columnNullableUnknown = 2; + + public String getCatalogName(int column) throws SQLException; + public String getColumnClassName(int column) throws SQLException; + public int getColumnCount() throws SQLException; + public int getColumnDisplaySize(int column) throws SQLException; + public String getColumnLabel(int column) throws SQLException; + public String getColumnName(int column) throws SQLException; + public int getColumnType(int column) throws SQLException; + public String getColumnTypeName(int column) throws SQLException; + public int getPrecision(int column) throws SQLException; + public int getScale(int column) throws SQLException; + public String getSchemaName(int column) throws SQLException; + public String getTableName(int column) throws SQLException; + public boolean isAutoIncrement(int column) throws SQLException; + public boolean isCaseSensitive(int column) throws SQLException; + public boolean isCurrency(int column) throws SQLException; + public boolean isDefinitelyWritable(int column) throws SQLException; + public int isNullable(int column) throws SQLException; + public boolean isReadOnly(int column) throws SQLException; + public boolean isSearchable(int column) throws SQLException; + public boolean isSigned(int column) throws SQLException; + public boolean isWritable(int column) throws SQLException; + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ResultSetMetaData.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowId.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowId.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowId.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowId.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 java.sql; + +public interface RowId +{ + public boolean equals(Object obj); + public byte[] getBytes(); + public int hashCode(); + public String toString(); +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowId.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowIdLifetime.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowIdLifetime.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowIdLifetime.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowIdLifetime.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 java.sql; + +public enum RowIdLifetime +{ + ROWID_UNSUPPORTED, + ROWID_VALID_FOREVER, + ROWID_VALID_OTHER, + ROWID_VALID_SESSION, + ROWID_VALID_TRANSACTION; +} + Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/RowIdLifetime.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLClientInfoException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLClientInfoException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLClientInfoException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLClientInfoException.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 java.sql; + +import java.util.Map; + +public class SQLClientInfoException extends SQLException +{ + public SQLClientInfoException() {} + public SQLClientInfoException(Map failedProperties) {} + public SQLClientInfoException(Map failedProperties, Throwable cause) {} + public SQLClientInfoException(String reason, Map failedProperties) {} + public SQLClientInfoException(String reason, Map failedProperties, Throwable cause) {} + public SQLClientInfoException(String reason, String SQLState, int vendorCode, Map failedProperties) {} + public SQLClientInfoException(String reason, String SQLState, int vendorCode, Map failedProperties, Throwable cause) {} + public SQLClientInfoException(String reason, String SQLState, Map failedProperties) {} + public SQLClientInfoException(String reason, String SQLState, Map failedProperties, Throwable cause) {} + + public Map getFailedProperties() { return null; } +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLClientInfoException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLData.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLData.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLData.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLData.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 java.sql; + +public interface SQLData +{ + public String getSQLTypeName() throws SQLException; + public void readSQL(SQLInput stream, String typeName) throws SQLException; + public void writeSQL(SQLOutput stream) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLData.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLDataException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLDataException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLDataException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLDataException.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 java.sql; + +public class SQLDataException extends SQLNonTransientException +{ + public SQLDataException() { } + public SQLDataException(String reason) { } + public SQLDataException(String reason, String SQLState) { } + public SQLDataException(String reason, String SQLState, int vendorCode) { } + public SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause) { } + public SQLDataException(String reason, String SQLState, Throwable cause) { } + public SQLDataException(String reason, Throwable cause) { } + public SQLDataException(Throwable cause) { } + + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLDataException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLException.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 java.sql; + +import java.util.Iterator; + +public class SQLException extends Exception implements Iterable +{ + public SQLException() {} + public SQLException(String reason) {} + public SQLException(String reason, String SQLState) {} + public SQLException(String reason, String SQLState, int vendorCode) {} + public SQLException(String reason, String sqlState, int vendorCode, Throwable cause) {} + public SQLException(String reason, String sqlState, Throwable cause) {} + public SQLException(String reason, Throwable cause) {} + public SQLException(Throwable cause) {} + + public int getErrorCode() { return 0; } + public SQLException getNextException() { return null; } + public String getSQLState() { return null; } + public Iterator iterator() { return null; } + public void setNextException(SQLException ex) { } + +} + Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLFeatureNotSupportedException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLFeatureNotSupportedException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLFeatureNotSupportedException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLFeatureNotSupportedException.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 java.sql; + +public class SQLFeatureNotSupportedException extends SQLNonTransientException +{ + public SQLFeatureNotSupportedException() {} + public SQLFeatureNotSupportedException(String reason) {} + public SQLFeatureNotSupportedException(String reason, String SQLState) {} + public SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode) {} + public SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause) {} + public SQLFeatureNotSupportedException(String reason, Throwable cause) {} + public SQLFeatureNotSupportedException(Throwable cause) {} + + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLFeatureNotSupportedException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInput.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInput.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInput.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInput.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 java.sql; + +public interface SQLInput +{ + public Array readArray() throws SQLException; + public java.io.InputStream readAsciiStream() throws SQLException; + public java.math.BigDecimal readBigDecimal() throws SQLException; + public java.io.InputStream readBinaryStream() throws SQLException; + public Blob readBlob() throws SQLException; + public boolean readBoolean() throws SQLException; + public byte readByte() throws SQLException; + public byte[] readBytes() throws SQLException; + public java.io.Reader readCharacterStream() throws SQLException; + public Clob readClob() throws SQLException; + public Date readDate() throws SQLException; + public double readDouble() throws SQLException; + public float readFloat() throws SQLException; + public int readInt() throws SQLException; + public long readLong() throws SQLException; + public NClob readNClob() throws SQLException; + public String readNString() throws SQLException; + public Object readObject() throws SQLException; + public Ref readRef() throws SQLException; + public RowId readRowId() throws SQLException; + public short readShort() throws SQLException; + public SQLXML readSQLXML() throws SQLException; + public String readString() throws SQLException; + public Time readTime() throws SQLException; + public Timestamp readTimestamp() throws SQLException; + public java.net.URL readURL() throws SQLException; + public boolean wasNull() throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInput.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLIntegrityConstraintViolationException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLIntegrityConstraintViolationException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLIntegrityConstraintViolationException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLIntegrityConstraintViolationException.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 java.sql; + +public class SQLIntegrityConstraintViolationException extends SQLNonTransientException +{ + public SQLIntegrityConstraintViolationException() {} + public SQLIntegrityConstraintViolationException(String reason) {} + public SQLIntegrityConstraintViolationException(String reason, String SQLState) {} + public SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode) {} + public SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause) {} + public SQLIntegrityConstraintViolationException(String reason, Throwable cause) {} + public SQLIntegrityConstraintViolationException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLIntegrityConstraintViolationException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInvalidAuthorizationSpecException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInvalidAuthorizationSpecException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInvalidAuthorizationSpecException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInvalidAuthorizationSpecException.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 java.sql; + +public class SQLInvalidAuthorizationSpecException extends SQLNonTransientException +{ + public SQLInvalidAuthorizationSpecException() {} + public SQLInvalidAuthorizationSpecException(String reason) {} + public SQLInvalidAuthorizationSpecException(String reason, String SQLState) {} + public SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode) {} + public SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause) {} + public SQLInvalidAuthorizationSpecException(String reason, Throwable cause) {} + public SQLInvalidAuthorizationSpecException(Throwable cause) {} + + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLInvalidAuthorizationSpecException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientConnectionException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientConnectionException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientConnectionException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientConnectionException.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 java.sql; + +public class SQLNonTransientConnectionException extends SQLNonTransientException +{ + public SQLNonTransientConnectionException() {} + public SQLNonTransientConnectionException(String reason) {} + public SQLNonTransientConnectionException(String reason, String SQLState) {} + public SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode) {} + public SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause) {} + public SQLNonTransientConnectionException(String reason, Throwable cause) {} + public SQLNonTransientConnectionException(Throwable cause) {} +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientConnectionException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientException.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 java.sql; + +public class SQLNonTransientException extends SQLException +{ + public SQLNonTransientException() {} + public SQLNonTransientException(String reason) {} + public SQLNonTransientException(String reason, String SQLState) {} + public SQLNonTransientException(String reason, String SQLState, int vendorCode) {} + public SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLNonTransientException(String reason, String SQLState, Throwable cause) {} + public SQLNonTransientException(String reason, Throwable cause) {} + public SQLNonTransientException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLNonTransientException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLOutput.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLOutput.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLOutput.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLOutput.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 java.sql; + +public interface SQLOutput +{ + public void writeArray(Array x) throws SQLException; + public void writeAsciiStream(java.io.InputStream x) throws SQLException; + public void writeBigDecimal(java.math.BigDecimal x) throws SQLException; + public void writeBinaryStream(java.io.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(java.io.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(java.net.URL x) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLOutput.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLPermission.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLPermission.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLPermission.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLPermission.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 java.sql; + +public class SQLPermission extends java.security.BasicPermission +{ + public SQLPermission(String name) { super( name ); } + public SQLPermission(String name, String actions) { super( name ); } +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLPermission.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLRecoverableException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLRecoverableException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLRecoverableException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLRecoverableException.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 java.sql; + +public class SQLRecoverableException extends SQLException +{ + public SQLRecoverableException() {} + public SQLRecoverableException(String reason) {} + public SQLRecoverableException(String reason, String SQLState) {} + public SQLRecoverableException(String reason, String SQLState, int vendorCode) {} + public SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLRecoverableException(String reason, String SQLState, Throwable cause) {} + public SQLRecoverableException(String reason, Throwable cause) {} + public SQLRecoverableException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLRecoverableException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLSyntaxErrorException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLSyntaxErrorException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLSyntaxErrorException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLSyntaxErrorException.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 java.sql; + +public class SQLSyntaxErrorException extends SQLNonTransientException +{ + public SQLSyntaxErrorException() {} + public SQLSyntaxErrorException(String reason) {} + public SQLSyntaxErrorException(String reason, String SQLState) {} + public SQLSyntaxErrorException(String reason, String SQLState, int vendorCode) {} + public SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLSyntaxErrorException(String reason, String SQLState, Throwable cause) {} + public SQLSyntaxErrorException(String reason, Throwable cause) {} + public SQLSyntaxErrorException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLSyntaxErrorException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTimeoutException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTimeoutException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTimeoutException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTimeoutException.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 java.sql; + +public class SQLTimeoutException extends SQLTransientException +{ + public SQLTimeoutException() {} + public SQLTimeoutException(String reason) {} + public SQLTimeoutException(String reason, String SQLState) {} + public SQLTimeoutException(String reason, String SQLState, int vendorCode) {} + public SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLTimeoutException(String reason, String SQLState, Throwable cause) {} + public SQLTimeoutException(String reason, Throwable cause) {} + public SQLTimeoutException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTimeoutException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransactionRollbackException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransactionRollbackException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransactionRollbackException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransactionRollbackException.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 java.sql; + +public class SQLTransactionRollbackException extends SQLTransientException +{ + public SQLTransactionRollbackException() {} + public SQLTransactionRollbackException(String reason) {} + public SQLTransactionRollbackException(String reason, String SQLState) {} + public SQLTransactionRollbackException(String reason, String SQLState, int vendorCode) {} + public SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLTransactionRollbackException(String reason, String SQLState, Throwable cause) {} + public SQLTransactionRollbackException(String reason, Throwable cause) {} + public SQLTransactionRollbackException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransactionRollbackException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientConnectionException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientConnectionException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientConnectionException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientConnectionException.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 java.sql; + +public class SQLTransientConnectionException extends SQLTransientException +{ + public SQLTransientConnectionException() {} + public SQLTransientConnectionException(String reason) {} + public SQLTransientConnectionException(String reason, String SQLState) {} + public SQLTransientConnectionException(String reason, String SQLState, int vendorCode) {} + public SQLTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLTransientConnectionException(String reason, String SQLState, Throwable cause) {} + public SQLTransientConnectionException(String reason, Throwable cause) {} + public SQLTransientConnectionException(Throwable cause) {} + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientConnectionException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientException.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientException.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientException.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientException.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 java.sql; + +public class SQLTransientException extends SQLException +{ + public SQLTransientException() {} + public SQLTransientException(String reason) {} + public SQLTransientException(String reason, String SQLState) {} + public SQLTransientException(String reason, String SQLState, int vendorCode) {} + public SQLTransientException(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLTransientException(String reason, String SQLState, Throwable cause) {} + public SQLTransientException(String reason, Throwable cause) {} + public SQLTransientException(Throwable cause) {} +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLTransientException.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLWarning.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLWarning.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLWarning.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLWarning.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,36 @@ +/* + * 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 java.sql; + +public class SQLWarning extends SQLException +{ + public SQLWarning() {} + public SQLWarning(String reason) {} + public SQLWarning(String reason, String SQLState) {} + public SQLWarning(String reason, String SQLState, int vendorCode) {} + public SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause) {} + public SQLWarning(String reason, String SQLState, Throwable cause) {} + public SQLWarning(String reason, Throwable cause) {} + public SQLWarning(Throwable cause) {} + + public SQLWarning getNextWarning() { return null; } + + public void setNextWarning(SQLWarning w) { } +} + + Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLWarning.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLXML.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLXML.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLXML.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLXML.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,38 @@ +/* + * 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 java.sql; + +import java.io.InputStream; +import java.io.OutputStream; +import java.io.Reader; +import java.io.Writer; +import javax.xml.transform.Result; +import javax.xml.transform.Source; + +public interface SQLXML +{ + public void free() throws SQLException; + public InputStream getBinaryStream() throws SQLException; + public Reader getCharacterStream() throws SQLException; + public T getSource(Class sourceClass) throws SQLException; + public String getString() throws SQLException; + public OutputStream setBinaryStream() throws SQLException; + public Writer setCharacterStream() throws SQLException; + public T setResult(Class resultClass) throws SQLException; + public void setString(String value) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/SQLXML.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Savepoint.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Savepoint.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Savepoint.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Savepoint.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 java.sql; + +public interface Savepoint +{ + public int getSavepointId() throws SQLException; + public String getSavepointName() throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Savepoint.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Statement.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Statement.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Statement.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Statement.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,70 @@ +/* + * 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 java.sql; + +public interface Statement extends Wrapper +{ + int CLOSE_ALL_RESULTS = 3; + int CLOSE_CURRENT_RESULT = 1; + int EXECUTE_FAILED = -3; + int KEEP_CURRENT_RESULT = 2; + int NO_GENERATED_KEYS = 2; + int RETURN_GENERATED_KEYS = 1; + int SUCCESS_NO_INFO = -2; + + public void addBatch(String sql) throws SQLException; + public void cancel() throws SQLException; + public void clearBatch() throws SQLException; + public void clearWarnings() throws SQLException; + public void close() throws SQLException; + public boolean execute(String sql) throws SQLException; + public boolean execute(String sql, int autoGeneratedKeys) throws SQLException; + public boolean execute(String sql, int[] columnIndexes) throws SQLException; + public boolean execute(String sql, String[] columnNames) throws SQLException; + public int[] executeBatch() throws SQLException; + public ResultSet executeQuery(String sql) throws SQLException; + public int executeUpdate(String sql) throws SQLException; + public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException; + public int executeUpdate(String sql, int[] columnIndexes) throws SQLException; + public int executeUpdate(String sql, String[] columnNames) throws SQLException; + public Connection getConnection() throws SQLException; + public int getFetchDirection() throws SQLException; + public int getFetchSize() throws SQLException; + public ResultSet getGeneratedKeys() throws SQLException; + public int getMaxFieldSize() throws SQLException; + public int getMaxRows() throws SQLException; + public boolean getMoreResults() throws SQLException; + public boolean getMoreResults(int current) throws SQLException; + public int getQueryTimeout() throws SQLException; + public ResultSet getResultSet() throws SQLException; + public int getResultSetConcurrency() throws SQLException; + public int getResultSetHoldability() throws SQLException; + public int getResultSetType() throws SQLException; + public int getUpdateCount() throws SQLException; + public SQLWarning getWarnings() throws SQLException; + public boolean isClosed() throws SQLException; + public boolean isPoolable() throws SQLException; + public void setCursorName(String name) 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 setMaxFieldSize(int max) throws SQLException; + public void setMaxRows(int max) throws SQLException; + public void setPoolable(boolean poolable) throws SQLException; + public void setQueryTimeout(int seconds) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Statement.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Struct.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Struct.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Struct.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Struct.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 java.sql; + +public interface Struct +{ + public Object[] getAttributes() throws SQLException; + public Object[] getAttributes(java.util.Map> map) throws SQLException; + public String getSQLTypeName() throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Struct.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Time.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Time.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Time.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Time.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,36 @@ +/* + * 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 java.sql; + +public class Time extends java.util.Date +{ + public Time(int hour, int minute, int second) {} + public Time(long time) {} + + public int getDate() { return 0; } + public int getDay() { return 0; } + public int getMonth() { return 0; } + public int getYear() { return 0; } + public void setDate(int i) { } + public void setMonth(int i) { } + public void setTime(long time) { } + public void setYear(int i) { } + public String toString() { return null; } + public static Time valueOf(String s) { return null; } + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Time.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Timestamp.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Timestamp.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Timestamp.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Timestamp.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,38 @@ +/* + * 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 java.sql; + +public class Timestamp extends java.util.Date +{ + public Timestamp(int year, int month, int date, int hour, int minute, int second, int nano) {} + public Timestamp(long time) {} + + public boolean after(Timestamp ts) { return false; } + public boolean before(Timestamp ts) { return false; } + public int compareTo(Date o) { return 0; } + public int compareTo(Timestamp ts) { return 0; } + public boolean equals(Object ts) { return false; } + public boolean equals(Timestamp ts) { return false; } + public int getNanos() { return 0; } + public long getTime() { return 0L; } + public void setNanos(int n) { } + public void setTime(long time) { } + public String toString() { return null; } + public static Timestamp valueOf(String s) { return null; } + +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Timestamp.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Types.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Types.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Types.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Types.java Tue Dec 9 07:06:09 2008 @@ -0,0 +1,58 @@ +/* + * 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 java.sql; + +public class Types +{ + public static final int BIGINT = -5; + public static final int BINARY = -2; + public static final int BIT = -7; + public static final int CHAR = 1; + public static final int DATE = 91; + public static final int DECIMAL = 3; + public static final int DOUBLE = 8; + public static final int FLOAT = 6; + public static final int INTEGER = 4; + public static final int LONGVARBINARY = -4; + public static final int LONGVARCHAR = -1; + public static final int NULL = 0; + public static final int NUMERIC = 2; + public static final int OTHER = 1111; + public static final int REAL = 7; + public static final int SMALLINT = 5; + public static final int TIME = 92; + public static final int TIMESTAMP = 93; + public static final int TINYINT = -6; + public static final int VARBINARY = -3; + public static final int VARCHAR = 12; + public static final int ARRAY = 2003; + public static final int BLOB = 2004; + public static final int BOOLEAN = 16; + public static final int CLOB = 2005; + public static final int DATALINK = 70; + public static final int DISTINCT = 2001; + public static final int JAVA_OBJECT = 2000; + public static final int LONGNVARCHAR = -16; + public static final int NCHAR = -15; + public static final int NCLOB = 2011; + public static final int NVARCHAR = -9; + public static final int REF = 2006; + public static final int ROWID = -8; + public static final int SQLXML = 2009; + public static final int STRUCT = 2002; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Types.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Wrapper.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Wrapper.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Wrapper.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Wrapper.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 java.sql; + +public interface Wrapper +{ + public boolean isWrapperFor(Class iface) throws SQLException; + public T unwrap(Class iface) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Wrapper.java ------------------------------------------------------------------------------ svn:eol-style = native Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/CommonDataSource.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/CommonDataSource.java?rev=724735&view=auto ============================================================================== --- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/CommonDataSource.java (added) +++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/CommonDataSource.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.io.PrintWriter; +import java.sql.SQLException; + +public interface CommonDataSource +{ + public int getLoginTimeout() throws SQLException; + public PrintWriter getLogWriter() throws SQLException; + public void setLoginTimeout(int seconds) throws SQLException; + public void setLogWriter(PrintWriter out) throws SQLException; +} Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/CommonDataSource.java ------------------------------------------------------------------------------ svn:eol-style = native