why do you expect a failure to occur when you commit? there's nothing to
prevent you from writing to your database so there's nothing that prevents
you from overwriting prior changes unless you check old/new values (or a
more coarse timestamp).

> -----Original Message-----
> From: Sachin Aggarwal [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 03, 1999 1:27 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Entity Bean Management
>
>
> Actually if I use optimistic concurency ( which I plan to use ) then I
> shouldn't even need to bother with reading time stamp etc. I just start
> the
> tx and when I commit it I will get a failure if somebody has changed the
> order since I read it and I can handle a retry from there on. I think.
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to