You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Charles Anthony <ch...@hpdsoftware.com> on 2003/03/11 12:14:58 UTC

RE: Connect to hypersonic server

Hi,

You can break down the URL as follows :

<jdbc-connection-descriptor platform="hsql"
    default-connection="true"
    jcd-alias=""
    jdbc-level="2.0"
    driver="thedrivername-can't-remember-it-of-the-top-of-my-head"
    protocol="jdbc"
    subprotocol="hsqldb:hsql"
    dbalias="//localhost:20000"
    username="sa"
    password="">

This is all without looking it up, so it's probably not exactly right; the
key attributes are protocol, subprotocol, and dbalias.

Cheers,

Charles

>-----Original Message-----
>From: Peter Kirk [mailto:peter_kirk@alpha-gruppen.dk]
>Sent: 11 March 2003 11:20
>To: 'OJB Users List'
>Subject: Connect to hypersonic server
>
>
>Say I have a hypersonic database server running on port 20000. How do I
>connect to it with OJB/ODMG?
>
>In the repository xml you can give a dbalias, but this seems 
>to be to the
>actual file that hypersonic uses.
>
>Eg., I could do something like this (if I wasn't trying to use OJB):
>DriverManager.getConnection( 
>"jdbc:hsqldb:hsql://localhost:20000", "sa", ""
>);
>
>Thanks,
>Peter
>
>


This email and any attachments are strictly confidential and are intended
solely for the addressee. If you are not the intended recipient you must
not disclose, forward, copy or take any action in reliance on this message
or its attachments. If you have received this email in error please notify
the sender as soon as possible and delete it from your computer systems.
Any views or opinions presented are solely those of the author and do not
necessarily reflect those of HPD Software Limited or its affiliates.

 At present the integrity of email across the internet cannot be guaranteed
and messages sent via this medium are potentially at risk.  All liability
is excluded to the extent permitted by law for any claims arising as a re-
sult of the use of this medium to transmit information by or to 
HPD Software Limited or its affiliates.