On 7/19/05, Rahul Singh ( Anant ) <[EMAIL PROTECTED]> wrote: > That's an excellent point. One of the things that really separates > IBATIS beyond any other layers out there is XML.
Well.. Having another way to express the mapping would be a plus I think. > > The ability to make quick edits and run the application without > compilation is as close to stored procedures as anything could be. > > Rahul > > On 7/19/05, Ron Grabowski <[EMAIL PROTECTED]> wrote: > > 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. > > > > > > > > > > -- > Rahul Singh > CEO, Anant > http://www.anant.us > -- /tb.

