Class SQLMapper


  • public final class SQLMapper
    extends Object
    the sql scripts are configured in xml file and mapped to short ids referenced in program. for example:
    <sqlMapper>
    <sql id="findAccountById">select * from account where id=1</sql>
    <sql id="updateAccountNameById">update account set name=? where id=?</sql>
    </sqlMapper>
    Since:
    0.8
    Author:
    Haiyang Li