You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Mustafa DASGIN <da...@gmail.com> on 2006/11/07 10:59:32 UTC

Multiple Records in ActionForm

Hi,

I have an actionform like below:

public class StudentListForm {

    private String [ ] name;
    private String [ ] number;
    .....
}

Is there an easy way to insert these attributes at once to the database 
or i have to insert each entity one by one with converting to StudenForm 
which has:

String name;
String number;


thanks..

--
Mustafa DASGIN

RE: Multiple Records in ActionForm

Posted by Poitras Christian <Ch...@ircm.qc.ca>.
Look at the iterate tag. 

-----Original Message-----
From: Mustafa DASGIN [mailto:dasgin@gmail.com] 
Sent: Tuesday, 07 November 2006 05:00
To: user-java@ibatis.apache.org
Subject: Multiple Records in ActionForm

Hi,

I have an actionform like below:

public class StudentListForm {

    private String [ ] name;
    private String [ ] number;
    .....
}

Is there an easy way to insert these attributes at once to the database
or i have to insert each entity one by one with converting to StudenForm
which has:

String name;
String number;


thanks..

--
Mustafa DASGIN