|
[
Permalink
| « Hide
]
Chouteau Mathieu added a comment - 16/May/14 08:00 AM
JUnit test case
To create the table wich is used by the JUnit test case :
CREATE TABLE TEST ( ID integer NOT NULL, CODE varchar(5), CONSTRAINT CONSTRAINT_NAME PRIMARY KEY (ID) ); The observed behavior is caused by a check that doesn't take the bytes per character into account. It will only throw the DataTruncation exception when the value exceeds the storage length (nr chars * nr of bytes per char) instead of the nr of chars. I am not sure if I am going to fix this in 2.2 as this will probably be significantly rewritten in Jaybird 3.0.
|