Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Spring How to populate collection like map with annotation in mybatis?

Have Programming Question? Ask it here!
 
 
 


Ranajit Paul
How to populate collection like map with annotation in mybatis?
0 Answer(s)      9 months ago
Posted in : Spring


  <collection property="participantCas" column="agmtsID" javaType="java.util.ArrayList" ofType="com.Client">
    <id property="partyId" column="partcptPartyId"/>
    <result property="clientName" column="partcptName"/>
    <result property="cas" column="partcptcas"/></collection>

I have tried to map this collection property using annotation. But it didn't work.How to remap this collection property? Please let us know the answer ASAP.Thank you very much in advance.


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
map
Map
Map
 

 

 

DMCA.com