ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Ross" <G.R...@ccw.gov.uk>
Subject RE: How to support read-only fields/paramters
Date Mon, 07 May 2007 09:09:30 GMT
Yes it does help : It works  a treat - but how ?  Private methods are
only accessable from within the class itself, and iBatis is not part of
my class.

GTG

>>> "MCCORMICK, Paul" <Paul.McCORMICK@doir.wa.gov.au> 05/07/07 8:35 AM
>>>

Ibatis can use the private methods. 

E.g.  If you define the method as "private void setId(Integer id) {..}"
then ibatis can call it.

Hope this helps,


Mime
View raw message