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.

Clinton

On Tue, 18 Jan 2005 20:11:16 +0600, D-Light <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> 
>

Reply via email to