Looks like you have an old MyBatis version in your classpath.
Type: Posts; User: mac1929; Keyword(s):
Looks like you have an old MyBatis version in your classpath.
MyBatis stores the SqlSession as a synchronization in SpringTxManager but does not commit/rollback the JDBC connection. That is done by DataSourceTransaction manager.
I would try this with...
Seems to be related to this:
http://code.google.com/p/mybatis/issues/detail?id=524
Hi Raja. Have a look at this
http://groups.google.com/group/mybatis-user/browse_thread/thread/53cd8bcd87984113
Hi Craig,
Everythink looks fine. A SqlSession is not thread safe, as a Jdbc connection. But MyBatis SqlSessionTemplate is built to be injected an thus it is thread safe.
So your config should...
While both tools are amazing there are several differences between them.
Both will let you forget about JDBC api and save lots of code lines and programming errors.
Both take a query, some...
Well, that may sound funny but iBATIS namespace is com.ibatis and MyBatis namespace (now it is no longer at apache) it is org.apache so it won't collide.
MyBatis 3 is a full rewrite or iBATIS from scratch. It is not backwards compatible.
There are tools than can help you in the migration process. I used this one, and worked fine for me:...
seems a XML validation problem. Make sure your DTDs are:
config:
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd"
mapper:
Have a look at MyBatis-Spring library at MyBatis web site:
http://code.google.com/p/mybatis/wiki/Spring
Just to let you know that MyBatis team has released MyBatis-Spring 1.0.0-RC2.
Announcement:
http://groups.google.com/group/mybatis-user/browse_thread/thread/80fe28ae6937842c
Download (docs and...
We have always used EJB for online transactions and MDB for JMS processing.
On some apps we are moving to Full Spring projects without any J2EE component.
We use Websphere and it has something...
Just to let you know that MyBatis team has released RC1 based on community contributions:
http://code.google.com/p/mybatis/downloads/detail?name=mybatis-spring-1.0.0-RC1-bundle.zip
...
MyBatis team are building some integration code. They expect to have a RC1 soon, mybe in a pair of weeks.