iBatis does not support code attributes. Are you aware that you're able
to alias columns to make them match your property names:

<select id="GetMany" resultClass="Widget">
 SELECT
 wdgt_name AS Name,
 wdgt_price AS Price,
 wdgt_updated AS DateLastUpdated
 FROM
 wdgt
</select>

How would using code attributes make that <select> statement less
verbose? If the name of the database column changes from wdgt_name to
wdgt_fullname, you would need to edit the xml file and restart your
application. If you were using code attributes, you would need to
recompile your application.

--- Tuncay Baskan <[EMAIL PROTECTED]> wrote:

> Does iBatis support C# language attributes? I mean, instead of
> declaring database column to property name mappings in XML files one
> can specify them in source files..
> 
> -- 
> /tb.
> 

Reply via email to