You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by ro...@apache.org on 2005/05/17 05:21:35 UTC
svn commit: r170507 -
/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
Author: roberto
Date: Mon May 16 20:21:34 2005
New Revision: 170507
URL: http://svn.apache.org/viewcvs?rev=170507&view=rev
Log:
~Updated C# DataMapper NUnit Oracle ODP.NET LineItem.xml (tried workarounds for multiple statements, text formatting, and rows affected)
Modified:
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml?rev=170507&r1=170506&r2=170507&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml Mon May 16 20:21:34 2005
@@ -182,9 +182,9 @@
-->
<delete id="DeleteWithComments" >
<!-- Delete LineItems -->
- delete from LineItems where Order_ID = 10
+ BEGIN delete from LineItems where Order_ID = 10;
<!-- Delete LineItems -->
- delete from LineItems where Order_ID = 9
+ delete from LineItems where Order_ID = 9; END;
</delete>
</statements>
Re: svn commit: r170507 - /incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
Posted by Roberto R <ro...@gmail.com>.
Well it didn't pass the entire unit test since the statements got wrapped in
a PL/SQL block and the rows affected # being returned isn't correct. But
it's executing (deleting) properly without the comments.
Roberto
On 5/18/05, Gilles Bayon <ib...@gmail.com> wrote:
>
> Did this resolved the issue ?
>
> On 5/17/05, roberto@apache.org <ro...@apache.org> wrote:
> > Author: roberto
> > Date: Mon May 16 20:21:34 2005
> > New Revision: 170507
> >
> > URL: http://svn.apache.org/viewcvs?rev=170507&view=rev
> > Log:
> > ~Updated C# DataMapper NUnit Oracle ODP.NET <http://ODP.NET>
> LineItem.xml (tried workarounds for multiple statements, text formatting,
> and rows affected)
> >
> > Modified:
> >
> incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
> >
> > Modified:
> incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
> > URL:
> http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml?rev=170507&r1=170506&r2=170507&view=diff
> >
> ==============================================================================
> > ---
> incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
> (original)
> > +++
> incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
> Mon May 16 20:21:34 2005
> > @@ -182,9 +182,9 @@
> > -->
> > <delete id="DeleteWithComments" >
> > <!-- Delete LineItems -->
> > - delete from LineItems where Order_ID = 10
> > + BEGIN delete from LineItems where Order_ID = 10;
> > <!-- Delete LineItems -->
> > - delete from LineItems where Order_ID = 9
> > + delete from LineItems where Order_ID = 9; END;
> > </delete>
> >
> > </statements>
> >
> >
>
Re: svn commit: r170507 - /incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
Posted by Gilles Bayon <ib...@gmail.com>.
Did this resolved the issue ?
On 5/17/05, roberto@apache.org <ro...@apache.org> wrote:
> Author: roberto
> Date: Mon May 16 20:21:34 2005
> New Revision: 170507
>
> URL: http://svn.apache.org/viewcvs?rev=170507&view=rev
> Log:
> ~Updated C# DataMapper NUnit Oracle ODP.NET LineItem.xml (tried workarounds for multiple statements, text formatting, and rows affected)
>
> Modified:
> incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
>
> Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml
> URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml?rev=170507&r1=170506&r2=170507&view=diff
> ==============================================================================
> --- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml (original)
> +++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/LineItem.xml Mon May 16 20:21:34 2005
> @@ -182,9 +182,9 @@
> -->
> <delete id="DeleteWithComments" >
> <!-- Delete LineItems -->
> - delete from LineItems where Order_ID = 10
> + BEGIN delete from LineItems where Order_ID = 10;
> <!-- Delete LineItems -->
> - delete from LineItems where Order_ID = 9
> + delete from LineItems where Order_ID = 9; END;
> </delete>
>
> </statements>
>
>