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".

Reply via email to