Skip to content

dbname doesn't work #27

@BartVanBeurden

Description

@BartVanBeurden

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions