You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2009/04/09 04:43:12 UTC

[jira] Commented: (IBATIS-592) Extendable Ibator SqlMapGenerator 1.2.x

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

Jeff Butler commented on IBATIS-592:
------------------------------------

It seems to me that runtimeTableName might do what you want.  If it doesn't work, then please give a full example of what you're trying to do and we'll see if there's a way to accomplish it.

The custom SqlMapGenerator cannot be added back in because the internals have changed substantially.  The way to create custom generators now is to extend IntrospectedTable.


> 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.