Hi,All:
I am a new guy for ibatis.net. I meet some questions about
ibatis.net(1.9.1&1.6.1).
Would you help me?
1. I don't want to put the ibatis's config files at the same folder with
web.config. Can I set the path myself?
Such as put the SqlMap.config file in config\ folder.
2. Can I encrypt database connection in SqlMap.config except for
embedded?
* 3. When I try to embed ex-properties file in
SqlMap.config, I meet an error.
* My file like this
* <?xml version="1.0" encoding="utf-8"?>
* <sqlMapConfig
xmlns="http://ibatis.apache.org/dataMapper"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
* .....
* The error message is :
* The element 'sqlMapConfig' in namespace
'http://ibatis.apache.org/dataMapper <http://ibatis.apache.org/dataMapper> '
has invalid child element 'properties' in namespace
'http://ibatis.apache.org/dataMapper <http://ibatis.apache.org/dataMapper>
'. List of possible elements expected: 'providers, database, alias,
typeHandlers, sqlMaps' in namespace 'http://ibatis.apache.org/dataMapper
<http://ibatis.apache.org/dataMapper> '.
* How to do it?
By the way, I tried <sqlMapConfig
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SqlMapConfig.xsd">, but failed too.
Sorry for posting three questions first time.
Thank you very much!
*
Best Regards,