For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > May 2004 > please help!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author please help!!!
avihaimar

2004-05-24, 2:31 pm

What happens if client A did find by primary key ( entity bean ) for a
particular record in the db.
After this another client did an update to this record.
And after him client A did again find by primary key ( entity bean )
for this record.

1. does the entity refresh automatically ?
2. if yes – what cause it to refresh ?
3. does it true that when I do find by primary key it locks this
record in the db?
4. is it lock it only for update or both select and update ?


please .

I have an interview tomorrow.

Thank a lot.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com