Description
When PreparedStatement.setNull(int, int) is called, the embedded driver will check whether the sqlType parameter specifies a type which is compatible with the actual parameter type. If the types are not compatible, an exception is thrown. The client driver does not check whether the types are compatible, and does not throw an exception.
Both drivers behave according to the spec, but one of them should be changed to match the other one.
Attachments
Issue Links
- is part of
-
DERBY-1501 PreparedStatement#setNull(int parameterIndex, int sqlType) throws SQL Exception if given sqlType is LONGVARBINARY in embedded mode
- Closed
-
DERBY-1610 Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver
- Closed
-
DERBY-310 Document and/or change Derby client code to match behavior with Embedded driver where possible.
- Closed