db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmars...@Sourcery.Org>
Subject Re: Derby Embedded driver jar file
Date Wed, 08 Sep 2004 16:59:24 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zahra Zahid wrote:

|  Thanx Susan for the reply ...but i am having problemz wid the URL
| now...herez wht i am using in my propertie the database name is
| omar_regsitry.
|
| dbURL=jdbc:derby:omar_registry;create=true;
|
| but when i try building the database i get the following error :
|
|      [java] file:C:/CVS/omar/build-minDB.xml:75: SQL Exception: The
| URL 'jdbc:derby:omar_regsitry;create=true; ' is not properly formed.
|
| I am using derby.jar! so cud someone plz tell me wht am i doin wrong
| and wht will be the right URL if this is wrong.
| Also i'de like to know how to use password and username wid my
| database using derby.
|                                             Thanx
|                                                regards
|                                                   Zahra Zahid
|
|
For the embedded url, you want to drop that final ';'
~ jdbc:derby:omar_regsitry;create=true

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBPzpsG0h36bFmkocRAv38AJ9W5+WUWwUACvEAriXbLd+kaqZvUACgtfPb
2whxEfqoc7vfZMToAziymQY=
=qa0u
-----END PGP SIGNATURE-----

Mime
View raw message