RE: Hibernate: when 2 users simultaneous edite

2005-02-22 Thread Paul McCulloch
tml/transactions.html#transa ctions-optimistic Paul > -Original Message- > From: Lee Harrington [mailto:[EMAIL PROTECTED] > Sent: 22 February 2005 15:56 > To: Struts Users Mailing List > Subject: Hibernate: when 2 users simultaneous edite > > > Perhaps this is a bit

Hibernate: when 2 users simultaneous edite

2005-02-22 Thread Lee Harrington
Perhaps this is a bit off topic, but I know there are struts users like me that use Hibernate: What happens when two people edit a record at the same time? Unless something is done, the last person to save winsthe first edits are lost. I'm seeking input on the following code I wrote to have s