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" >
<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="[EMAIL
PROTECTED]"/>
<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