tapestry will start a new transaction for every request. at the end of each request rollback will be called automatically. therefore you have to commit the transaction manually .
g, kris "tengxh" <[EMAIL PROTECTED]> 13.06.2008 16:39 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An <users@tapestry.apache.org> Kopie Thema About save data into table with hibernate I use the getHibernateTemplate().saveOrUpdate(obj) to save the data,inputing with beaneditform component of T5.After i click the create/update button ,i query the table with sql analyse tool immediately,the new data exists,but after a while ,the new data will lost.How can i save the new data into the table forever.