Hi Martin,
----- Original Message -----
From: "Martin Crawford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 4:33 PM
Subject: Configuring JDBC connection programatically
> All.
>
> I would like to be able to dynamically configure the JDBC information
that
> is found in the repository.xml file. I have found API to configure the
> username and password using the PBKey, but so far no API to configure
the
> other JDBC information.
We improved the metadata handling some weeks ago, now you are able
to pass a jdbc-connection-descriptor at runtime, without declaring it in
the
repository file, by using the MetadataManager (only CVS).
> Additionally, I have found nothing of the sort in
> the OMDG API, which is really the API I'd prefer to use.
Using ODMG pass user/password try:
version <=0.98
database.open("repository#user#password", Tran.....)
version >0.98
database.open("jcdAlias#user#password", Tran.....)
intern we build a PBKey using the token.
regards,
Armin
>
> Did I miss something? Has anyone else discovered a workaround?
> Martin
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>