ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lin (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-270) Loading SqlMap XML to existing SqlMapClient
Date Sun, 21 Jan 2007 04:40:30 GMT

    [ https://issues.apache.org/jira/browse/IBATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466296

Richard Lin commented on IBATIS-270:

The instance is used to do the parsing of the newly loaded mapped statements. It's state is
then discarded because we don't want to keep too many hierarchical levels. However, the statements
are added to the existing instance if everything goes fine.

There must be a better way of doing it, but I did not want to dig too far into the sqlmap
parser for I don't have a spec of it. I know this way will not fail. 

Since it's not changing any other state information besides adding statements, it's perfectly
safe for your singleton.

> Loading SqlMap XML to existing SqlMapClient
> -------------------------------------------
>                 Key: IBATIS-270
>                 URL: https://issues.apache.org/jira/browse/IBATIS-270
>             Project: iBatis for Java
>          Issue Type: New Feature
>          Components: SQL Maps
>         Environment: any
>            Reporter: Richard Lin
>            Priority: Minor
>         Attachments: DynamicSqlMapClient.java, DynamicSqlMapExecutorDelegate.java
> Ability to dynamically load more SqlMap XML files not included in sqlmap-config.xml.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message