JPA - How to persist java.util.Set through JPA?
- by Yatendra Goel
I have a field aliases of type java.util.Set in one Entity. This Set doesn't denote any relationship to an Entity.
Q1. How can I store this aliases field through JPA?
Q2. How this field get stored in database? I think that for the database, this field is a multi-valued attribute.