Maximum attribute length

5
What would happened if I would try to change an object and try to set a string with length '6' into an attribute that has a maximum length of '3'. Will this result in an error or will the first 3 characters of the string be set?
asked
1 answers
5

You will get an exception as the max length of an attribute is defined in the database.

eg. postgres would return --> ERROR: value too long for type character varying(3)

answered