ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <cbe...@codehammer.org>
Subject Re: Loading SqlMaps relative to SqlMapConfig.xml
Date Sun, 18 Sep 2005 15:00:33 GMT
Before we answer that question...

How do you plan on securely distributing the SqlMapConfig via a webserver?

Clinton

On 9/18/05, Volker_Reichel@t-online.de <volker_reichel@t-online.de> wrote:
> 
> Hi,
> 
> I'm new to iBATIS and alread read alot through the documentation
> but I couldn't find a way to load sqlmaps relative to the location
> of SqlMapConfig.xml. It seems as if contents of attribute 'resource'
> is not resolved relative to the location where the SqlMapConfig was 
> loaded.
> Is there a way to achieve relative loading of SqlMaps?
> 
> The background of my questions is as follows:
> Suppose a client application would load the SqlMaps from a webserver.
> Doing so would eliminate the problem of distributing the SqlMaps and
> SqlMapConfig file to all remote clients.
> 
> Kind regards
> 
> Volker
>

Mime
View raw message