Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Well, I think most connection pools people use are database independent -
> > when it comes to JDBC this is the case at least.
>
> So what platform-indendent method do they use to see that the passed
> connection doesn't have an open transaction or
Eric,
I have always wanted the same thing for both debugging as well as logging.
The best I have been able to come up with is a wrapper class to
PreparedStatement. This works well with the exception that some of the
methods of PreparedStatement are depreciated and you will always get a
compiler
Quoting Garry Thuna <[EMAIL PROTECTED]>:
> Eric,
>
> I have always wanted the same thing for both debugging as well as
> logging.
How about the toString() method ;-)
Ok, may not be standard JDBC, but:
PreparedStatement ps = ;
// later
org.postgresql.jdbc2.PreparedStatement ps2 =
(o
Hi all,
maybe this one's been asked before but I've just found this list (if it's
archived & searchable someplace then let me know)
I just installed Postgres 7.0.3 the other day (Redhat 7.0) and was trying to
insert binary data into the DB via JDBC using the standard
PreparedStatement.setBinaryS
Bruce Momjian writes:
> > The only one of my tools that will not go in is the pdf library. One because
> > it's pretty big, but mainly because It's the only one previously released and I
> > put that one out on the LGPL (the rest are fresh - never been released, so
> > theres no Licence problems)
Quoting Julian Richardson <[EMAIL PROTECTED]>:
> I didn't study the code in detail but it looked like there's stuff
> missing
> in the Large Objects API too, so it may not even be possible to use that
> as
> an alternative (I'd rather not anyway, but may have been able to make
> the
> setBinarySt
On Tue, Mar 20, 2001 at 05:00:12PM +0100, Peter Eisentraut wrote:
> Bruce Momjian writes:
> >
> > I am told you can re-release LGPL stuff with a BSD license. You just
> > need to up the version number and put a BSD license on it.
>
> I don't think so. But since Peter M. is the author of the lib
Quoting Peter Eisentraut <[EMAIL PROTECTED]>:
> Bruce Momjian writes:
>
> > > The only one of my tools that will not go in is the pdf library. One
> because
> > > it's pretty big, but mainly because It's the only one previously
> released and I
> > > put that one out on the LGPL (the rest are fr
Quoting "Ross J. Reedstrom" <[EMAIL PROTECTED]>:
> On Tue, Mar 20, 2001 at 05:00:12PM +0100, Peter Eisentraut wrote:
> > Bruce Momjian writes:
> > >
> > > I am told you can re-release LGPL stuff with a BSD license. You
> just
> > > need to up the version number and put a BSD license on it.
> >
> Bruce Momjian writes:
>
> > > The only one of my tools that will not go in is the pdf library. One because
> > > it's pretty big, but mainly because It's the only one previously released and I
> > > put that one out on the LGPL (the rest are fresh - never been released, so
> > > theres no Licen
Quoting Bruce Momjian <[EMAIL PROTECTED]>:
> > Bruce Momjian writes:
> >
> > > > The only one of my tools that will not go in is the pdf library.
> One because
> > > > it's pretty big, but mainly because It's the only one previously
> released and I
> > > > put that one out on the LGPL (the rest
Actually it was the changes in version 1.21 on 2/13 that broke this.
The cvs log for that change includes the following comment:
- Removed need for SimpleDateFormat in ResultSet.getDate() improving
performance.
My guess is the the code as written would work correctly for a 'date'
column, but
Hi,
This does work, both with the postgress and mysql drivers.
But I do need to make SURE it will work no matter the driver, so it sounds
like Garry's code would be the best bet for that.
Thoughts?
Thanks,
Eric
>How about the toString() method ;-)
>
>Ok, may not be standard JDBC, but:
>
>P
I do not understand when people say that pg7.03 is out and some are talking
about 7.1. What is the difference anyway? As far as I know 7.03 is the
latest. What about 7.1? I am new to postgreSQL. Can someone please clarify
me? And added to that, if 7.03 is out, does the jdbc support calling stored
Eric,
I have always wanted the same thing for both debugging as well as logging.
The best I have been able to come up with is a wrapper class to
PreparedStatement. This works well with the exception that some of the
methods of PreparedStatement are depreciated and you will always get a
com
System is Debian "woody"
java is IBM SDK1.3
Source is CVS from March 20, 2001.
Trouble is the following, that
org.postgresql.jdbc2.ResultSet.getDate(int)
Started to generate errors
java.lang.NumberFormatException: 15 14:25:17+02
at java.lang.Integer.parseInt(Integer.java:415)
16 matches
Mail list logo