i believe the ejb spec allows the possibility for account 42 to be visible
to the find. however, under the ejb servers i'm familar with, accout 42 will
not appear in the find results.
> -----Original Message-----
> From: Dirk Willecke [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 17, 1999 2:12 AM
> To: [EMAIL PROTECTED]
> Subject: update and find in same transaction
>
> Say you have an entity bean Account with a findLargeAccounts method,
> searching for accounts with balances over 10,000 Euro. Further you have a
> deposit method. The finder method is TX_SUPPORTS and the deposit method is
> TX_REQUIRED.
> Now your client starts a transaction and gets an account by
> findByPrimaryKey(42).
> The balance is 8,000 Euro. The client invokes deposit(3000) and requests
> findLargeAccounts in the same transaction context. Will the account No 42
> be part of the result?
> The findLargeAccounts method requests the DB directly, but there the
> balance of account No 42 is still 8000 Euro unless the container has
> invoked ejbStore().
>
> Dirk Willecke
> Datenzentrale Schleswig-Holstein, Germany
>
> ==========================================================================
> =
> 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".