ibatis框架,mapping问题
果-果 2011-09-28 09:50:40 Unable to load embedded resource from assembly "CSD.Model.maps.TBVideoInfoGen.BatisMap.xml,CSD.Model".
- The error occurred while loading SqlMap.
- The error occurred in <sqlMap embedded="${root}TBVideoInfoGen.BatisMap.xml,${assymbly}" xmlns="http://ibatis.apache.org/dataMapper" />.
事实上检查了好多便,配置文件是没有问题的
<?xml version="1.0" encoding="utf-8"?>
<sqlMapConfig
xmlns="http://ibatis.apache.org/dataMapper"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties resource="properties_CSD_Mapper.config"/>
<settings>
<setting useStatementNamespaces="false"/>
<setting cacheModelsEnabled="true"/>
<setting validateSqlMap="false"/>
</settings>
<providers resource="providers.config"/>
<!-- Database connection information -->
<database>
<provider name="sqlServer2.0"/>
<dataSource name="keywords" connectionString="Server=${datasource}; User ID=${userid};Password=${password};Database=${database};Persist Security Info=True" />
</database>
<sqlMaps>
<sqlMap embedded="${root}TBVideoInfoGen.BatisMap.xml,${assymbly}"/>
</sqlMaps>
</sqlMapConfig>