The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Larry Meadors <larry.mead...@gmail.com>
Date: Thu, 19 Apr 2012 08:41:44 -0600
Local: Thurs, Apr 19 2012 10:41 am
Subject: Re: getting results for multiple delete statements (mybatis-guice)
Use a stored procedure.
On Thu, Apr 19, 2012 at 8:36 AM, Stephen Friedrich <stephen.friedr...@fortis-it.de> wrote:
> Using MySQL and connection parameter allowMultiQueries=true, I can issue > these statements using a single DB roundtrip: > <delete id="deleteTask"> > delete from task_status_history where task_id = #{id}; > delete from tree_views where ref_id = #{id}; > delete from tasks where id = #{id} and version_no = 0; > </delete> > Now how the heck can I access the three individual delete counts? > I am using mybatis-guice. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||