ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakub Scheibe" <jakub.sche...@gmail.com>
Subject Re: Select problem...
Date Thu, 15 Mar 2007 16:16:31 GMT
Hi again.

May be i really didn't specified the problem properly.
I'll try to do it again.

I have 3 classes (class1, class2, class3).
Class2 is used inside class1 and class3 is used inside class2.
I want to call select for class1 and get all the data from the classes 2 and
in the result map of class1. The result map of class1 have matching prop
<result property="Class2.Test" column="Test" select="Class3"/>.
I can't create result map for Class2 cause there is no db table
related with this class. So in that situation I'm getting message:
unable cast class1 to class2.


View raw message