Re: Choosing Database Location Programatically with Embedded Driver

This is a discussion on Re: Choosing Database Location Programatically with Embedded Driver within the Apache forums in Application Servers & Tools category; Hi Pierre, The location of database files is determined by two variables: 1) the database location in your connection URL and 2) the location of the Derby system directory indicated by the "derby.system.home" system property. For more detail, please see the section titled "Connecting to databases" in the Derby Developer's Guide: http://db.apache.org/derby/docs/10.4/devguide/ In particular, please take a look at the subsection titled "Database connection examples". Hope this helps, -Rick Shinkan wrote: > Hi there ! > > I'm really happy that I discovered Derby. It's a perfect embedded > lightweight data management system ! > As I really think that ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-22-2008, 09:23 AM
Rick Hillegas
Guest
 
Default Re: Choosing Database Location Programatically with Embedded Driver

Hi Pierre,

The location of database files is determined by two variables: 1) the
database location in your connection URL and 2) the location of the
Derby system directory indicated by the "derby.system.home" system
property. For more detail, please see the section titled "Connecting to
databases" in the Derby Developer's Guide:
http://db.apache.org/derby/docs/10.4/devguide/ In particular, please
take a look at the subsection titled "Database connection examples".

Hope this helps,
-Rick

Shinkan wrote:
> Hi there !
>
> I'm really happy that I discovered Derby. It's a perfect embedded
> lightweight data management system !
> As I really think that documentation is complete, it's sometimes hard
> to find something precise.
>
> I would like to know if I can (and how), using Java JDBC Derby
> Embedded Driver, choose the location my database files are stocked in.
>
> Thanks a lot in advance for answers !
>
> --
> Pierre.
> Some people, when confronted with a problem, think "I know, I'll use
> XML." Now they have two problems. -- Jamie Zawinski / James Robertson



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:22 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.