ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: How to use sqlmap to create an object with not empty construnctor
Date Mon, 11 Sep 2006 14:31:29 GMT
Ahh how about you just add an empty constructor...

public TestA() {
    this("");
}

Problem solved.


On 9/11/06, Anthony Hong <anthony.bin.hong@gmail.com> wrote:
> I have a class,
>
> class testA() {
>   public testA(String  name) {
>
> }
> }
>
> can it be used in result-map, if can how to write result map
>
> --
>
> Anthony Hong
>

Mime
View raw message