ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtaza Goga" <Murtaza.G...@trisyngroup.com>
Subject RE: Moving sqlmap files to /WEB-INF/sqlmaps/ instead of in the classpath
Date Thu, 05 Apr 2007 10:05:30 GMT
The sql map configuration is supports urls as well
<sqlMap url="..." />

You could also initialize com.ibatis.common.resources.Resources with a
custom implementation of a ClassLoader which does the external lookup. 

-----Original Message-----
From: Jared Blitzstein [mailto:mailing-list@blitzstein.net] 
Sent: Wednesday, April 04, 2007 3:42 PM
To: user-java@ibatis.apache.org
Subject: Moving sqlmap files to /WEB-INF/sqlmaps/ instead of in the
classpath

Is it possible to move the sqlmap xml files to a subdirectory in the / 
WEB-INF/ of my web app? I'm trying not to mix xml files in my class  
files and thought this might be a cleaner approach. Everything I've  
found so far mentions about them being in the classpath. Thanks.

Mime
View raw message