Can association in mybatis be used in nesting?

for example, can I do this

<association property="">
        <association property=""></association>

    </association>

I tried, and the compilation passed, but there was an error at run time, if not.

the function I"m trying to do now is that there are three classes, Amam Bjurisdiction C

.

c as the attribute of B, and B as the attribute of A, I hope to find out the data of a

c at one time through the id of c. How should I write my mapping file

Mar.04,2021
Menu