Transfer from: http://www.ibatis.comwhat does a mapped statement look like? (Updated for 2.0!)
A feature of the sql map framework what allows columns aliases to becomings
Automatically mapped to javabeans proties. Imagine That The Address
Class Has The Properties: ID (INT), Description (String), Street (String),
CITY (STRING), And Postalcode (String). by use of column
Aliases in the sql statement (a standard sql feature) and naming the
Class in The Result-Class Attribute, The Values in The Columns Will B
Automatically mapped to the javabean! this is just one way to get an
Object (javabean) from an SQL Query Using The SQL MAP Framework. ->