db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r724735 [8/11] - in /db/derby/code/trunk: ./ java/stubs/jdbc3/ java/stubs/jdbc3/java/ java/stubs/jdbc3/java/sql/ java/stubs/jdbc3/javax/ java/stubs/jdbc3/javax/sql/ java/stubs/jdbc4/ java/stubs/jdbc4/java/ java/stubs/jdbc4/java/sql/ java/st...
Date Tue, 09 Dec 2008 15:06:12 GMT
Propchange: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetReader.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetWriter.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetWriter.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetWriter.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetWriter.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,52 @@
+/* 
+ * 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;
+
+/**
+ * An interface which provides functionality for a disconnected RowSet to put
+ * data updates back to the data source from which the RowSet was originally
+ * populated. An object implementing this interface is called a Writer.
+ * <p>
+ * The Writer must establish a connection to the RowSet's data source before
+ * writing the data. The RowSet calling this interface must implement the
+ * RowSetInternal interface.
+ * <p>
+ * The Writer may encounter a situation where the updated data being written
+ * back to the data source has already been updated in the data source. How a
+ * conflict of this kind is handled is determined by the implementation of the
+ * Writer.
+ */
+public interface RowSetWriter {
+
+    /**
+     * Writes changes in the RowSet associated with this RowSetWriter back to
+     * its data source.
+     * 
+     * @param theRowSet
+     *            the RowSet object. This RowSet must a) Implement the
+     *            RowSetInternal interface and b) have have this RowSetWriter
+     *            registered with it and c) must call this method internally
+     * @return true if the modified data was written, false otherwise (which
+     *         typically implies some form of conflict)
+     * @throws SQLException
+     *             if a problem occurs accessing the database
+     */
+    public boolean writeData(RowSetInternal theRowSet) throws SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/RowSetWriter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XAConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XAConnection.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XAConnection.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XAConnection.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.SQLException;
+import javax.transaction.xa.XAResource;
+
+/**
+ * An interface that is used to support the participation of a database
+ * connection in distributed transactions. An XAConnection returns an XAResource
+ * object which can be used by a Transaction Manager to manage the XAConnection
+ * as part of a distributed transaction.
+ * <p>
+ * It is not intended that this interface is used directly by application code.
+ * It is designed for use by system components which implement distributed
+ * transaction support.
+ */
+public interface XAConnection extends PooledConnection {
+
+    /**
+     * Gets an XAResource which a transaction manager can use to manage the
+     * participation of this XAConnection in a distributed transaction.
+     * 
+     * @return an XAResource object
+     * @throws SQLException
+     *             if an error occurs in accessing the database.
+     */
+    public XAResource getXAResource() throws SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XAConnection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XADataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XADataSource.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XADataSource.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XADataSource.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,120 @@
+/* 
+ * 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;
+import java.io.PrintWriter;
+
+/**
+ * An interface for the creation of XAConnection objects. Used internally within
+ * the package.
+ * <p>
+ * A class which implements the XADataSource interface is typically registered
+ * with a JNDI naming service directory and is retrieved from there by name.
+ */
+public interface XADataSource {
+
+    /**
+     * Gets the Login Timeout value for this XADataSource. The Login Timeout is
+     * the maximum time in seconds that the XADataSource will wait when opening
+     * a connection to a database. A Timeout value of 0 implies either the
+     * system default timeout value (if there is one) or that there is no
+     * timeout. The default value for the Login Timeout is 0.
+     * 
+     * @return the Login Timeout value in seconds.
+     * @throws SQLException
+     *             if there is a problem accessing the database.
+     */
+    public int getLoginTimeout() throws SQLException;
+
+    /**
+     * Sets the Login Timeout value for this XADataSource. The Login Timeout is
+     * the maximum time in seconds that the XADataSource will wait when opening
+     * a connection to a database. A Timeout value of 0 implies either the
+     * system default timeout value (if there is one) or that there is no
+     * timeout. The default value for the Login Timeout is 0.
+     * 
+     * @param theTimeout
+     *            the new Login Timeout value in seconds.
+     * @throws SQLException
+     *             if there is a problem accessing the database.
+     */
+    public void setLoginTimeout(int theTimeout) throws SQLException;
+
+    /**
+     * Gets the Log Writer for this XADataSource.
+     * <p>
+     * The Log Writer is a stream to which all log and trace messages are sent
+     * from this XADataSource. The Log Writer can be null, in which case, log
+     * and trace capture is disabled. The default value for the Log Writer when
+     * an XADataSource is created is null. Note that the Log Writer for an
+     * XADataSource is not the same as the Log Writer used by a
+     * <code>DriverManager</code>.
+     * 
+     * @return a PrintWriter which is the Log Writer for this XADataSource. Can
+     *         be null, in which case log writing is disabled for this
+     *         XADataSource.
+     * @throws SQLException
+     */
+    public PrintWriter getLogWriter() throws SQLException;
+
+    /**
+     * Create a connection to a database which can then be used in a distributed
+     * transaction.
+     * 
+     * @return an XAConnection object representing the connection to the
+     *         database, which can then be used in a distributed transaction.
+     * @throws SQLException
+     *             if there is a problem accessing the database.
+     */
+    public XAConnection getXAConnection() throws SQLException;
+
+    /**
+     * Create a connection to a database, using a supplied Username and
+     * Password, which can then be used in a distributed transaction.
+     * 
+     * @param theUser
+     *            a String containing a User Name for the database
+     * @param thePassword
+     *            a String containing the Password for the user identified by
+     *            <code>theUser</code>
+     * @return an XAConnection object representing the connection to the
+     *         database, which can then be used in a distributed transaction.
+     * @throws SQLException
+     *             if there is a problem accessing the database.
+     */
+    public XAConnection getXAConnection(String theUser, String thePassword)
+            throws SQLException;
+
+    /**
+     * Sets the Log Writer for this XADataSource.
+     * <p>
+     * The Log Writer is a stream to which all log and trace messages are sent
+     * from this XADataSource. The Log Writer can be null, in which case, log
+     * and trace capture is disabled. The default value for the Log Writer when
+     * an XADataSource is created is null. Note that the Log Writer for an
+     * XADataSource is not the same as the Log Writer used by a
+     * <code>DriverManager</code>.
+     * 
+     * @param theWriter
+     *            a PrintWriter to use as the Log Writer for this XADataSource.
+     * @throws SQLException
+     *             if there is a problem accessing the database.
+     */
+    public void setLogWriter(PrintWriter theWriter) throws SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc3/javax/sql/XADataSource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Array.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Array.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Array.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Array.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;
+
+import java.util.Map;
+
+public interface Array
+{
+    public  void 	free()  throws SQLException;
+    public  Object 	getArray()  throws SQLException;
+    public  Object 	getArray(long index, int count) throws SQLException;
+    public  Object 	getArray(long index, int count, Map<String,Class<?>> map)   throws SQLException;
+    public  Object 	getArray(Map<String,Class<?>> map)  throws SQLException;
+    public  int 	getBaseType()   throws SQLException;
+    public  String 	getBaseTypeName()   throws SQLException;
+    public  ResultSet 	getResultSet()  throws SQLException;
+    public  ResultSet 	getResultSet(long index, int count) throws SQLException;
+    public  ResultSet 	getResultSet(long index, int count, Map<String,Class<?>> map)   throws SQLException;
+    public  ResultSet 	getResultSet(Map<String,Class<?>> map)  throws SQLException;
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Array.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/BatchUpdateException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/BatchUpdateException.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/BatchUpdateException.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/BatchUpdateException.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,34 @@
+/* 
+ * 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   BatchUpdateException    extends SQLException
+{
+    public  BatchUpdateException() {}
+    public  BatchUpdateException(int[] updateCounts) {}
+    public  BatchUpdateException(int[] updateCounts, Throwable cause) {}
+    public  BatchUpdateException(String reason, int[] updateCounts) {}
+    public  BatchUpdateException(String reason, int[] updateCounts, Throwable cause) {}
+    public  BatchUpdateException(String reason, String SQLState, int[] updateCounts) {}
+    public  BatchUpdateException(String reason, String SQLState, int[] updateCounts, Throwable cause) {}
+    public  BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts) {}
+    public  BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts, Throwable cause) {}
+    public  BatchUpdateException(Throwable cause)  {}
+
+    public  int[] 	getUpdateCounts() { return null; }
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/BatchUpdateException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Blob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Blob.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Blob.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Blob.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,34 @@
+/* 
+ * 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   Blob
+{
+    public  void 	free()  throws  SQLException;
+    public  java.io.InputStream 	getBinaryStream()   throws  SQLException;
+    public  java.io.InputStream 	getBinaryStream(long pos, long length)  throws  SQLException;
+    public  byte[] 	getBytes(long pos, int length)  throws  SQLException;
+    public  long 	length()    throws  SQLException;
+    public  long 	position(Blob pattern, long start)  throws  SQLException;
+    public  long 	position(byte[] pattern, long start)    throws  SQLException;
+    public  java.io.OutputStream 	setBinaryStream(long pos)   throws  SQLException;
+    public  int 	setBytes(long pos, byte[] bytes)    throws  SQLException;
+    public  int 	setBytes(long pos, byte[] bytes, int offset, int len)   throws  SQLException;
+    public  void 	truncate(long len)  throws  SQLException;
+    
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Blob.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/CallableStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/CallableStatement.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/CallableStatement.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/CallableStatement.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,140 @@
+/* 
+ * 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   CallableStatement   extends PreparedStatement
+{
+    public  Array 	getArray(int parameterIndex)    throws  SQLException;
+    public  Array 	getArray(String parameterName)  throws  SQLException;
+    public  BigDecimal 	getBigDecimal(int parameterIndex)   throws  SQLException;
+    public  BigDecimal 	getBigDecimal(int parameterIndex, int scale)    throws  SQLException;
+    public  BigDecimal 	getBigDecimal(String parameterName) throws  SQLException;
+    public  Blob 	getBlob(int parameterIndex) throws  SQLException;
+    public  Blob 	getBlob(String parameterName)   throws  SQLException;
+    public  boolean 	getBoolean(int parameterIndex)  throws  SQLException;
+    public  boolean 	getBoolean(String parameterName)    throws  SQLException;
+    public  byte 	getByte(int parameterIndex) throws  SQLException;
+    public  byte 	getByte(String parameterName)   throws  SQLException;
+    public  byte[] 	getBytes(int parameterIndex)    throws  SQLException;
+    public  byte[] 	getBytes(String parameterName)  throws  SQLException;
+    public  Reader 	getCharacterStream(int parameterIndex)  throws  SQLException;
+    public  Reader 	getCharacterStream(String parameterName)    throws  SQLException;
+    public  Clob 	getClob(int parameterIndex) throws  SQLException;
+    public  Clob 	getClob(String parameterName)   throws  SQLException;
+    public  Date 	getDate(int parameterIndex) throws  SQLException;
+    public  Date 	getDate(int parameterIndex, Calendar cal)   throws  SQLException;
+    public  Date 	getDate(String parameterName)   throws  SQLException;
+    public  Date 	getDate(String parameterName, Calendar cal) throws  SQLException;
+    public  double 	getDouble(int parameterIndex)   throws  SQLException;
+    public  double 	getDouble(String parameterName) throws  SQLException;
+    public  float 	getFloat(int parameterIndex)    throws  SQLException;
+    public  float 	getFloat(String parameterName)  throws  SQLException;
+    public  int 	getInt(int parameterIndex)  throws  SQLException;
+    public  int 	getInt(String parameterName)    throws  SQLException;
+    public  long 	getLong(int parameterIndex) throws  SQLException;
+    public  long 	getLong(String parameterName)   throws  SQLException;
+    public  Reader 	getNCharacterStream(int parameterIndex) throws  SQLException;
+    public  Reader 	getNCharacterStream(String parameterName)   throws  SQLException;
+    public  NClob 	getNClob(int parameterIndex)    throws  SQLException;
+    public  NClob 	getNClob(String parameterName)  throws  SQLException;
+    public  String 	getNString(int parameterIndex)  throws  SQLException;
+    public  String 	getNString(String parameterName)    throws  SQLException;
+    public  Object 	getObject(int parameterIndex)   throws  SQLException;
+    public  Object 	getObject(int parameterIndex, Map<String,Class<?>> map) throws  SQLException;
+    public  Object 	getObject(String parameterName) throws  SQLException;
+    public  Object 	getObject(String parameterName, Map<String,Class<?>> map)   throws  SQLException;
+    public  Ref 	getRef(int parameterIndex)  throws  SQLException;
+    public  Ref 	getRef(String parameterName)    throws  SQLException;
+    public  RowId 	getRowId(int parameterIndex)    throws  SQLException;
+    public  RowId 	getRowId(String parameterName)  throws  SQLException;
+    public  short 	getShort(int parameterIndex)    throws  SQLException;
+    public  short 	getShort(String parameterName)  throws  SQLException;
+    public  SQLXML 	getSQLXML(int parameterIndex)   throws  SQLException;
+    public  SQLXML 	getSQLXML(String parameterName) throws  SQLException;
+    public  String 	getString(int parameterIndex)   throws  SQLException;
+    public  String 	getString(String parameterName) throws  SQLException;
+    public  Time 	getTime(int parameterIndex) throws  SQLException;
+    public  Time 	getTime(int parameterIndex, Calendar cal)   throws  SQLException;
+    public  Time 	getTime(String parameterName)   throws  SQLException;
+    public  Time 	getTime(String parameterName, Calendar cal) throws  SQLException;
+    public  Timestamp 	getTimestamp(int parameterIndex)    throws  SQLException;
+    public  Timestamp 	getTimestamp(int parameterIndex, Calendar cal)  throws  SQLException;
+    public  Timestamp 	getTimestamp(String parameterName)  throws  SQLException;
+    public  Timestamp 	getTimestamp(String parameterName, Calendar cal)    throws  SQLException;
+    public  URL 	getURL(int parameterIndex)  throws  SQLException;
+    public  URL 	getURL(String parameterName)    throws  SQLException;
+    public  void 	registerOutParameter(int parameterIndex, int sqlType)   throws  SQLException;
+    public  void 	registerOutParameter(int parameterIndex, int sqlType, int scale)    throws  SQLException;
+    public  void 	registerOutParameter(int parameterIndex, int sqlType, String typeName)  throws  SQLException;
+    public  void 	registerOutParameter(String parameterName, int sqlType) throws  SQLException;
+    public  void 	registerOutParameter(String parameterName, int sqlType, int scale)  throws  SQLException;
+    public  void 	registerOutParameter(String parameterName, int sqlType, String typeName)    throws  SQLException;
+    public  void 	setAsciiStream(String parameterName, InputStream x) throws  SQLException;
+    public  void 	setAsciiStream(String parameterName, InputStream x, int length) throws  SQLException;
+    public  void 	setAsciiStream(String parameterName, InputStream x, long length)    throws  SQLException;
+    public  void 	setBigDecimal(String parameterName, BigDecimal x)   throws  SQLException;
+    public  void 	setBinaryStream(String parameterName, InputStream x)    throws  SQLException;
+    public  void 	setBinaryStream(String parameterName, InputStream x, int length)    throws  SQLException;
+    public  void 	setBinaryStream(String parameterName, InputStream x, 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(String parameterName, boolean x) throws  SQLException;
+    public  void 	setByte(String parameterName, byte x)   throws  SQLException;
+    public  void 	setBytes(String parameterName, byte[] x)    throws  SQLException;
+    public  void 	setCharacterStream(String parameterName, Reader reader) throws  SQLException;
+    public  void 	setCharacterStream(String parameterName, Reader reader, int length) throws  SQLException;
+    public  void 	setCharacterStream(String parameterName, 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 	setDate(String parameterName, Date x)   throws  SQLException;
+    public  void 	setDate(String parameterName, Date x, Calendar cal) throws  SQLException;
+    public  void 	setDouble(String parameterName, double x)   throws  SQLException;
+    public  void 	setFloat(String parameterName, float x) throws  SQLException;
+    public  void 	setInt(String parameterName, int x) throws  SQLException;
+    public  void 	setLong(String parameterName, long x)   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(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(String parameterName, String value)  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(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 	setRowId(String parameterName, RowId x) throws  SQLException;
+    public  void 	setShort(String parameterName, short x) throws  SQLException;
+    public  void 	setSQLXML(String parameterName, SQLXML xmlObject)   throws  SQLException;
+    public  void 	setString(String parameterName, String x)   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(String parameterName, Timestamp x) throws  SQLException;
+    public  void 	setTimestamp(String parameterName, Timestamp x, Calendar cal)   throws  SQLException;
+    public  void 	setURL(String parameterName, URL val)   throws  SQLException;
+    public  boolean 	wasNull()   throws  SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/CallableStatement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ClientInfoStatus.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/ClientInfoStatus.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/ClientInfoStatus.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/ClientInfoStatus.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    ClientInfoStatus
+{
+    REASON_UNKNOWN,
+        REASON_UNKNOWN_PROPERTY,
+        REASON_VALUE_INVALID,
+        REASON_VALUE_TRUNCATED;
+
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ClientInfoStatus.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Clob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Clob.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Clob.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Clob.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;
+
+public  interface   Clob
+{
+    public  void 	free()  throws  SQLException;
+    public  java.io.InputStream 	getAsciiStream()    throws  SQLException;
+    public  java.io.Reader 	getCharacterStream()    throws  SQLException;
+    public  java.io.Reader 	getCharacterStream(long pos, long length)   throws  SQLException;
+    public  String 	getSubString(long pos, int length)  throws  SQLException;
+    public  long 	length()    throws  SQLException;
+    public  long 	position(Clob searchstr, long start)    throws  SQLException;
+    public  long 	position(String searchstr, long start)  throws  SQLException;
+    public  java.io.OutputStream 	setAsciiStream(long pos)    throws  SQLException;
+    public  java.io.Writer 	setCharacterStream(long pos)    throws  SQLException;
+    public  int 	setString(long pos, String str) throws  SQLException;
+    public  int 	setString(long pos, String str, int offset, int len)    throws  SQLException;
+    public  void 	truncate(long len)  throws  SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Clob.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Connection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Connection.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Connection.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Connection.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,82 @@
+/* 
+ * 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.Map;
+import java.util.Properties;
+
+public  interface   Connection  extends Wrapper
+{
+    int TRANSACTION_NONE	     = 0;
+    int TRANSACTION_READ_COMMITTED   = 2;
+    int TRANSACTION_READ_UNCOMMITTED = 1;
+    int TRANSACTION_REPEATABLE_READ  = 4;
+    int TRANSACTION_SERIALIZABLE     = 8;
+
+    public  void 	clearWarnings() throws  SQLException;
+    public  void 	close() throws  SQLException;
+    public  void 	commit()    throws  SQLException;
+    public  Array 	createArrayOf(String typeName, Object[] elements)   throws  SQLException;
+    public  Blob 	createBlob()    throws  SQLException;
+    public  Clob 	createClob()    throws  SQLException;
+    public  NClob 	createNClob()   throws  SQLException;
+    public  SQLXML 	createSQLXML()  throws  SQLException;
+    public  Statement 	createStatement()   throws  SQLException;
+    public  Statement 	createStatement(int resultSetType, int resultSetConcurrency)    throws  SQLException;
+    public  Statement 	createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)  throws  SQLException;
+    public  Struct 	createStruct(String typeName, Object[] attributes)  throws  SQLException;
+    public  boolean 	getAutoCommit() throws  SQLException;
+    public  String 	getCatalog()    throws  SQLException;
+    public  Properties 	getClientInfo() throws  SQLException;
+    public  String 	getClientInfo(String name)  throws  SQLException;
+    public  int 	getHoldability()    throws  SQLException;
+    public  DatabaseMetaData 	getMetaData()   throws  SQLException;
+    public  int 	getTransactionIsolation()   throws  SQLException;
+    public  Map<String,Class<?>> 	getTypeMap()    throws  SQLException;
+    public  SQLWarning 	getWarnings()   throws  SQLException;
+    public  boolean 	isClosed()  throws  SQLException;
+    public  boolean 	isReadOnly()    throws  SQLException;
+    public  boolean 	isValid(int timeout)    throws  SQLException;
+    public  String 	nativeSQL(String sql)   throws  SQLException;
+    public  CallableStatement 	prepareCall(String sql) throws  SQLException;
+    public  CallableStatement 	prepareCall(String sql, int resultSetType, int resultSetConcurrency)    throws  SQLException;
+    public  CallableStatement 	prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)  throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql)    throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql, int autoGeneratedKeys) throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql, int[] columnIndexes)   throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql, int resultSetType, int resultSetConcurrency)   throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws  SQLException;
+    public  PreparedStatement 	prepareStatement(String sql, String[] columnNames)  throws  SQLException;
+    public  void 	releaseSavepoint(Savepoint savepoint)   throws  SQLException;
+    public  void 	rollback()  throws  SQLException;
+    public  void 	rollback(Savepoint savepoint)   throws  SQLException;
+    public  void 	setAutoCommit(boolean autoCommit)   throws  SQLException;
+    public  void 	setCatalog(String catalog)  throws  SQLException;
+    public  void 	setClientInfo(Properties properties)    throws  SQLException;
+    public  void 	setClientInfo(String name, String value)    throws  SQLException;
+    public  void 	setHoldability(int holdability) throws  SQLException;
+    public  void 	setReadOnly(boolean readOnly)   throws  SQLException;
+    public  Savepoint 	setSavepoint()  throws  SQLException;
+    public  Savepoint 	setSavepoint(String name)   throws  SQLException;
+    public  void 	setTransactionIsolation(int level)  throws  SQLException;
+    public  void 	setTypeMap(Map<String,Class<?>> map)    throws  SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Connection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DataTruncation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/DataTruncation.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/DataTruncation.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/DataTruncation.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   DataTruncation  extends SQLWarning
+{
+    public  DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize) { }
+
+    public  DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)      {  }
+    
+    public  int 	getDataSize() { return 0; }
+    public  int 	getIndex() { return 0; }
+    public  boolean 	getParameter() { return false; }
+    public  boolean 	getRead() { return false; }
+    public  int 	getTransferSize()      { return 0; }
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DataTruncation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DatabaseMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/DatabaseMetaData.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/DatabaseMetaData.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/DatabaseMetaData.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,264 @@
+/* 
+ * 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.Map;
+import java.util.Properties;
+
+public  interface   DatabaseMetaData  extends Wrapper
+{
+    short attributeNoNulls = 0;
+    short attributeNullable = 1;
+    short attributeNullableUnknown = 2;
+    int bestRowNotPseudo	= 1;
+    int bestRowPseudo	= 2;
+    int bestRowSession     = 2;
+    int bestRowTemporary   = 0;
+    int bestRowTransaction = 1;
+    int bestRowUnknown	= 0;
+    int columnNoNulls = 0;
+    int columnNullable = 1;
+    int columnNullableUnknown = 2;
+    int functionColumnIn = 1;
+    int functionColumnInOut = 2;
+    int functionColumnOut = 3;
+    int functionColumnResult = 5;
+    int functionColumnUnknown = 0;
+    int functionNoNulls = 0;
+    int functionNoTable		= 1;
+    int functionNullable = 1;
+    int functionNullableUnknown = 2;    
+    int functionResultUnknown	= 0;
+    int functionReturn = 4;
+    int functionReturnsTable	= 2;
+    int importedKeyCascade	= 0;
+    int importedKeyInitiallyDeferred  = 5;
+    int importedKeyInitiallyImmediate  = 6;
+    int importedKeyNoAction = 3;
+    int importedKeyNotDeferrable  = 7;
+    int importedKeyRestrict = 1;
+    int importedKeySetDefault  = 4;
+    int importedKeySetNull  = 2;
+    int procedureColumnIn = 1;
+    int procedureColumnInOut = 2;
+    int procedureColumnOut = 4;
+    int procedureColumnResult = 3;
+    int procedureColumnReturn = 5;
+    int procedureColumnUnknown = 0;
+    int procedureNoNulls = 0;
+    int procedureNoResult		= 1;
+    int procedureNullable = 1;
+    int procedureNullableUnknown = 2;
+    int procedureResultUnknown	= 0;
+    int procedureReturnsResult	= 2;
+    int sqlStateSQL = 2;
+    int sqlStateSQL99 = sqlStateSQL;
+    int sqlStateXOpen = 1;
+    short tableIndexClustered = 1;
+    short tableIndexHashed    = 2;
+    short tableIndexOther     = 3;
+    short tableIndexStatistic = 0;
+    int typeNoNulls = 0;
+    int typeNullable = 1;
+    int typeNullableUnknown = 2;
+    int typePredBasic = 2;
+    int typePredChar = 1;
+    int typePredNone = 0;
+    int typeSearchable  = 3;
+    int versionColumnNotPseudo	= 1;
+    int versionColumnPseudo	= 2;
+    int versionColumnUnknown	= 0;
+
+    public  boolean 	allProceduresAreCallable()  throws  SQLException;
+    public  boolean 	allTablesAreSelectable()    throws  SQLException;
+    public  boolean 	autoCommitFailureClosesAllResultSets()  throws  SQLException;
+    public  boolean 	dataDefinitionCausesTransactionCommit() throws  SQLException;
+    public  boolean 	dataDefinitionIgnoredInTransactions()   throws  SQLException;
+    public  boolean 	deletesAreDetected(int type)    throws  SQLException;
+    public  boolean 	doesMaxRowSizeIncludeBlobs()    throws  SQLException;
+    public  ResultSet 	getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)    throws  SQLException;
+    public  ResultSet 	getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)  throws  SQLException;
+    public  ResultSet 	getCatalogs()   throws  SQLException;
+    public  String 	getCatalogSeparator()   throws  SQLException;
+    public  String 	getCatalogTerm()    throws  SQLException;
+    public  ResultSet 	getClientInfoProperties()   throws  SQLException;
+    public  ResultSet 	getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)  throws  SQLException;
+    public  ResultSet 	getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws  SQLException;
+    public  Connection 	getConnection() throws  SQLException;
+    public  ResultSet 	getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)  throws  SQLException;
+    public  int 	getDatabaseMajorVersion()   throws  SQLException;
+    public  int 	getDatabaseMinorVersion()   throws  SQLException;
+    public  String 	getDatabaseProductName()    throws  SQLException;
+    public  String 	getDatabaseProductVersion() throws  SQLException;
+    public  int 	getDefaultTransactionIsolation()    throws  SQLException;
+    public  int 	getDriverMajorVersion() throws  SQLException;
+    public  int 	getDriverMinorVersion() throws  SQLException;
+    public  String 	getDriverName() throws  SQLException;
+    public  String 	getDriverVersion()  throws  SQLException;
+    public  ResultSet 	getExportedKeys(String catalog, String schema, String table)    throws  SQLException;
+    public  String 	getExtraNameCharacters()    throws  SQLException;
+    public  ResultSet 	getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)  throws  SQLException;
+    public  ResultSet 	getFunctions(String catalog, String schemaPattern, String functionNamePattern)  throws  SQLException;
+    public  String 	getIdentifierQuoteString()  throws  SQLException;
+    public  ResultSet 	getImportedKeys(String catalog, String schema, String table)    throws  SQLException;
+    public  ResultSet 	getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)  throws  SQLException;
+    public  int 	getJDBCMajorVersion()   throws  SQLException;
+    public  int 	getJDBCMinorVersion()   throws  SQLException;
+    public  int 	getMaxBinaryLiteralLength() throws  SQLException;
+    public  int 	getMaxCatalogNameLength()   throws  SQLException;
+    public  int 	getMaxCharLiteralLength()   throws  SQLException;
+    public  int 	getMaxColumnNameLength()    throws  SQLException;
+    public  int 	getMaxColumnsInGroupBy()    throws  SQLException;
+    public  int 	getMaxColumnsInIndex()  throws  SQLException;
+    public  int 	getMaxColumnsInOrderBy()    throws  SQLException;
+    public  int 	getMaxColumnsInSelect() throws  SQLException;
+    public  int 	getMaxColumnsInTable()  throws  SQLException;
+    public  int 	getMaxConnections() throws  SQLException;
+    public  int 	getMaxCursorNameLength()    throws  SQLException;
+    public  int 	getMaxIndexLength() throws  SQLException;
+    public  int 	getMaxProcedureNameLength() throws  SQLException;
+    public  int 	getMaxRowSize() throws  SQLException;
+    public  int 	getMaxSchemaNameLength()    throws  SQLException;
+    public  int 	getMaxStatementLength() throws  SQLException;
+    public  int 	getMaxStatements()  throws  SQLException;
+    public  int 	getMaxTableNameLength() throws  SQLException;
+    public  int 	getMaxTablesInSelect()  throws  SQLException;
+    public  int 	getMaxUserNameLength()  throws  SQLException;
+    public  String 	getNumericFunctions()   throws  SQLException;
+    public  ResultSet 	getPrimaryKeys(String catalog, String schema, String table) throws  SQLException;
+    public  ResultSet 	getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)    throws  SQLException;
+    public  ResultSet 	getProcedures(String catalog, String schemaPattern, String procedureNamePattern)    throws  SQLException;
+    public  String 	getProcedureTerm()  throws  SQLException;
+    public  int 	getResultSetHoldability()   throws  SQLException;
+    public  RowIdLifetime 	getRowIdLifetime()  throws  SQLException;
+    public  ResultSet 	getSchemas()    throws  SQLException;
+    public  ResultSet 	getSchemas(String catalog, String schemaPattern)    throws  SQLException;
+    public  String 	getSchemaTerm() throws  SQLException;
+    public  String 	getSearchStringEscape() throws  SQLException;
+    public  String 	getSQLKeywords()    throws  SQLException;
+    public  int 	getSQLStateType()   throws  SQLException;
+    public  String 	getStringFunctions()    throws  SQLException;
+    public  ResultSet 	getSuperTables(String catalog, String schemaPattern, String tableNamePattern)   throws  SQLException;
+    public  ResultSet 	getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws  SQLException;
+    public  String 	getSystemFunctions()    throws  SQLException;
+    public  ResultSet 	getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)   throws  SQLException;
+    public  ResultSet 	getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)    throws  SQLException;
+    public  ResultSet 	getTableTypes() throws  SQLException;
+    public  String 	getTimeDateFunctions()  throws  SQLException;
+    public  ResultSet 	getTypeInfo()   throws  SQLException;
+    public  ResultSet 	getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)  throws  SQLException;
+    public  String 	getURL()    throws  SQLException;
+    public  String 	getUserName()   throws  SQLException;
+    public  ResultSet 	getVersionColumns(String catalog, String schema, String table)  throws  SQLException;
+    public  boolean 	insertsAreDetected(int type)    throws  SQLException;
+    public  boolean 	isCatalogAtStart()  throws  SQLException;
+    public  boolean 	isReadOnly()    throws  SQLException;
+    public  boolean 	locatorsUpdateCopy()    throws  SQLException;
+    public  boolean 	nullPlusNonNullIsNull() throws  SQLException;
+    public  boolean 	nullsAreSortedAtEnd()   throws  SQLException;
+    public  boolean 	nullsAreSortedAtStart() throws  SQLException;
+    public  boolean 	nullsAreSortedHigh()    throws  SQLException;
+    public  boolean 	nullsAreSortedLow() throws  SQLException;
+    public  boolean 	othersDeletesAreVisible(int type)   throws  SQLException;
+    public  boolean 	othersInsertsAreVisible(int type)   throws  SQLException;
+    public  boolean 	othersUpdatesAreVisible(int type)   throws  SQLException;
+    public  boolean 	ownDeletesAreVisible(int type)  throws  SQLException;
+    public  boolean 	ownInsertsAreVisible(int type)  throws  SQLException;
+    public  boolean 	ownUpdatesAreVisible(int type)  throws  SQLException;
+    public  boolean 	storesLowerCaseIdentifiers()    throws  SQLException;
+    public  boolean 	storesLowerCaseQuotedIdentifiers()  throws  SQLException;
+    public  boolean 	storesMixedCaseIdentifiers()    throws  SQLException;
+    public  boolean 	storesMixedCaseQuotedIdentifiers()  throws  SQLException;
+    public  boolean 	storesUpperCaseIdentifiers()    throws  SQLException;
+    public  boolean 	storesUpperCaseQuotedIdentifiers()  throws  SQLException;
+    public  boolean 	supportsAlterTableWithAddColumn()   throws  SQLException;
+    public  boolean 	supportsAlterTableWithDropColumn()  throws  SQLException;
+    public  boolean 	supportsANSI92EntryLevelSQL()   throws  SQLException;
+    public  boolean 	supportsANSI92FullSQL() throws  SQLException;
+    public  boolean 	supportsANSI92IntermediateSQL() throws  SQLException;
+    public  boolean 	supportsBatchUpdates()  throws  SQLException;
+    public  boolean 	supportsCatalogsInDataManipulation()    throws  SQLException;
+    public  boolean 	supportsCatalogsInIndexDefinitions()    throws  SQLException;
+    public  boolean 	supportsCatalogsInPrivilegeDefinitions()    throws  SQLException;
+    public  boolean 	supportsCatalogsInProcedureCalls()  throws  SQLException;
+    public  boolean 	supportsCatalogsInTableDefinitions()    throws  SQLException;
+    public  boolean 	supportsColumnAliasing()    throws  SQLException;
+    public  boolean 	supportsConvert()   throws  SQLException;
+    public  boolean 	supportsConvert(int fromType, int toType)   throws  SQLException;
+    public  boolean 	supportsCoreSQLGrammar()    throws  SQLException;
+    public  boolean 	supportsCorrelatedSubqueries()  throws  SQLException;
+    public  boolean 	supportsDataDefinitionAndDataManipulationTransactions() throws  SQLException;
+    public  boolean 	supportsDataManipulationTransactionsOnly()  throws  SQLException;
+    public  boolean 	supportsDifferentTableCorrelationNames()    throws  SQLException;
+    public  boolean 	supportsExpressionsInOrderBy()  throws  SQLException;
+    public  boolean 	supportsExtendedSQLGrammar()    throws  SQLException;
+    public  boolean 	supportsFullOuterJoins()    throws  SQLException;
+    public  boolean 	supportsGetGeneratedKeys()  throws  SQLException;
+    public  boolean 	supportsGroupBy()   throws  SQLException;
+    public  boolean 	supportsGroupByBeyondSelect()   throws  SQLException;
+    public  boolean 	supportsGroupByUnrelated()  throws  SQLException;
+    public  boolean 	supportsIntegrityEnhancementFacility()  throws  SQLException;
+    public  boolean 	supportsLikeEscapeClause()  throws  SQLException;
+    public  boolean 	supportsLimitedOuterJoins() throws  SQLException;
+    public  boolean 	supportsMinimumSQLGrammar() throws  SQLException;
+    public  boolean 	supportsMixedCaseIdentifiers()  throws  SQLException;
+    public  boolean 	supportsMixedCaseQuotedIdentifiers()    throws  SQLException;
+    public  boolean 	supportsMultipleOpenResults()   throws  SQLException;
+    public  boolean 	supportsMultipleResultSets()    throws  SQLException;
+    public  boolean 	supportsMultipleTransactions()  throws  SQLException;
+    public  boolean 	supportsNamedParameters()   throws  SQLException;
+    public  boolean 	supportsNonNullableColumns()    throws  SQLException;
+    public  boolean 	supportsOpenCursorsAcrossCommit()   throws  SQLException;
+    public  boolean 	supportsOpenCursorsAcrossRollback() throws  SQLException;
+    public  boolean 	supportsOpenStatementsAcrossCommit()    throws  SQLException;
+    public  boolean 	supportsOpenStatementsAcrossRollback()  throws  SQLException;
+    public  boolean 	supportsOrderByUnrelated()  throws  SQLException;
+    public  boolean 	supportsOuterJoins()    throws  SQLException;
+    public  boolean 	supportsPositionedDelete()  throws  SQLException;
+    public  boolean 	supportsPositionedUpdate()  throws  SQLException;
+    public  boolean 	supportsResultSetConcurrency(int type, int concurrency) throws  SQLException;
+    public  boolean 	supportsResultSetHoldability(int holdability)   throws  SQLException;
+    public  boolean 	supportsResultSetType(int type) throws  SQLException;
+    public  boolean 	supportsSavepoints()    throws  SQLException;
+    public  boolean 	supportsSchemasInDataManipulation() throws  SQLException;
+    public  boolean 	supportsSchemasInIndexDefinitions() throws  SQLException;
+    public  boolean 	supportsSchemasInPrivilegeDefinitions() throws  SQLException;
+    public  boolean 	supportsSchemasInProcedureCalls()   throws  SQLException;
+    public  boolean 	supportsSchemasInTableDefinitions() throws  SQLException;
+    public  boolean 	supportsSelectForUpdate()   throws  SQLException;
+    public  boolean 	supportsStatementPooling()  throws  SQLException;
+    public  boolean 	supportsStoredFunctionsUsingCallSyntax()    throws  SQLException;
+    public  boolean 	supportsStoredProcedures()  throws  SQLException;
+    public  boolean 	supportsSubqueriesInComparisons()   throws  SQLException;
+    public  boolean 	supportsSubqueriesInExists()    throws  SQLException;
+    public  boolean 	supportsSubqueriesInIns()   throws  SQLException;
+    public  boolean 	supportsSubqueriesInQuantifieds()   throws  SQLException;
+    public  boolean 	supportsTableCorrelationNames() throws  SQLException;
+    public  boolean 	supportsTransactionIsolationLevel(int level)    throws  SQLException;
+    public  boolean 	supportsTransactions()  throws  SQLException;
+    public  boolean 	supportsUnion() throws  SQLException;
+    public  boolean 	supportsUnionAll()  throws  SQLException;
+    public  boolean 	updatesAreDetected(int type)    throws  SQLException;
+    public  boolean 	usesLocalFilePerTable() throws  SQLException;
+    public  boolean 	usesLocalFiles()    throws  SQLException;
+
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DatabaseMetaData.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Date.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Date.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Date.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Date.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;
+
+public  class   Date    extends java.util.Date
+{
+    public  Date(int year, int month, int day) {}
+    public  Date(long date) {}
+
+    public  int 	getHours()  { return 0; }
+    public  int 	getMinutes()    { return 0; }
+    public  int 	getSeconds()    { return 0; }
+    public  void 	setHours(int i) {  }
+    public  void 	setMinutes(int i)   { }
+    public  void 	setSeconds(int i)   { }
+    public  void 	setTime(long date)  {  }
+    public  String 	toString()  { return null; }
+    public  static Date 	valueOf(String s)   { return null; }
+
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Date.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Driver.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Driver.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Driver.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Driver.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;
+
+import java.util.Properties;
+
+
+public  interface   Driver
+{
+    public  boolean 	acceptsURL(String url)  throws  SQLException;
+    public  Connection 	connect(String url, Properties info)    throws  SQLException;
+    public  int 	getMajorVersion();
+    public  int 	getMinorVersion();
+    public  DriverPropertyInfo[] 	getPropertyInfo(String url, Properties info)    throws  SQLException;
+    public  boolean 	jdbcCompliant();
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Driver.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverManager.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverManager.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverManager.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverManager.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,37 @@
+/* 
+ * 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   DriverManager
+{
+    public  static void 	deregisterDriver(Driver driver) throws  SQLException {}
+    public  static Connection 	getConnection(String url)   throws  SQLException { return null; }
+    public  static Connection 	getConnection(String url, java.util.Properties info)  throws  SQLException { return null; }
+    public  static Connection 	getConnection(String url, String user, String password) throws  SQLException { return null; }
+    public  static Driver 	getDriver(String url)   throws  SQLException { return null; }
+    public  static java.util.Enumeration<Driver> 	getDrivers() { return null; }
+    public  static int 	getLoginTimeout() { return 0; }
+    public  static java.io.PrintStream 	getLogStream() { return null; }
+    public  static java.io.PrintWriter 	getLogWriter() { return null; }
+    public  static void 	println(String message) {}
+    public  static void 	registerDriver(Driver driver)   throws  SQLException {}
+    public  static void 	setLoginTimeout(int seconds) {}
+    public  static void 	setLogStream(java.io.PrintStream out) {}
+    public  static void 	setLogWriter(java.io.PrintWriter out) {}
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverPropertyInfo.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverPropertyInfo.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverPropertyInfo.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverPropertyInfo.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   DriverPropertyInfo
+{
+    public  String[] 	choices;
+    public  String 	description;
+    public  String 	name;
+    public  boolean 	required;
+    public  String 	value ;
+
+    public  DriverPropertyInfo(String name, String value) {}
+
+    
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/DriverPropertyInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/NClob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/NClob.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/NClob.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/NClob.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   NClob    extends Clob
+{
+
+
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/NClob.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ParameterMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/ParameterMetaData.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/ParameterMetaData.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/ParameterMetaData.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;
+
+public  interface   ParameterMetaData   extends Wrapper
+{
+    int parameterModeIn = 1;
+    int parameterModeInOut = 2;
+    int parameterModeOut = 4;
+    int parameterModeUnknown = 0;
+    int parameterNoNulls = 0;
+    int parameterNullable = 1;
+    int parameterNullableUnknown = 2;
+
+    public  String 	getParameterClassName(int param)    throws  SQLException;
+    public  int 	getParameterCount() throws  SQLException;
+    public  int 	getParameterMode(int param) throws  SQLException;
+    public  int 	getParameterType(int param) throws  SQLException;
+    public  String 	getParameterTypeName(int param) throws  SQLException;
+    public  int 	getPrecision(int param) throws  SQLException;
+    public  int 	getScale(int param) throws  SQLException;
+    public  int 	isNullable(int param)   throws  SQLException;
+    public  boolean 	isSigned(int param) throws  SQLException;
+
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/ParameterMetaData.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/PreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/PreparedStatement.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/PreparedStatement.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/PreparedStatement.java Tue Dec  9 07:06:09 2008
@@ -0,0 +1,84 @@
+/* 
+ * 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   PreparedStatement   extends Statement
+{
+    public  void 	addBatch()  throws  SQLException;
+    public  void 	clearParameters()   throws  SQLException;
+    public  boolean 	execute()   throws  SQLException;
+    public  ResultSet 	executeQuery()  throws  SQLException;
+    public  int 	executeUpdate() throws  SQLException;
+    public  ResultSetMetaData 	getMetaData()   throws  SQLException;
+    public  ParameterMetaData 	getParameterMetaData()  throws  SQLException;
+    public  void 	setArray(int parameterIndex, 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(int parameterIndex, InputStream x, long length)  throws  SQLException;
+    public  void 	setBigDecimal(int parameterIndex, 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(int parameterIndex, InputStream x, long 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 	setBoolean(int parameterIndex, boolean x)   throws  SQLException;
+    public  void 	setByte(int parameterIndex, byte x) throws  SQLException;
+    public  void 	setBytes(int parameterIndex, 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(int parameterIndex, Reader reader, long 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 	setDate(int parameterIndex, Date x) throws  SQLException;
+    public  void 	setDate(int parameterIndex, Date x, Calendar cal)   throws  SQLException;
+    public  void 	setDouble(int parameterIndex, double x) throws  SQLException;
+    public  void 	setFloat(int parameterIndex, float x)   throws  SQLException;
+    public  void 	setInt(int parameterIndex, int x)   throws  SQLException;
+    public  void 	setLong(int parameterIndex, long x) throws  SQLException;
+    public  void 	setNCharacterStream(int parameterIndex, Reader value)   throws  SQLException;
+    public  void 	setNCharacterStream(int parameterIndex, 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 	setNString(int parameterIndex, 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 	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 	setRef(int parameterIndex, Ref x)   throws  SQLException;
+    public  void 	setRowId(int parameterIndex, RowId x)   throws  SQLException;
+    public  void 	setShort(int parameterIndex, short x)   throws  SQLException;
+    public  void 	setSQLXML(int parameterIndex, SQLXML xmlObject) throws  SQLException;
+    public  void 	setString(int parameterIndex, 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 	setTimestamp(int parameterIndex, Timestamp x)   throws  SQLException;
+    public  void 	setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws  SQLException;
+    public  void 	setUnicodeStream(int parameterIndex, InputStream x, int length) throws  SQLException;
+    public  void 	setURL(int parameterIndex, URL x)   throws  SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/PreparedStatement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Ref.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/java/sql/Ref.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/java/sql/Ref.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/java/sql/Ref.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   Ref
+{
+    public  String 	getBaseTypeName()   throws  SQLException;
+    public  Object 	getObject() throws  SQLException;
+    public  Object 	getObject(java.util.Map<String,Class<?>> map) throws  SQLException;
+    public  void 	setObject(Object value) throws  SQLException;
+}

Propchange: db/derby/code/trunk/java/stubs/jdbc4/java/sql/Ref.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message