Ranajit Paul
How to populate collection like map with annotation in mybatis?
0 Answer(s)      a year and 6 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