Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion getting results for multiple delete statements (mybatis-guice)
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:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Larry Meadors  
View profile  
 More options Apr 19 2012, 10:41 am
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.