项目中使用到 IBatisNet 框架,项目需通过第三方 数据库 读取视图数据,用到两个库

1.库都为Sql Server

2.dao.config 配置:

 --第一库
<context />

</database>



<daoSessionHandler />

<property key="ibatis_key_plus" value="+"/>

<property key="ibatis_key_todate" value=""/>

<property key="ibatis_key_todate_end" value=""/>

<property key="ibatis_key_dual" value=""/>
</properties>
</context>

--第二库

<context />

</database>

 

<daoSessionHandler />

<property key="ibatis_key_plus" value="+"/>

<property key="ibatis_key_todate" value=""/>

<property key="ibatis_key_todate_end" value=""/>

<property key="ibatis_key_dual" value=""/>
</properties>
</context>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2021-10-01
猜你喜欢
  • 2022-02-21
  • 2021-12-13
  • 2022-02-12
  • 2022-12-23
  • 2021-08-25
  • 2021-06-10
  • 2022-12-23
相关资源
相似解决方案