I have the following :
i'm making a program that opens a couple of files. I'm using the Java Class Library. The code needs to work on Windows servers and also on Linux servers.
When i use the following code, i can connect to a database on a linux server :
db = session.connectToDatabase("btrv://" + user + "@" + host + "/" + database + "?pwd=" + password);
But i can not connect to a windows database like this. I get this error :
pervasive.database.PsqlSecurityException: Database login required. Authentication failed due to a wrong or missing username.
BTRV Operation 78 returned error code: 170.
I can connect to the DEMODATA database if i do the following :
db = session.connectToDatabase("btrv://" + host + "/" + database);
Linux PSQL version : 9.52-060
Windows PSQL version : 9.52.060
Is there documentation available for the DBURI class ?
Kind regards,
Renzo Callant