JBoss Community

Re: Persisting java.util.Map with custom class as key and value

created by Wolf-Dieter Fink in Beginner's Corner - View the full discussion

Mmmh,

you are right, @ElementCollection is a EJB3.1 annotation (ähm a JPA2.0 which is part of EJB3.1).

ATM I have this options:

- store as a BLOB (MAP and its elements must be serializable)

- write your own mapper to store (and respect the EJB3.1 structure to port later :) )

- use a table with relation to store it

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community