Commits

hani  committed f55f886

Use getBinaryStream instead of getBytes

git-svn-id: http://svn.opensymphony.com/svn/propertyset/trunk@150bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

  • Participants
  • Parent commits 0c7d2c8

Comments (0)

Files changed (1)

File src/java/com/opensymphony/module/propertyset/database/JDBCPropertySet.java

 
                 case PropertySet.OBJECT:
 
-                    ByteArrayInputStream bis = new ByteArrayInputStream(rs.getBytes(colData));
+                    InputStream bis = rs.getBinaryStream(colData);
 
                     try {
                         ObjectInputStream is = new ObjectInputStream(bis);