db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dyre.Tjeldv...@Sun.COM
Subject Re: How do I share an Apache derby database to other users?
Date Tue, 22 Jan 2008 08:09:14 GMT
Dyre.Tjeldvoll@Sun.COM writes:

> larsk <larsk8@yahoo.se> writes:
>
>> I am trying to create an application (in Java 6.0) that will create and use
>> an Apache Derby database. I want to make it so other users will be able to
>> access this database at the same time.
>> How do I make this possible? What do I need to do on the server application?
>> What do I need to on the client applications? Is there any guide out there
>> on how to make this?
>> If anyone have some information on how to make this work I would really
>> appreciate some help.
>
> What you need to do really depends on just what you mean with
> 'users'. 
>
> Do you mean to let multiple OS users access the same database
> instance? I.e. different processes with different uids? This is possible
> but not in embedded mode. You either need to start a NetworkServer, or
> start your app with an embedded server. (See the documentation) 
> Note that you cannot have two jvms accessing the same database.

I must have been tired when I wrote that. It should be 

"Note that you cannot have two jvms accessing the same database IN
EMBEDDED MODE"

-- 
dt

Mime
View raw message