简体   繁体   English

将Spring 2.5与Ibatis 3集成

[英]Integrating Spring 2.5 with Ibatis 3

Does anyone know of a way to integrate the new Ibatis with the current Spring 2.5? 有没有人知道如何将新的Ibatis与当前的Spring 2.5集成? I'm exploring pulling it in to a project and was curious if anyone had done it before. 我正在探索把它拉进一个项目,如果有人以前做过,我很好奇。

There's an open JIRA issue for this ( SPR-5991 ). 这是一个开放的JIRA问题( SPR-5991 )。 It has iBatis3 support tagged for Spring 3.1 它具有标记为Spring 3.1的iBatis3支持

Is it very different from iBatis 2? 它与iBatis 2有很大不同吗? With Spring 2.5 and iBatis 2 all you had to do was: 使用Spring 2.5和iBatis 2,您所要做的就是:

<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
    <property name="configLocation" value="SqlMapConfig.xml" />
    <property name="dataSource" ref="dataSource" />
</bean>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM