How to handle database concurrency?

M

Marcus Leon

We have some database data that multiple users may update. What is the
best concurrency strategy? Should we use EJBs with the concurrency
setting set to "Exclusive"? Or should we just use JDBC with
transactions and let the database (Oracle) handle concurrency?

Thanks
 
Z

zero

We have some database data that multiple users may update. What is the
best concurrency strategy? Should we use EJBs with the concurrency
setting set to "Exclusive"? Or should we just use JDBC with
transactions and let the database (Oracle) handle concurrency?

Thanks

If you're using an almighty database like Oracle anyway, I'd suggest
letting it do all the work.
 
M

maurizio.lattuada

i agree with zero: with databases like oracle, sql server, you should
let them to manage concurrency.
If you use mysql don't forget to set tables with type 'InnoDB'. Default
is 'MyIsam', but this one doesn't take care about concurrency
 
K

karlheinz klingbeil

(e-mail address removed) schrub am Donnerstag, 12.
Januar 2006 14:21 folgendes:
i agree with zero: with databases like oracle, sql
server, you should let them to manage concurrency.
If you use mysql don't forget to set tables with type
'InnoDB'. Default is 'MyIsam', but this one doesn't
take care about concurrency

This is not quite right. MyIsam also supports
concurrency, but not Transactions, which are available
only with InnoDB tables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top