Try changing the connection url to the following:
"jdbc:postgresql:test"
This should do the trick. postgres is not a valid subprotocol which explains
the error message that you're getting. postgresql is the only subprotocol
recognized by the PostgreSQL JDBC driver.
Liam
On Thu, Oct 11, 2001 a
> Connection conn = DriverManager.getConnection(
> "jdbc:postgres:test",
> "postgres",
> "notreallymypassword"
>
I think it's just that the url should be jdbc:postrgesql:text (add the "ql")
-Nick
-
THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU!
Boy do I feel like an idiot :-)
> From: Joe Shevland <[EMAIL PROTECTED]>
> Date: Fri, 12 Oct 2001 16:06:39 +1000
> To: "'Amandeep Jawa'" <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> Subject: RE: [JDBC] [Q] Can't get s
Change
"jdbc:postgres:test",
To
"jdbc:postgresql:test"
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Amandeep Jawa
Sent: October 11, 2001 7:28 PM
To: [EMAIL PROTECTED]
Subject: [JDBC] [Q] Can't get simple JDBC connection to work: "no
suitable
On 11 Oct 2001 at 16:28 (-0700), Amandeep Jawa wrote:
| (PLEASE email any replies to me directy as well as posting)
try the conn url below.
| System.out.println("Loaded Driver.");
| Connection conn = DriverManager.getConnection(
| "jdbc:p
Would it help if I moved this particular bit of code on to the server side
as a server side function?
Would there be a significant increase in speed/efficiency?
Thanks in advance.
--Arsalan
> break up you insert into several trunks.
>
>
> Arsalan Zaidi wrote:
>
> > Hi.
> >
> > At one point i
Hi,
i have a problem with reading large object with the JDBC driver. I am using
Postgresql
in conjunction with Cocoon2 just so you know where the code fragement is
comming
from. I adopted the example from the Postgresql documention, but the
following problem
is apaering. The variable contentlengt
Hi jdbcsters,
I was just wondering if anyone is working on support for JDK1.4 for the
postgresql drivers. It appears that there are some new methods defined
in a few interfaces that need to be implemented (presumably to just
throw the "unimplemented" exception?).
If noone is already working in t