You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Yu...@ubs.com on 2006/11/10 21:23:23 UTC
NULL update
> 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?
> Thanks
RE: NULL update
Posted by Yu...@ubs.com.
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 <Yu...@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.
Re: NULL update
Posted by Larry Meadors <lm...@apache.org>.
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 <Yu...@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?
Re: NULL update
Posted by Juri Vrljicak <ju...@gmail.com>.
i dont think so, never tried.
but why would you do such thing?
regards
On 11/10/06, Yuri.de-Wit@ubs.com <Yu...@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?
>
> Thanks
>
>
> 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.
>
>
>