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 [11/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/s...
Date Tue, 09 Dec 2008 15:06:12 GMT
Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialBlob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialBlob.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialBlob.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialBlob.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.rowset.serial;
+
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.sql.Blob;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Map;
+
+public  class   SerialBlob implements  Blob, Cloneable, java.io.Serializable
+{
+    public  SerialBlob(Blob blob) throws SerialException {}
+    public  SerialBlob(byte[] b) throws SerialException {}
+
+    public  void 	free() throws SQLException {}
+    public  InputStream 	getBinaryStream() throws SerialException { return null; }
+    public  InputStream 	getBinaryStream(long pos, long length) throws SQLException { return
null; }
+    public  byte[] 	getBytes(long pos, int length) throws SerialException { return null;
}
+    public  long 	length() throws SerialException { return 0L; }
+    public  long 	position(Blob pattern, long start) throws SerialException, SQLException
{ return 0L; }
+    public  long 	position(byte[] pattern, long start) throws SerialException, SQLException
{ return 0L; }
+    public  OutputStream 	setBinaryStream(long pos) throws SerialException, SQLException
{ return null; }
+    public  int 	setBytes(long pos, byte[] bytes) throws SerialException, SQLException {
return 0; }
+    public  int 	setBytes(long pos, byte[] bytes, int offset, int length) throws SerialException,
SQLException { return 0; }
+    public  void 	truncate(long length) throws SerialException {}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialBlob.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialClob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialClob.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialClob.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialClob.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 javax.sql.rowset.serial;
+
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.Reader;
+import java.io.Writer;
+import java.sql.Clob;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Map;
+
+public  class   SerialClob implements Clob, Cloneable, java.io.Serializable
+{
+    public  SerialClob(char[] ch) throws SQLException, SerialException {}
+    public  SerialClob(Clob clob) throws SQLException, SerialException {}
+
+    public  void 	free() throws SQLException {}
+    public  InputStream 	getAsciiStream() throws SQLException, SerialException { return null;
}
+    public  Reader 	getCharacterStream() throws SerialException { return null; }
+    public  Reader 	getCharacterStream(long pos, long length) throws SQLException { return
null; }
+    public  String 	getSubString(long pos, int length) throws SerialException { return null;
}
+    public  long 	length() throws SerialException { return 0L; }
+    public  long 	position(Clob searchStr, long start) throws SQLException, SerialException
{ return 0L; }
+    public  long 	position(String searchStr, long start) throws SQLException, SerialException
{ return 0L; }
+    public  OutputStream 	setAsciiStream(long pos) throws SQLException, SerialException 
{ return null; }
+    public  Writer 	setCharacterStream(long pos) throws SQLException, SerialException  {
return null; }
+    public  int 	setString(long pos, String str) throws SerialException { return 0; }
+    public  int 	setString(long pos, String str, int offset, int length) throws SerialException
{ return 0; }
+    public  void 	truncate(long length) throws SerialException {}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialClob.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialDatalink.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialDatalink.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialDatalink.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialDatalink.java Tue Dec
 9 07:06:09 2008
@@ -0,0 +1,29 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.net.URL;
+
+public  class   SerialDatalink implements Cloneable, java.io.Serializable
+{
+    public  SerialDatalink(URL url) throws SerialException {}
+
+    public  URL 	getDatalink() throws SerialException { return null; }
+    
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialDatalink.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialException.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialException.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialException.java Tue
Dec  9 07:06:09 2008
@@ -0,0 +1,28 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.sql.SQLException;
+
+public  class   SerialException extends SQLException
+{
+    public  SerialException() {}
+    public  SerialException(String msg) {}
+
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialJavaObject.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialJavaObject.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialJavaObject.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialJavaObject.java Tue
Dec  9 07:06:09 2008
@@ -0,0 +1,29 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.net.URL;
+
+public  class   SerialJavaObject implements Cloneable, java.io.Serializable
+{
+    public  SerialJavaObject(Object obj) throws SerialException {}
+
+    public  java.lang.reflect.Field[] 	getFields() throws SerialException { return null;
}
+    public  Object 	getObject() throws SerialException { return null; }
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialJavaObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialRef.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialRef.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialRef.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialRef.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 javax.sql.rowset.serial;
+
+import java.sql.Ref;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.Map;
+
+public  class   SerialRef implements  Ref, Cloneable, java.io.Serializable
+{
+    public  SerialRef(Ref ref) throws SQLException, SerialException {}
+
+    public  String 	getBaseTypeName() throws SerialException { return null; }
+    public  Object 	getObject() throws SerialException { return null; }
+    public  Object 	getObject(Map<String,Class<?>> map) throws SerialException
{ return null; }
+    public  void 	setObject(Object obj) throws SerialException {}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialRef.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialStruct.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialStruct.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialStruct.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialStruct.java Tue Dec
 9 07:06:09 2008
@@ -0,0 +1,35 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.serial;
+
+import java.sql.Struct;
+import java.sql.ResultSet;
+import java.sql.SQLData;
+import java.sql.SQLException;
+import java.util.Map;
+
+public  class   SerialStruct implements  Struct, Cloneable, java.io.Serializable
+{
+    public  SerialStruct(SQLData in, Map<String,Class<?>> map) throws SerialException
{}
+    public  SerialStruct(Struct in, Map<String,Class<?>> map) throws SerialException
{}
+
+    public  Object[] 	getAttributes() throws SerialException { return null; }
+    public  Object[] 	getAttributes(Map<String,Class<?>> map) throws SerialException
{ return null; }
+    public  String 	getSQLTypeName() throws SerialException { return null; }
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/serial/SerialStruct.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactory.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactory.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactory.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactory.java Tue Dec  9
07:06:09 2008
@@ -0,0 +1,41 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.util.Enumeration;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import javax.naming.Context;
+
+public  class   SyncFactory
+{
+    public static String ROWSET_SYNC_PROVIDER = "rowset.provider.classname";
+    public static String ROWSET_SYNC_PROVIDER_VERSION = "rowset.provider.version";
+    public static String ROWSET_SYNC_VENDOR = "rowset.provider.vendor";
+
+    public  static SyncProvider 	getInstance(String providerID) throws SyncFactoryException
{ return null; }
+    public  static Logger 	getLogger() throws SyncFactoryException { return null; }
+    public  static Enumeration<SyncProvider> 	getRegisteredProviders() throws SyncFactoryException
{ return null; }
+    public  static SyncFactory 	getSyncFactory() { return null; }
+    public  static void 	registerProvider(String providerID) throws SyncFactoryException
{}
+    public  static void 	setJNDIContext(Context ctx) throws SyncFactoryException {}
+    public  static void 	setLogger(Logger logger) {}
+    public  static void 	setLogger(Logger logger, Level level) {}
+    public  static void 	unregisterProvider(String providerID) throws SyncFactoryException
{}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactoryException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactoryException.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactoryException.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactoryException.java Tue
Dec  9 07:06:09 2008
@@ -0,0 +1,27 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+
+public  class   SyncFactoryException    extends SQLException
+{
+    public  SyncFactoryException() {}
+    public  SyncFactoryException(String msg) {}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncFactoryException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProvider.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProvider.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProvider.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProvider.java Tue Dec  9
07:06:09 2008
@@ -0,0 +1,51 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+import javax.sql.RowSet;
+import javax.sql.RowSetReader;
+import javax.sql.RowSetWriter;
+
+public  abstract    class   SyncProvider
+{
+    public static int DATASOURCE_DB_LOCK = 4;
+    public static int DATASOURCE_NO_LOCK = 1;
+    public static int DATASOURCE_ROW_LOCK = 2;
+    public static int DATASOURCE_TABLE_LOCK = 3;
+    public static int GRADE_CHECK_ALL_AT_COMMIT = 3;
+    public static int GRADE_CHECK_MODIFIED_AT_COMMIT = 2;
+    public static int GRADE_LOCK_WHEN_LOADED = 5;
+    public static int GRADE_LOCK_WHEN_MODIFIED = 4;
+    public static int GRADE_NONE = 1;
+    public static int NONUPDATABLE_VIEW_SYNC = 6;
+    public static int UPDATABLE_VIEW_SYNC = 5;
+
+    public  SyncProvider() {}
+
+    public  abstract  int 	getDataSourceLock() throws SyncProviderException;
+    public  abstract  int 	getProviderGrade();
+    public  abstract  String 	getProviderID();
+    public  abstract  RowSetReader 	getRowSetReader();
+    public  abstract  RowSetWriter 	getRowSetWriter();
+    public  abstract  String 	getVendor();
+    public  abstract  String 	getVersion();
+    public  abstract  void 	setDataSourceLock(int datasource_lock) throws SyncProviderException;
+    public  abstract  int 	supportsUpdatableView();
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProviderException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProviderException.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProviderException.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProviderException.java Tue
Dec  9 07:06:09 2008
@@ -0,0 +1,31 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+
+public  class   SyncProviderException    extends SQLException
+{
+    public  SyncProviderException() {}
+    public  SyncProviderException(String msg) {}
+    public  SyncProviderException(SyncResolver syncResolver) {}
+
+    public  SyncResolver 	getSyncResolver() { return null; }
+    public  void 	setSyncResolver(SyncResolver syncResolver) {}
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncProviderException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncResolver.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncResolver.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncResolver.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncResolver.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 javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+import javax.sql.RowSet;
+
+public  interface   SyncResolver    extends RowSet
+{
+    public static int DELETE_ROW_CONFLICT = 1;
+    public static int INSERT_ROW_CONFLICT = 2;           
+    public static int NO_ROW_CONFLICT = 3;
+    public static int UPDATE_ROW_CONFLICT = 0; 
+
+    public  Object 	getConflictValue(int index) throws SQLException;
+    public  Object 	getConflictValue(String columnName) throws SQLException;
+    public  int 	getStatus();
+    public  boolean 	nextConflict() throws SQLException;
+    public  boolean 	previousConflict() throws SQLException;
+    public  void 	setResolvedValue(int index, Object obj) throws SQLException;
+    public  void 	setResolvedValue(String columnName, Object obj) throws SQLException;
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/SyncResolver.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/TransactionalWriter.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/TransactionalWriter.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/TransactionalWriter.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/TransactionalWriter.java Tue
Dec  9 07:06:09 2008
@@ -0,0 +1,30 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.Savepoint;
+import java.sql.SQLException;
+import javax.sql.RowSetWriter;
+
+public  interface   TransactionalWriter extends RowSetWriter
+{
+    public  void 	commit() throws SQLException;
+    public  void 	rollback() throws SQLException;
+    public  void 	rollback(Savepoint s) throws SQLException;
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/TransactionalWriter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlReader.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlReader.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlReader.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlReader.java Tue Dec  9 07:06:09
2008
@@ -0,0 +1,27 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+import javax.sql.RowSetReader;
+
+public  interface   XmlReader    extends RowSetReader
+{
+    public  void 	readXML(javax.sql.rowset.WebRowSet caller, java.io.Reader reader) throws
SQLException;
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlReader.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlWriter.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlWriter.java?rev=724735&view=auto
==============================================================================
--- db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlWriter.java (added)
+++ db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlWriter.java Tue Dec  9 07:06:09
2008
@@ -0,0 +1,27 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.sql.rowset.spi;
+
+import java.sql.SQLException;
+import javax.sql.RowSetWriter;
+
+public  interface   XmlWriter    extends RowSetWriter
+{
+    public  void 	writeXML(javax.sql.rowset.WebRowSet caller, java.io.Writer writer) throws
SQLException;
+}
+

Propchange: db/derby/code/trunk/java/stubs/jdbc4/javax/sql/rowset/spi/XmlWriter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: db/derby/code/trunk/tools/ant/properties/dirs.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/tools/ant/properties/dirs.properties?rev=724735&r1=724734&r2=724735&view=diff
==============================================================================
--- db/derby/code/trunk/tools/ant/properties/dirs.properties (original)
+++ db/derby/code/trunk/tools/ant/properties/dirs.properties Tue Dec  9 07:06:09 2008
@@ -44,6 +44,8 @@
 
 out.stubs.dir=${out.dir}/stubs
 out.jsr169.dir=${out.stubs.dir}/jsr169
+out.jdbc3.dir=${out.stubs.dir}/jdbc3
+out.jdbc4.dir=${out.stubs.dir}/jdbc4
 
 #
 # OpenSource dirs
@@ -54,6 +56,8 @@
 
 derby.stubs.dir=${derbysrc.dir}/stubs
 derby.jsr169.src.dir=${derby.stubs.dir}/jsr169
+derby.jdbc3.src.dir=${derby.stubs.dir}/jdbc3
+derby.jdbc4.src.dir=${derby.stubs.dir}/jdbc4
 
 derby.engine.src.dir=${derbysrc.dir}/engine
 derby.engine.src.dir=${derbysrc.dir}/engine



Mime
View raw message