Commits

Anonymous committed 8563c40
  • Participants
  • Parent commits ea826eb

Comments (0)

Files changed (1)

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

         // Oracle support suggestion also Michael G. Slack
         if ((driverName.indexOf("SQLSERVER") >= 0) || (driverName.indexOf("ORACLE") >= 0)) {
             ps.setNull(3, Types.BINARY);
+        } else if (driverName.indexOf("SYBASE") >= 0) {
+            ps.setNull(3, Types.VARBINARY);
         } else {
             ps.setNull(3, Types.BLOB);
         }