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] Closed: (IBATISNET-155) Allow Constructor Initialization on resultMap
Date Tue, 06 Jun 2006 19:11:30 GMT
     [ http://issues.apache.org/jira/browse/IBATISNET-155?page=all ]
     
Gilles Bayon closed IBATISNET-155:
----------------------------------


> 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.5
>     Reporter: Gilles Bayon
>     Assignee: Gilles Bayon
>     Priority: Minor
>      Fix For: DataMapper 1.5

>
> Something like
> <resultMap id="account-result-constructor"  class="Account" >
>         <constructor>
>               <argument argumentName="id"                 column="Account_ID"/>
>               <argument argumentName="firstName"  column="Account_FirstName"/>
>               <argument argumentName="lastName"   column="Account_LastName"/>
>        </constructor>
>        <result property="EmailAddress" column="Account_Email" nullValue="no_email@provided.com"/>
>        <result property="BannerOption" column="Account_Banner_Option" dbType="Varchar"
type="bool"/>
>         <result property="CartOption"	column="Account_Cart_Option" typeHandler="HundredsBool"/>
> </resultMap>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message