|
Cold someone please tell me, or point me to an example of a hibernate user type (or collection, whatever) that stores a map of string/sets?
I was thinking of writing a custom type, that would be sed as a property, so the ID is stored in the parent table, and a separate table, or tables, is/are used to store the String/Set mapping, and the contents of the set.
However, im not sure how to go about defining extra tables in the custom type java. (nor am I sure how to use a native ID in that context)
Thank you.
|