PIM-3447 Enforce max database length limit on text attribute values

| Q                    | A
| -------------------- | ---
| Bug fix?             | Y
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | N
| Tests pass?          | Y
| Scenarios pass?      | Y
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | Y
| Fixed tickets        | PIM-3447
| Doc PR               | ~
use constants please
I'm sure one day, sby'll want to extend the limit for some reasons...