jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r735984 - /jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java
Date Tue, 20 Jan 2009 10:26:27 GMT
Author: jukka
Date: Tue Jan 20 02:26:27 2009
New Revision: 735984

URL: http://svn.apache.org/viewvc?rev=735984&view=rev
Log:
jdbc2jcr: Disable blob access for now, it doesn't seem to work.

Modified:
    jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java

Modified: jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java?rev=735984&r1=735983&r2=735984&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java
(original)
+++ jackrabbit/sandbox/jackrabbit-jdbc2jcr/src/main/java/org/apache/jackrabbit/jdbc/JCRColumn.java
Tue Jan 20 02:26:27 2009
@@ -152,14 +152,15 @@
     }
 
     public InputStream getStream(Node node) throws SQLException {
-        try {
-            return getValue(node).getStream();
-        } catch (PathNotFoundException e) {
-            return new ByteArrayInputStream(new byte[0]);
-        } catch (RepositoryException e) {
-            throw new SQLExceptionWithCause(
-                    "Failed to access property: " + path, e);
-        }
+        return new ByteArrayInputStream(new byte[0]);
+//        try {
+//            return getValue(node).getStream();
+//        } catch (PathNotFoundException e) {
+//            return new ByteArrayInputStream(new byte[0]);
+//        } catch (RepositoryException e) {
+//            throw new SQLExceptionWithCause(
+//                    "Failed to access property: " + path, e);
+//        }
     }
 
     public long getLength(Node node) throws SQLException {



Mime
View raw message