You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Amir Pashazadeh (JIRA)" <ib...@incubator.apache.org> on 2008/12/27 18:10:44 UTC

[jira] Created: (IBATIS-574) using XML name-spaces in defining query XMLs with custom attributes

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.