wood burning stoves 2.0*
The moose likes JDBC and the fly likes concurrent access to derby database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "concurrent access to derby database" Watch "concurrent access to derby database" New topic
Author

concurrent access to derby database

Joel Bijapurkar
Greenhorn

Joined: Aug 01, 2011
Posts: 20

I am using a embedded derby database to store my application data. I am using this database for the first time. Is it possible for various files in my application to access the database concurrently?

I also came across the following command:

Should I use the above command after every file performs some operation on the database or should i use it after all the files have finished their operations on the database?
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

You can only have 1 connection to a derby database at once. So i think the answer is no.
 
jQuery in Action, 2nd edition
 
subject: concurrent access to derby database
 
Similar Threads
Im a bit confused
where data is stored in apache derby?
help with the derby-ij tool
How To create a standalone application
derbynet.jar not found in classpath