ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Fragner (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-291) Ability to specify a directory containing SqlMap XML files
Date Sat, 29 Apr 2006 15:28:38 GMT
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:
For more information on JIRA, see:

View raw message