ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Flanagan (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-592) Extendable Ibator SqlMapGenerator 1.2.x
Date Thu, 09 Apr 2009 13:11:13 GMT

    [ https://issues.apache.org/jira/browse/IBATIS-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697503#action_12697503

Craig Flanagan commented on IBATIS-592:

The runtimeSchema adds $schema$ to the file name and to all of the references of the table
name within the sqlmap.  For example:
<sqlMap namespace="$schema$_TABLE_NAME" >

This is not the behavior I was looking for.  It seems in the past the getAliasedFullyQualifiedTableName
was only used in the sql generation because our custom class worked by overriding that method.

> Extendable Ibator SqlMapGenerator 1.2.x
> ---------------------------------------
>                 Key: IBATIS-592
>                 URL: https://issues.apache.org/jira/browse/IBATIS-592
>             Project: iBatis for Java
>          Issue Type: Improvement
>            Reporter: Craig Flanagan
> The sqlMapGenerator previously accepted a custom type as of 1.2.0 this is no longer available
and there doesnt seem to be a way to replace the functionality with the plugins.  I really
need to be able to rework some of the sqlmaps to fit in our environment and now it seems my
custom SqlMapGenerator is no long userful.
> We had a customSqlMapGenerator to generate sql statements with a $schema$ pattern that
could be replaced at runtime with aop,  this is no long able to be used.  The 'runtimeSchema'
property doesnt do quite what we need either.  
> Can the plugin api be improved to support changing Sqlmaps or Can custom type be added
back in?

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

View raw message