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?
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)