Author: gbayon
Date: Sun Sep 18 08:20:46 2005
New Revision: 289937

URL: http://svn.apache.org/viewcvs?rev=289937&view=rev
Log:
- Updated Mapping files for JIRA-110

Modified:
    ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml
    
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml
    
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml
    
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml
    ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml
    
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
    
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml 
(original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Account.xml 
Sun Sep 18 08:20:46 2005
@@ -462,6 +462,28 @@
                        order by Account_ID
                </select>       
                
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+ 
+               <!-- JIRA-110 -->
+                               
                <!-- For procedure, the parameters of the parameterMap must in 
the same order 
                as for the procedure paramaters-->
                <procedure id="InsertAccountViaStoreProcedure" 
parameterMap="insert-params">

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml 
(original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Account.xml 
Sun Sep 18 08:20:46 2005
@@ -462,6 +462,27 @@
                        order by Account_ID
                </select>       
                
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+                               
                <!-- For procedure, the parameters of the parameterMap must in 
the same order 
                as for the procedure paramaters-->
                <procedure id="InsertAccountViaStoreProcedure" 
parameterMap="insert-params">

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml 
(original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Account.xml 
Sun Sep 18 08:20:46 2005
@@ -508,7 +508,28 @@
                        select * from Accounts
                        order by Account_ID
                </select>                       
-                                               
+                               
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+                                                               
                <!-- For procedure, the parameters of the parameterMap must in 
the same order 
                as for the procedure paramaters-->
                <procedure id="InsertAccountViaStoreProcedure" 
parameterMap="insert-params">

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml 
(original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Account.xml 
Sun Sep 18 08:20:46 2005
@@ -508,7 +508,28 @@
                        select * from Accounts
                        order by Account_ID
                </select>                                       
-                                               
+
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+                                                               
                <!-- For procedure, the parameters of the parameterMap must in 
the same order 
                as for the procedure paramaters-->
                <procedure id="InsertAccountViaStoreProcedure" 
parameterMap="insert-params">

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml 
(original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Account.xml 
Sun Sep 18 08:20:46 2005
@@ -570,6 +570,27 @@
                        order by Account_ID
                </select>                                       
                                
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+                                               
                <!-- For procedure, the parameters of the parameterMap must in 
the same order 
                as for the procedure paramaters-->
                <!--

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
 (original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Account.xml
 Sun Sep 18 08:20:46 2005
@@ -547,6 +547,27 @@
                        order by Account_ID
                </select>                                       
                
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+                               
                <procedure id="InsertAccountViaStoreProcedure" 
parameterMap="insert-params">
                        prc_InsertAccount
                </procedure>

Modified: 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml?rev=289937&r1=289936&r2=289937&view=diff
==============================================================================
--- 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml
 (original)
+++ 
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Account.xml
 Sun Sep 18 08:20:46 2005
@@ -513,6 +513,27 @@
                        order by Account_ID
                </select>                       
 
+               <!-- JIRA-110 -->
+               <select id="GetManyAccound" resultClass="Account">
+                       <![CDATA[
+                       SELECT 
+                               Account_ID as Id,
+                               Account_FirstName as FirstName,
+                               Account_LastName as LastName,
+                               Account_Email as EmailAddress
+                       FROM Accounts 
+                       ]]>
+               </select>
+               
+               <select id="Get1Account" extends="GetManyAccound" 
resultClass="Account">WHERE Account_ID=1</select>
+               
+               <statement id="GetAccounts" resultMap="account-result"> 
+                       <![CDATA[SELECT * ]]> 
+                       <![CDATA[FROM ]]> 
+                       Accounts 
+               </statement> 
+               <!-- JIRA-110 -->
+               
        </statements>
 
        <!-- =============================================


Reply via email to