I used mybatis-spring-1.0.3-SNAPSHOT mybatis-3.0.6 spring3.0.6.I tried to delete record from a table like this:
The problem is that since the 3.0.x versions the default JDBC type for null parameters is Types.OTHER
which not supported by some JDBC drivers like Oracle 10g.
Here a post that explain this issue.
The solution I found is very simple, I set jdbcTypeForNull
to NULL
in the configuration file.
....
....