()
{
return
foo;
}
}
Thanks,
Paul
From: Clinton Begin
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19 September 2006
3:23 AMTo: user-java@ibatis.apache.orgSubject: Re:
Parameterised constructors
As a temporary alternative we do support private setters as of
2.2.0. Constructor injection
@ibatis.apache.org
Subject: RE: Parameterised
constructors
How do private
setters work? Could I set the 'foo' property using the result map
below? Is there anything I have to do to the jmv to allow it access to
the private field?
resultMap
class=Foo
result property=foo column=FOOBA
Ah that explains what I was doing
wrong.
From: Clinton Begin
[mailto:[EMAIL PROTECTED] Sent: Thursday, 21 September 2006
2:29 PMTo: user-java@ibatis.apache.orgSubject: Re:
Parameterised constructors
No, you still need to write the setter, but make it private.
Like this:
public class Foo
|| | |
|-+--|| |
|To:user-java@ibatis.apache.org ||cc:(bcc: Ray Offiah/WRSYS/MANSERV/JLP) |
|Subject: Re: Parameterised constructors
Foo {
private String
foo;
public String getFoo()
{
return
foo;
}
}
Thanks,
Paul
From: Clinton Begin
[mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 September 2006
3:23 AMTo: user-java@ibatis.apache.orgSubject: Re:
Parameterised constructors
As a temporary alternative
-java@ibatis.apache.org
|
|cc: (bcc: Ray Offiah/WRSYS/MANSERV/JLP)
|
|Subject: Re: Parameterised constructors
|
| | ||-+--|| |
|To:user-java@ibatis.apache.org ||cc:(bcc: Ray Offiah/WRSYS/MANSERV/JLP) |
|Subject: Re: Parameterised constructors
@ibatis.apache.org
|
|cc: (bcc: Ray Offiah/WRSYS/MANSERV/JLP)
|
|Subject: Re: Parameterised constructors
Hi there!
I vaguely remember reading that parameterised constructors were being
considered for Ibatis. Is this still planned for a future release, or has
the idea been dropped?
I noticed that there was no mention of them in the documentation for the
latest beta, which is a bit of a shame
On 9/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi there!
I vaguely remember reading that parameterised constructors were being
considered for Ibatis. Is this still planned for a future release, or has
the idea been dropped?
I noticed that there was no mention of them in the documentation
: Parameterised constructors
|
---|
I am not finding docs for it at the moment, either. I think that the
ResultObjectFactoryTest unit
|| | |
|-+--|| |
|To:user-java@ibatis.apache.org |
|cc:(bcc: Ray Offiah/WRSYS/MANSERV/JLP) | |Subject: Re: Parameterised constructors|
---| I am not finding docs
|
| | |
|-+--|| |
|To:user-java@ibatis.apache.org |
|cc:(bcc: Ray Offiah/WRSYS/MANSERV/JLP) | |Subject: Re: Parameterised constructors|
---| I am not finding docs for it at the moment
13 matches
Mail list logo