ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Lu <mfcp...@yahoo.com>
Subject Re: transaction help please
Date Mon, 17 Jul 2006 20:43:47 GMT
Do I have to get a DAOManager, I can just do a
startTransaction and endTransaction just using the
sqlMapClient right? 

--- hicham abassi <habassi@gmail.com> wrote:

> You must implement a service layer to be able to
> call 1,n dao and
> implement transaction management
> 
> Look at this page :
>
http://svn.apache.org/repos/asf/ibatis/trunk/java/jpetstore/jpetstore5/src/com/ibatis/jpetstore/service/OrderService.java
> 
> especially this method : insertOrder(Order order)
> 
> On 7/17/06, Bing Lu <mfcplus@yahoo.com> wrote:
> > Hi, how do I do a delete&insert operation in one
> > transaction in ibatis? do I need to specify
> anything
> > in the transactionManager for this?
> >
> > thanks
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message