JPA - How to persist java.util.Set through JPA?

Posted by Yatendra Goel on Stack Overflow See other posts from Stack Overflow or by Yatendra Goel
Published on 2010-04-17T06:51:39Z Indexed on 2010/04/17 7:03 UTC
Read the original article Hit count: 185

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about jpa