I'm wondering if it's possible to define a map with unknown (Object) element type.
I have an object with the following map defined:
Map<String, Object> attributes = new HashMap<String, Object>();
Sometimes an attribute can be a String
and sometimes it can be a java.util.Date
Is there any elegant way to handle such a data object in Hibernate?
BTW I'm using HBM XML
Thanks!