I am trying to access an ibatis 2.x result map in another result map in the same sql mapping file. Like this:
But i am getting the following exception when ever i execute my spring-ibatis project:
If i comment out the code that is accessing the other resultmaps from the profileResultMap it works fine. Can somebody please tell me how to refer other result maps from another result map.
Thank you.
I need it because i am firing a join query that accesses multiple tables. This result map is the main result map so it is needed for this result map and not the others. My query is as follows:
Considering where rankMap and branchMap are defined (in the same file as profileMap), I still don't see the need to use resultMap="profile.rankMap" for one and resultMap="branchMap" for the other.