: 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
> 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
-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
-
> *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
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
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
> >
> >
>
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
>
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
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
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
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
11 matches
Mail list logo