In the codes below, I\'m trying to create a ManyToOne relationship between two entities using Hibernate but I get the error that "ManyToOne attribute type should not b