ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Same connection for JDBC and SqlMap
Date Wed, 19 Jan 2005 02:25:16 GMT
Yep.  Just write your JDBC DAO (extending JdbcDaoTemplate) and
register it under the SQL Map transaction manager in the dao.xml.  It
will work.  Also, be sure to enable commitRequired="true" on the
transaction manager in the SQL Map config.


On Tue, 18 Jan 2005 20:11:16 +0600, D-Light <dlight@newmail.ru> wrote:
> Hello,
> I want to use both JDBC and SqlMap DAOs on the same data source,
> but it seems that they work with different connections, so when I
> query for data by SqlMap in the middle of explicit UPDATE or INSERT
> JDBC transaction, it shows old values.
> Is it possible to make them use the same connection?
> --
> Best regards,
> Andy Light                          mailto:dlight@newmail.ru

View raw message