HHH-4699 trim value from database before Enum.valueOf()

this change fixes the problem with fixed size columns with enum values
that are right padded.
HHH-4699 test case