I have already seen
http://stackoverflow.com/questions/287201/how-to-persist-a-property-of-type-liststringin-jpa
and
http://stackoverflow.com/questions/796347/map-a-list-of-strings-with-jpa-hibernate-annotations
=============================================================================
I am trying to save
List<String>
through JPA. I came to know that JPA 1.0 doesn't have any way to persist collection of non-entity classes but JPA 2.0 have included @CollectionOfElements
annotation.
First, I am not sure which JPA 2.0 implementation to use. Earlier I was using toplink-essentials but it doesn't have @CollectionOfElements
annotation.
I downloaded eclipse-link but didn't find any jar files inside it.
So my question is to which JPA 2.0 implementation to use which provides jar files so that I can include those jars in my project as I have done for toplink-essentials.