db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Create embedded, run via network server: what's databaseName?
Date Sat, 12 Jan 2013 00:44:11 GMT
> What I can't figure out is the name of the database the network client
> should connect to, aka the last element of the JDBC URL.

The last element is basically the same: it is the path to the database,
starting from the network server's derby.system.home location.

So if you do:

    jdbc:derby:my/database/directory/dbname

in embedded mode, then you should do:

    jdbc://my.host.name:NNNN/my/database/directory/dbname

Here's a few more examples:

    http://db.apache.org/derby/docs/10.9/adminguide/radminappsclientxmp.html

thanks,

bryan



Mime
View raw message