I've rapidly approaching the end of productive work on entity
beans, since without Transactions, pretty much everything breaks.  
Without a transaction, all the DB commands are rolled back.  So you get a
situation like this: Create an entity bean.  Info is written to the DB.
Connection is released, info is rolled back.  Before create returns, load
the bean from the DB (not that I'm really convinced this step is
necessary!) and get an EntityNotFoundException.  Result: create never
returns.  Even if you skip the load, you can't do anything with your new
entity, since any subsequent method call involves a load which will fail.

        What do we have to do to get Transactions working?  Marc earlier
said is was working but commented out, and someone else followed up to say
it was not working and commented out.  Who's the transaction guru these
days?

Thanks,
        Aaron


Reply via email to