The dbname parameter doesn't appear to be working on my SQL Anywhere 16 server.
I've never worked with jConnect before (or java for that matter), but according to the Sybase Reference the database name is supposed to be passed using the ServiceName parameter (see section "How to Specify a Database with a jConnect Connection String").
However, a quick look at the Source Code appears to indicate that you're building the connection string like this: host:port/dbname when it should be host: port?ServiceName=dbname
On a related note, I cannot find any documentation on how to switch to a different database (without creating a new connection, that is).
The dbname parameter doesn't appear to be working on my SQL Anywhere 16 server.
I've never worked with jConnect before (or java for that matter), but according to the Sybase Reference the database name is supposed to be passed using the
ServiceNameparameter (see section "How to Specify a Database with a jConnect Connection String").However, a quick look at the Source Code appears to indicate that you're building the connection string like this:
host:port/dbnamewhen it should behost: port?ServiceName=dbnameOn a related note, I cannot find any documentation on how to switch to a different database (without creating a new connection, that is).