Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

How to handle database concurrency?

Thread view: 
Marcus Leon - 11 Jan 2006 21:03 GMT
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
zero - 12 Jan 2006 01:08 GMT
"Marcus Leon" <marcus.leon@gmail.com> wrote in news:1137013436.644704.63700
@f14g2000cwb.googlegroups.com:

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

Signature

Beware the False Authority Syndrome

maurizio.lattuada@gmail.com - 12 Jan 2006 13:21 GMT
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
karlheinz klingbeil - 12 Jan 2006 16:34 GMT
maurizio.lattuada@gmail.com 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.
Signature

greetz Karlheinz Klingbeil (lunqual)
http://www.lunqual.de oder http:www.lunqual.net



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.