ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Nagwani" <bnagw...@juniper.net>
Subject Archive Search and Question on updates in JPetstore
Date Mon, 13 Jun 2005 22:57:04 GMT
I am looking at the Jpetstore code and I see this method in
AccountSqlMapDao

 

public void updateAccount(Account account) {

    update("updateAccount", account);

    update("updateProfile", account);

 

    if (account.getPassword() != null && account.getPassword().length()
> 0) {

      update("updateSignon", account);

    }

  }

 

How are the transaction boundaries handled, so are all the updates here
are done as one transaction automatically?

 

Also archive search is not working
http://www.mail-archive.com/user-java@ibatis.apache.org/

 

thanks


Mime
View raw message