Hi Willem;

thanks for that - I will look into that. The documentation is clear on this,
so if you are indeed right, the documentation needs to be corrected:


http://camel.apache.org/mybatis.html wrote
> A mybatis-spring SqlSessionFactoryBean then wraps that same DataSource:
> <bean id="sqlSessionFactory"
> class="org.mybatis.spring.SqlSessionFactoryBean">
>     
> <property name="dataSource" ref="dataSource"/>
>     
> <property name="configLocation" value="/META-INF/SqlMapConfig.xml"/>
>     
> <property name="mapperLocations"
> value="classpath*:META-INF/mappers/**/*.xml"/>
> </bean>
> The camel-mybatis component is then configured with that factory:
> <bean id="mybatis"
> class="org.apache.camel.component.mybatis.MyBatisComponent">
>     
> <property name="sqlSessionFactory" ref="sqlSessionFactory"/>
> </bean>





--
View this message in context: 
http://camel.465427.n5.nabble.com/blueprint-myBatis-transactions-tp5764629p5764667.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to