Your are lucky!
OJB provide a mechanism to use user defined collection.
All you have to to is to write a class
ManageableMap that extends HashMap and implements org.apache.ojb.broker.ManageableCollection.
ManageableCollection defines a contract between the OJB framework and user defined collections.
Have a look at org.apache.ojb.broker.util.collections.ManageableHashSet for an example.
should be fairly easy to do.
Once you are finished with your Map please post it to the list, I will include it into the distro.
thanks,
Thomas
Raymond Lukas wrote:
I am just starting to read up on OJB and will be evaluating it for work.
Reading through the Advanced O/R Mapping section I did not see any
mention of java.util.Map. So how do I persist a class which contains one
of my favorite classes, of java.util.Map. I am hoping that I do not have
to give up the Map class... Nahhh, say it ain't so...
Thank you ray
-- To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
