On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
 

And i have two tables one to store Person static properties and the 2nd table is to store dynamic properties.
 
<snip>
 
Now my requirement is to insert one Person object into these two tables. Is this possible in Ibatis?


Since it's two inserts that you need I can't see how you'll get around not having two insert statements in iBATIS  (I'd call both inserts from a single transaction so if one fails the rollback occurs).. If you really wanted to call just one iBATIS insert you could write a stored procedure that does the two inserts and call that from iBATIS (I'm assuming that would work.)

--
Rick

Reply via email to