cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source BlobSource.java
Date Sun, 01 Dec 2002 21:20:14 GMT
sylvain     2002/12/01 13:20:14

  Modified:    src/scratchpad/src/org/apache/cocoon/components/source
                        BlobSource.java
  Log:
  Handle more column types
  
  Revision  Changes    Path
  1.6       +6 -1      xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/BlobSource.java
  
  Index: BlobSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/BlobSource.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BlobSource.java	13 Sep 2002 07:30:51 -0000	1.5
  +++ BlobSource.java	1 Dec 2002 21:20:14 -0000	1.6
  @@ -212,6 +212,11 @@
                       return new JDBCInputStream(clob.getAsciiStream(), cnx);
                   //break;
   
  +                case Types.LONGVARBINARY :
  +                case Types.VARBINARY :
  +                    return new JDBCInputStream(rs.getBinaryStream(1), cnx);
  +                //break;
  +              	
                   default :
                       String value = rs.getString(1);
                       stmt.close();
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message