cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r699778 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java
Date Sun, 28 Sep 2008 08:19:22 GMT
Author: aadamchik
Date: Sun Sep 28 01:19:21 2008
New Revision: 699778

URL: http://svn.apache.org/viewvc?rev=699778&view=rev
Log:
CAY-1107 Support JDBC 4
(adding JDBC 4 methods to JDBC 3 classes that do not require new JDBC interfaces)

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java?rev=699778&r1=699777&r2=699778&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java
Sun Sep 28 01:19:21 2008
@@ -228,32 +228,60 @@
         connection.setTypeMap(map);
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public Blob createBlob() throws SQLException {
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public Clob createClob() throws SQLException {
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public Struct createStruct(String typeName, Object[] attributes) throws SQLException
{
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public Properties getClientInfo() throws SQLException {
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public String getClientInfo(String name) throws SQLException {
-        return null;
+        throw new UnsupportedOperationException();
     }
 
+    /**
+     * @since 3.0
+     */
+    // JDBC 4 compatibility under Java 1.5
     public boolean isValid(int timeout) throws SQLException {
-        return false;
+        throw new UnsupportedOperationException();
     }
 
     /**



Mime
View raw message