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
Type: Improvement
Components: SQL Maps
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