The only way is to iterate through subobjects on the java side of things and explicitly make sqlMap insert calls.
Larry On 10/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > Using resultMaps, I can load sub-objects of a particular object > automagically, using the "select" attribute. E.g. > > <result property="subobjects" column="myId" > select="SubObject.getSubObjectsByMe"/> > > Is there a converse construct for saving objects? I.e., if I were to save, > can I do something like: > > <parameter property="subobjects" insert="SubObject.updateSubObject"/> > > ? > > Or is the best way to iterate through subobjects on the java side of > things, explicitly make sqlMap insert calls per subobject, and run > everything in one batch?? > > Thanks > Reuben > > > >