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/601345#601345
--------------------------------------------------------------
In that case you have to write a hibernate mapper for this:
1)
Add annotation to your field => @org.hibernate.annotations.Type(type =
"my.MapTypeBlobUserType")
2)
Write the mapper class my.MapTypeBlobUserType
implementing => org.hibernate.usertype.UserType
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/601345#601345]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]