There really is no advantage to doing this in your DAO.

Typically, I would do it this way (with struts, if you are using
something else, it would work the same way):

MyStrutsAction -> MyBusinessLogic -> MyDao -> SqlMap

In the MyBusinessLogic class, I do the looping before the dao layer,
and keep the DAO layer simple - it has only to insert a single object.

Larry

On Tue, 25 Jan 2005 17:56:01 +1000, Andrew Fooks <[EMAIL PROTECTED]> wrote:
>  Clinton has said that the iterate tag isn't really designed for the above 
> usage, so 
> I guess it's time to refactor.  Anyone have any suggestions?

Reply via email to