Rob, Yes, there can be more than one instance of an entity bean with a specific identity (pk) running in the same JVM.
A common occurrence of this would be when simultaneous transactions in the Container access the same row in the database via your entity bean layer. In this case, each parallel transaction would get its own copy of the entity bean instance. All this is of course assuming that the data has not been locked at the database level by the first transaction (that is, pessimistic locking). -krish Borland At 06:50 PM 6/4/2003 +1000, Rob Young wrote: >Hi All > >Can there be more than one instance of an entity EJB with a particular primary key >running within the same JVM? By "same JVM" I'm referring to the JVM running an >Application Server process. > >In a clusted configuration (meaning multiple JVMs (one for each machine in the >cluster)), is it possible for an entity EJB with a particular primary key to be >running in more than one JVM? > >Thanks, >Rob =========================================================================== 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".