[CONJ-994] Version 3.x rejects previously accepted boolean string parameter for BOOLEAN field Created: 2022-07-17 Updated: 2022-07-26 Resolved: 2022-07-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | 2.7 compatibility |
| Affects Version/s: | 3.0.3, 3.0.4, 3.0.5, 3.0.6 |
| Fix Version/s: | 3.0.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Julian Halliwell | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Description |
|
In version 2.x setting a SQL parameter value for a BOOLEAN field insert/update as follows was accepted:
Note that the value is a quoted string. In 3.x this results in:
|
| Comments |
| Comment by Diego Dupin [ 2022-07-26 ] |
|
This concerns not only boolean, but lots of combination when value class doesn't correspond to SQLType. |