I use the optimistic concurrency with
Modified now I do the follow two steps:
1.use the SBFacade to get the Customer EB reference(LocalObject) with primary
key 'ID1'(in a transaction)
2.use the LocalObject reference to update the EB.(another transaction)

I get the following Exception:


[EJB:010143]Optimistic concurrency violation. Instance of bean 'Customer' with
primary key 'ID1' was changed by another transaction. - with nested exception:

[weblogic.ejb.OptimisticConcurrencyException: [EJB:010143]Optimistic concurrency

violation. Instance of bean 'Customer' with primary key 'ID1' was changed by
an
other transaction.]

would give any suggestion about this problem?? thanks