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

Amir Pashazadeh commented on IBATIS-306:
----------------------------------------

it is nice to provide a root package, so ibatis scans all classes in that 
package and all its sub-packages.

> Using classpath to pick up all iBatis sqlmap files without having to specify 
> each one individually
> --------------------------------------------------------------------------------------------------
>
>                 Key: IBATIS-306
>                 URL: https://issues.apache.org/jira/browse/IBATIS-306
>             Project: iBatis for Java
>          Issue Type: Improvement
>          Components: SQL Maps
>    Affects Versions: 2.1.7
>         Environment: Applicable to any
>            Reporter: Kalyani Chennupati
>
> Instead of specifying each ibatis mapping file it  would be very convenient 
> if we could  specify a classpath from where to pick up all the mapping files 
> that end with .ibtm.xml.
>  
> I am trying something like below and that is not working. 
>  
> <sqlMapConfig>
>       <sqlMap resource="classpath*:/**/*.ibtm.xml" />
> </sqlMapConfig>
>  
> It would be really convenient if all the specific ibatis mapping files can be 
> picked up this way

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

Reply via email to