You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Manjul <ma...@gmail.com> on 2008/07/07 22:18:07 UTC

sqlMap resource from db

>>
>> I need to load the xml configuration file from the database. Is  
>> there a
>> simple way to do this?
>>
>>
>> The SQL map file allows only two types, resource and URL (e.g. sqlMap
>> resource="ibatis.xml").
>>
>> I need another level of indirection where the secondary configuration
>> file is loaded from the database based on the primary file, which  
>> can be
>> a normal file resource. I was hoping there was a programmatic way  
>> to do
>> this but I cannot find any.
>>
>> Thanks for any suggestions.
>> Mike