ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuri.de-...@ubs.com
Subject RE: NULL update
Date Fri, 10 Nov 2006 20:47:07 GMT
Yes I did tried and that's why I am sending an email. It throws an
invalid statement exception.

We have explicit instructions to avoid full regression testing by not
changing the Java code so I was hoping there was a way to working around
this issue with iBatis. 



-----Original Message-----
From: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] On Behalf
Of Larry Meadors
Sent: Friday, November 10, 2006 3:35 PM
To: user-java@ibatis.apache.org
Subject: Re: NULL update

2 questions:

1) Did you try it?

2) Why would you want to do this?

Larry


On 11/10/06, Yuri.de-Wit@ubs.com <Yuri.de-Wit@ubs.com> wrote:
> Is it possible in iBatis to have something like this:
>
> <update id="doNothing">
> </update>
>
> So that the java code still executes the update but nothing actually 
> happens?

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


Mime
View raw message