Hi,
I have a use case where I need to create a set of custom fields with different primitive types and their values in say a Person object.
So the Person object would look like -
public class Person {
@Id
@GeneratedValue
private Long id;
private String firstName;
private String lastName;
private Set<int, string, boolean...> customFields;
}
Does Hibernate support persisting such a collection. If so, can someone point me on how to achieve the same?
Thanks in advance.