Hello, I get many "SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column * ... " and I have way too many classes to validate each column manually, but all my models have the length of the strings columns specified in the annotations. All my classes inherit from a main class where I do my general validations in a beforeInsert() function
I there a way to validate the string length against the annotation length before insert ?
Thanks for your help.
Maelan