Re: [JDBC] [Q] Can't get simple JDBC connection to work: "no suitable driver"

2001-10-12 Thread Liam Stewart
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

Re: [JDBC] [Q] Can't get simple JDBC connection to work: "no suitable driver"

2001-10-12 Thread Nick Fankhauser
> 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 -

Re: [JDBC] [Q] Can't get simple JDBC connection to work: "no suit

2001-10-12 Thread Amandeep Jawa
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

Re: [JDBC] [Q] Can't get simple JDBC connection to work: "no suitable driver"

2001-10-12 Thread Dave Cramer
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

Re: [JDBC] [Q] Can't get simple JDBC connection to work: "no suitable driver"

2001-10-12 Thread Brent Verner
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

Re: [JDBC] [INTERFACES] java.lang.OutOfMemory Exception with a large number of inserts

2001-10-12 Thread Arsalan Zaidi
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

[JDBC] BLOB/Large objects

2001-10-12 Thread Max Larsson
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

[JDBC] J2SE 1.4 and other patches

2001-10-12 Thread Lillywhite (pg-jdbc)
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