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/12 05:27:09 UTC

svn commit: r169753 - in /incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test: Maps/Oracle/ODP/Account.xml Maps/Oracle/OracleClient/Account.xml NUnit/SqlMapTests/Oracle/ProcedureTest.cs

Author: roberto
Date: Wed May 11 20:27:08 2005
New Revision: 169753

URL: http://svn.apache.org/viewcvs?rev=169753&view=rev
Log:
~Updated C# DataMapper: cleaning NUnit Oracle ref cursor procedure tests

Modified:
    incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml
    incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
    incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/Oracle/ProcedureTest.cs

Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml?rev=169753&r1=169752&r2=169753&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml Wed May 11 20:27:08 2005
@@ -559,13 +559,13 @@
 	
 		<parameterMap id="stored-proc-refcursor-param">
 			<!--
-			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
-			-->
 			<parameter direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
+			-->
+			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
 		</parameterMap>	
 
 		<parameterMap id="stored-proc-refcursor-param-with-input">
-			<parameter direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
+			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
 			<parameter property="P_ACCOUNT_ID" direction="Input" column="P_ACCOUNT_ID" dbType="Int32"/>
 		</parameterMap>			
 

Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml?rev=169753&r1=169752&r2=169753&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml Wed May 11 20:27:08 2005
@@ -546,13 +546,13 @@
 		
 		<parameterMap id="stored-proc-refcursor-param">
 			<!--
-			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
+			<parameter direction="Output" column="P_ACCOUNTS" dbType="RefCursor"/>
 			-->
-			<parameter direction="Output" column="P_ACCOUNTS" dbType="Cursor"/>
+			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="Cursor"/>
 		</parameterMap>	
 		
 		<parameterMap id="stored-proc-refcursor-param-with-input">
-			<parameter direction="Output" column="P_ACCOUNTS" dbType="Cursor"/>
+			<parameter property="P_ACCOUNTS" direction="Output" column="P_ACCOUNTS" dbType="Cursor"/>
 			<parameter property="P_ACCOUNT_ID" direction="Input" column="P_ACCOUNT_ID" dbType="Int"/>
 		</parameterMap>					
 				

Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/Oracle/ProcedureTest.cs
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/Oracle/ProcedureTest.cs?rev=169753&r1=169752&r2=169753&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/Oracle/ProcedureTest.cs (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/Oracle/ProcedureTest.cs Wed May 11 20:27:08 2005
@@ -150,6 +150,7 @@
 		public void QueryForListWithRefCursorAndInput()
 		{
 			Hashtable param = new Hashtable();
+			param.Add("P_ACCOUNTS",null);
 			param.Add("P_ACCOUNT_ID",1);
 
 			IList list = sqlMap.QueryForList("GetAccountViaStoredProcRefCursor", param);