> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gene Chuang
> Sent: Wednesday, August 23, 2000 1:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: one instance of any given entity bean?
>
>
> Hi,
>
> At any given instantaneous moment, within a single server/VM
> instance, there
> only should be one entity bean instance that represents a
> database row (this
> is how most ejb servers maintain data locking/integrity).
I strongly disagree. See section 9 of the EJB spec where is states
implementors can choose to do concurrency at the app server layer with one
instance of a physical object, or in the rdbms with mutliple instances.
Dave Wolf
Internet Applications Division
Sybase
>
> However, row identity can swap across bean instances over time,
> and within a
> clustered environment you can have multiple bean instances
> representing the
> same row across multiple servers.
>
> Gene
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Adena Galinsky
> Sent: Wednesday, August 23, 2000 8:59 AM
> To: [EMAIL PROTECTED]
> Subject: one instance of any given entity bean?
>
>
> I seem to have read conflicting reports of this:
>
> Is it true that there is only ever 1 instance of a particular entity bean?
>
> In other words, if there are three rows in a table, representing
> Bob, Jim,
> and Tom,
> and we have an entity class called Person,
> there will only ever be one Person instance containing the values from
> Bob's row?
>
> Or could there potentially be 3 instances each representing Bob?
>
> thanks,
> Adena
>
> ==================================================================
> =========
> 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".
>
> ==================================================================
> =========
> 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".
>
>
===========================================================================
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".