Wolf-Dieter Fink [
http://community.jboss.org/people/wdfink] created the discussion
"Re: Persisting java.util.Map with custom class as key and value"
To view the discussion, visit:
http://community.jboss.org/message/600490#600490
--------------------------------------------------------------
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
[
http://community.jboss.org/message/600490#600490]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]