Re: queryForMap from resultMap

2005-02-17 Thread Brandon Goodin
It's not possible to perform a queryForMap from the complex property. Also, do you realize that the complex property query will not reduce the number of hits on your database. So, I would suggest that you query your accounts first and then iterate through the list using the queryForMap. It's a lit

Re: queryForMap from resultMap

2005-02-17 Thread Anad Fida
How to queryForMap using the resultMap complex properties functionality. I need to know how do I use queryForMap using resultMap complex properties functionality but for this map, I should be able to define which column to use as key and which to use as value. Amad Brandon Goodin wrote: I am not

Re: queryForMap from resultMap

2005-02-17 Thread Brandon Goodin
I am not sure which issue your asking for help on... How to reduce the number of queries. -- or -- How to queryForMap using the resultMap complex properties functionality. Could you please clarify what you are asking. Brandon On Thu, 17 Feb 2005 03:05:56 -0800, Anad Fida <[EMAIL PROTECTED]> w

queryForMap from resultMap

2005-02-17 Thread Anad Fida
I have a Domain Object as following, public class Account { private long accountKey; private String accountName; private String userName; private Date lastUpdateDate; // Holds account attribute name - values private Map accountAttributes; // Setters/Getters } I have accounts, att

queryForMap from resultMap

2005-02-17 Thread Anad Fida
I have a Domain Object as following, public class Account { private long accountKey; private String accountName; private String userName; private Date lastUpdateDate; // Holds account attribute name - values private Map accountAttributes; // Setters/Getters } I have a