ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "adamb (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-306) Using classpath to pick up all iBatis sqlmap files without having to specify each one individually
Date Wed, 30 Aug 2006 03:44:22 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-306?page=comments#action_12431447 ] 
            
adamb commented on IBATIS-306:
------------------------------

That would cause our application to have performance problems.  We have a project with ~10,000
sqlmaps and have hacked iBATIS to lazy load them.  Also there is potentail for causing naming
conflicts?  (e.g. same named sql map but different path?)

> Using classpath to pick up all iBatis sqlmap files without having to specify each one
individually
> --------------------------------------------------------------------------------------------------
>
>                 Key: IBATIS-306
>                 URL: http://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.
-
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

        

Mime
View raw message