Hi Lennart,
----- Original Message -----
From: "Lennart Benoot" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 4:18 PM
Subject: OJB Setup
> Hi All,
>
> While trying to setup ObJectRelationalBridge, I created a test project
and
> copied all necesary files from the example in test1. Everything was
very
> clear. Then I copied code from tutorial 1:
>
>
> try
> {
> broker = PersistenceBrokerFactory.
> createPersistenceBroker(new
PBKey("repository.xml"));
> }
>
>
> This failed over and over again. After half a day I started reading
the
> code. In PBKey.java it came to my attention that the filename
> "repository.xml" is not the parameter expected. Instead it seems that
it
> should be the name of the jdbc connection (jcd-alias). Am i right
here?
Yes!
Please use the long version of PBKey
constructor (new PBKey("jcdAlias","user","pw")) to
avoid running in a small bug occur when using new PBKey("jcdAlias").
This bug was fixed in CVS.
Sorry for the hassle, we did "massive" code changes from
0.9.8 to 0.9.9 and I forget to check the tutorial stuff.
It's on my todo list.
regards,
Armin
>
> regards,
> Lennart
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]