Re: Java Studio Creator

From: "Eric B(dot) Ridge" <ebr(at)tcdi(dot)com>
To: Bob Pawley <rjpawley(at)shaw(dot)ca>
Cc: Postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Java Studio Creator
Date: 2006-03-13 00:29:45
Message-ID: 297651E3-D9F6-458C-87EE-95206C2C06C9@tcdi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mar 12, 2006, at 4:47 PM, Bob Pawley wrote:

> Hi
>
> I'm having trouble connecting the Postgresql JDBC drivers to Java
> Studio Creator. No matter which of the Postgresql drivers, for
> version 8.1, that I attempt for connection I continue to get an
> error message "wrong driver: org.postgresql.Driver for url: localhost"

I've never used Java Studio Creator, but based on the error message I
would guess that the JDBC URL provided is incorrect.

A format that the Postgres JDBC drivers like is:
jdbc:postgresql://host/database

for example:
jdbc:postgresql://localhost/jsc_test

This is all documented in Chapter 3 of Postgres' JDBC docs:
http://jdbc.postgresql.org/documentation/81/connect.html

eric

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-03-13 00:30:03 Re: Autovacuum Daemon Disrupting dropdb?
Previous Message P G 2006-03-12 22:13:39 Re: COPY has no access permissions