RE: Problem exposing protected setters for iBatis

2008-05-12 Thread Kezerashvili, Denis
: Re: Problem exposing protected setters for iBatis Waitaminute... maybe I didn't read the earlier threads as well as I should have... Are you saying protected members don't work, but PRIVATE members do!? If so, that is completely screwy! :-) I'll write some tests tonight to see

Re: Problem exposing protected setters for iBatis

2008-05-12 Thread Clinton Begin
> From: Brandon Goodin [mailto:[EMAIL PROTECTED] > Sent: Monday, May 12, 2008 12:31 PM > > > To: user-java@ibatis.apache.org > Subject: Re: Problem exposing protected setters for iBatis > > > > It looks like we have a fix on the way. Is there special l

RE: Problem exposing protected setters for iBatis

2008-05-12 Thread Kezerashvili, Denis
-java@ibatis.apache.org Subject: Re: Problem exposing protected setters for iBatis It looks like we have a fix on the way. Is there special logic that is used in your private setter? If not, I would opt to just ditch the private setter and set directly to the instance

Re: Problem exposing protected setters for iBatis

2008-05-12 Thread Brandon Goodin
- > *From:* Nathan Maves [mailto:[EMAIL PROTECTED] > *Sent:* Monday, May 12, 2008 12:08 PM > > *To:* user-java@ibatis.apache.org > *Subject:* Re: Problem exposing protected setters for iBatis > > Can I ask what the point of labeling the property as protected is in your > c

RE: Problem exposing protected setters for iBatis

2008-05-12 Thread Kezerashvili, Denis
osing protected setters for iBatis Can I ask what the point of labeling the property as protected is in your case? On Mon, May 12, 2008 at 8:54 AM, Clinton Begin <[EMAIL PROTECTED]> wrote: I think I&#

Re: Problem exposing protected setters for iBatis

2008-05-12 Thread Nathan Maves
ng that. Or maybe it can do that, but it > has > > to be configured somehow to make reflection calls on the parent class. > > > > Does anybody know how to do that, or if it's even possible? > > > > Any input would be greatly appreciated > > > > >

Re: Problem exposing protected setters for iBatis

2008-05-12 Thread Clinton Begin
oz Koka Kiknadze [mailto:[EMAIL PROTECTED] > Sent: Friday, May 09, 2008 6:05 PM > To: user-java@ibatis.apache.org > Subject: Re: Problem exposing protected setters for iBatis > > > Well, here's thread discussing same problem, and it seems private setId() > should work > > http://www.mail-archive.com/user-java@ibatis.apache.org/msg08629.html >

RE: Problem exposing protected setters for iBatis

2008-05-12 Thread Kezerashvili, Denis
Any input would be greatly appreciated From: Nicholoz Koka Kiknadze [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 6:05 PM To: user-java@ibatis.apache.org Subject: Re: Problem exposing protected setters

Re: Problem exposing protected setters for iBatis

2008-05-09 Thread Nicholoz Koka Kiknadze
Well, here's thread discussing same problem, and it seems private setId() should work http://www.mail-archive.com/user-java@ibatis.apache.org/msg08629.html

RE: Problem exposing protected setters for iBatis

2008-05-09 Thread Kezerashvili, Denis
Does anyone have any suggestion about this issue? Any input will be greatly appreciated. Denis From: Kezerashvili, Denis Sent: Thursday, May 08, 2008 12:17 PM To: user-java@ibatis.apache.org Subject: Problem exposing protected

Problem exposing protected setters for iBatis

2008-05-08 Thread Kezerashvili, Denis
Here is the problem that I have: I have an Entity class that has a private field ID (the actual name is id), which contains the db id for the entity persisted. I have a public getId() and protected setId() methods. iBATIS sets id when the record is inserted into the db, nobody else should be sett