Hi.

I found some problem. I need have special method in model class which do some 
lazy initialization which can't be called from iBatis mapper. But problem is, 
that iBatis call all getXyz methods during insert or updated, also if I don't 
specify this fields in mapper xml file. I think that he call all get methods.

Don't be better call only methods which is used in mapper XML file?

Or exist some annotation which tell Ibatis don't use some method?

I also tried move these methods to parent abstract class. So it is not defined 
in model class directly, but Ibatis still call them during insert or update. 

Do you somebody have some idea?

   
Datum: 8:00:11    12. dubna 2010
-- 
---------------------------------------------------------------------
 Tomáš Procházka


 E-mail: t.procha...@centrum.cz
    WWW: http://www.atomsoft.cz
    ICQ: 87147320
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to