fixed null handling for all Derby drivers to be the same as for the embedded driver (SPR-6000)

master
Thomas Risberg 15 years ago
parent 0baa29f1ac
commit 84c1b56e35
  1. 2
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/core/StatementCreatorUtils.java

@ -238,7 +238,7 @@ public abstract class StatementCreatorUtils {
else if (databaseProductName.startsWith("DB2") || else if (databaseProductName.startsWith("DB2") ||
jdbcDriverName.startsWith("jConnect") || jdbcDriverName.startsWith("jConnect") ||
jdbcDriverName.startsWith("SQLServer")|| jdbcDriverName.startsWith("SQLServer")||
jdbcDriverName.startsWith("Apache Derby Embedded")) { jdbcDriverName.startsWith("Apache Derby")) {
sqlType = Types.VARCHAR; sqlType = Types.VARCHAR;
} }
} }

Loading…
Cancel
Save