ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsterner <brianster...@gmail.com>
Subject resultMap and HashMap
Date Fri, 30 Nov 2007 21:18:10 GMT

I'm wondering if it is possible to have a resultMap with type HashMap/TreeMap
where the key/value pairs map to 2 columns.  So, for example if I have a
column "id" and a column "date", the k => v pair would be date => id or vice
versa.  The overall goal here is to provide the developer a data structure
that allows them to be able to search for a date entry, and then research
for the entire object using the id.

View this message in context: http://www.nabble.com/resultMap-and-HashMap-tf4924592.html#a14093711
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message