Unix Technical Forum

Java Studio Creator

This is a discussion on Java Studio Creator within the Pgsql General forums, part of the PostgreSQL category; --> Hi I'm having trouble connecting the Postgresql JDBC drivers to Java Studio Creator. No matter which of the Postgresql ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 09:43 AM
Bob Pawley
 
Posts: n/a
Default Java Studio Creator

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 am trying to determine where the problem is - Creator, Postgresql or me.

Has anyone else experienced difficulty in using these Postgresql/Java drivers.

Bob Pawley
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 09:43 AM
Eric B. Ridge
 
Posts: n/a
Default Re: Java Studio Creator

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:
jdbcostgresql://host/database

for example:
jdbcostgresql://localhost/jsc_test

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

eric

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 09:43 AM
Michael Schmidt
 
Posts: n/a
Default Re: Java Studio Creator

Bob,
The JDBC drivers work fine for me - using PostgreSQL 8.1.3 and Windows XP. From your error message, it looks like JDBC is on your classpath, which is good. The connection string can be a little finicky. There is a document on the PostgreSQL website that I found helpful in getting my connection to work. Also, there is a JDBC discussion group - it might be better to post there than on this General group.

Good luck!

Michael Schmidt

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com