I have an existing database of a film rental system. Each film has a has a rating attribute. In SQL they used a constraint to limit the allowed values of this attribute.
have you tried to store the ordinal value. Store the string value works fine if you don't have an associated String to the value:
@Enumerated(EnumType.ORDINAL)