i found answers @ stackoverflow,it says "persist() guarantees not execute insert statement if called outside of transaction boundaries. useful in long-running conversations extended session/persistence context. ". what's meaning of "outside of transaction boundaries"? means persist() method called before "tx = session.begintransaction()" or after "tx.commit()" ? , tested that, persist() method execute insert statement , insert date database. me, please.thank you.
i posted mock testing on , can find here whats difference between persist() , save() in hibernate?
thanks, deivanayagam senthil
Comments
Post a Comment