[jboss-user] [EJB 3.0] - how to prevent multi-access

john_woo@canada.com do-not-reply at jboss.com
Thu Jul 5 10:41:57 EDT 2007


Hi,

I'm thinking of, let's say when caller A reading data via ejb3, and caller B updates same record, then A wants to update, how can we inform A that the record has just been updated? 

Can we

1. in ejb xml descriptor file, for somehow specify the transaction level, allowing like non-repeatable read;

2. in coding, for somehow
get cachedRowSet

3. using annotation....

Can anyone have idea?

Thanks
John

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060850#4060850

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060850



More information about the jboss-user mailing list