File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: concurrent access to derby database