Discussions

EJB programming & troubleshooting: Instead of JavaBean map,Can I use HashMap to mapping Ldap entry?

  1. Hi, Instead of a rich (JavaBean)object, sometimes all you might need is a simple key/value list of the data.So can I map HashMap to Ldap entry by using IBATIS xml style mapper. Like how support sql mapping(Maps with ResultMaps) Can you please suggest me. Thanks in Advance, Rao
  2. If your requirement is just for storing key/value pair, then a Map will surely work. Thanks, Vinod http://blog.vinodsingh.com/
  3. Hi Vinod, Thanks for replay! Can you please eloborate more,If possible can you please suggest the ibatismapper.xml file how to add one user profile Thanks in advance, Rao