I want to write that
<resultMap id="profiles" type="Profile">
<id column="profID"/>
<result column="profName" property="name"/>
<collection property="properties">
<id column="propID"/>
<result column="propName" property="name"/>
<result column="propValue" property="value"/>
</collection>
</resultMap>
in tis way
@Results({
@Result(column="profID" id=true),
@Result(column="profName" property="name"),
@Result(property="properties" many=@Many(@Results{
@Result(column="propId" id=true),
@Result(column="propName" property="name"),
@Result(column="propValue" property="value")
})
})
As I understud now there is no way for that, right? so, WHY?
Comment From: harawata
Because Java annotation disallows recursion by design at the moment. Please see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6264216
As stated in the issue template, we use GitHub Issues only to track bugs and feature requests. Please post your next question to the mailing list or Stack Overflow. Thank you!