ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-155) Allow Constructor Initialization on resultMap
Date Thu, 20 Apr 2006 21:09:06 GMT
Allow Constructor Initialization on resultMap

         Key: IBATISNET-155
         URL: http://issues.apache.org/jira/browse/IBATISNET-155
     Project: iBatis for .NET
        Type: New Feature

  Components: DataMapper  
    Versions: DataMapper 1.4    
    Reporter: Gilles Bayon
 Assigned to: Gilles Bayon 
    Priority: Minor

Something like
<resultMap id="account-result-constructor"  class="Account" >
              <argument argumentName="id"                 column="Account_ID"/>
              <argument argumentName="firstName"  column="Account_FirstName"/>
              <argument argumentName="lastName"   column="Account_LastName"/>
       <result property="EmailAddress" column="Account_Email" nullValue="no_email@provided.com"/>
       <result property="BannerOption" column="Account_Banner_Option" dbType="Varchar"
        <result property="CartOption"	column="Account_Cart_Option" typeHandler="HundredsBool"/>

See http://www.martinfowler.com/bliki/ConstructorInitialization.html

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message