You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Werner Fragner (JIRA)" <ib...@incubator.apache.org> on 2006/04/29 17:28:38 UTC
[jira] Created: (IBATIS-291) Ability to specify a directory
containing SqlMap XML files
Ability to specify a directory containing SqlMap XML files
----------------------------------------------------------
Key: IBATIS-291
URL: http://issues.apache.org/jira/browse/IBATIS-291
Project: iBatis for Java
Type: New Feature
Components: SQL Maps
Versions: 2.1.7
Reporter: Werner Fragner
Priority: Minor
Currently you can only specify a single SQLMap resource by using the attribute 'resource' or 'url' in the <sqlMap> element of sql-map-config-2.dtd. It would make iBatis SQL Maps more capable for dynamic requirements if you could specify a directory containing multiple SQLMap XML files. This could be easily achieved by adding the attribute 'directory' to the <sqlMap> element. In addition SqlMapConfigParser must be extended to search the given directory for SQL Map XML files.
With this new feature you could extend the functionality of your application by adding new SQLMap XML files to the application before startup (no application rebuild is required). Of course the classes used in the added SQLMap XML files must be included in the application classpath separately.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira