sqlMap resource from db

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown sqlMap resource from db

by Manjul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>>
>> 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
LightInTheBox - Buy quality products at wholesale price