ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Pashazadeh (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-574) using XML name-spaces in defining query XMLs with custom attributes
Date Sat, 27 Dec 2008 17:10:44 GMT
using XML name-spaces in defining query XMLs with custom attributes
-------------------------------------------------------------------

                 Key: IBATIS-574
                 URL: https://issues.apache.org/jira/browse/IBATIS-574
             Project: iBatis for Java
          Issue Type: Wish
          Components: DAO
            Reporter: Amir Pashazadeh
             Fix For: 3.0.0


I know this request may seem strange at first, but adding custom attributes (with other name-spaces)
and support for retrieving them in query XML files can help us to build better DAO frameworks,

for example

<resultMap name="myResultMap"  m:bundle="com.some.package.MyBundle">
    <result property="myProperty"  column="COL1" m:titleKey="myProperty1"/>
    <result property="myProperty"  column="COL2" m:titleKey="myProperty1"/>
</resultMap>

and a callback interface which can be used when facing attributes (and tags) of custom name-spaces
in XML files.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message