summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
AgeCommit message (Collapse)Author
1999-04-11Implement UpdateCountPeter Mount
1999-03-14The isWritable method in ResultSetMetaData returns the logicallyBruce Momjian
incorrect result. This bug goes back to at least 6.3. Alvin
1999-03-14There are errors in the PGmoney class in the conversion routines overBruce Momjian
the handling of negative numbers and commas. The attached path attempts to fix these. However the getValue method does not yet insert commas into the generated string. Also in getValue there is an incorrect assumption that the currency symbol is '$', it should of course be '£'!. I have no idea on how to go about fixing this one. Alvin
1999-01-25From: Peter T Mount <peter@retep.org.uk>Marc G. Fournier
This implements some of the JDBC2 methods, fixes a bug introduced into the JDBC1 portion of the driver, and introduces a new example, showing how to use the CORBA ORB thats in Java2 with JDBC. The Tar file contains the new files, the diff the changes to the others. CHANGELOG is separate as I forgot to make a .orig ;-)
1999-01-17As the email posted to the announce and interfaces list, attached is a tarBruce Momjian
file containing the latest version of the JDBC driver, allowing it to be compiled and used under JDK 1.2 and later. NB: None (well almost none) of the new methods actually do anything. This release only handles getting it to compile and run. Now this is done, I'll start working on implementing the new stuff. Now this tar file replaces everything under src/interfaces/jdbc. I had to do it this way, rather than diffs, because most of the classes under the postgresql subdirectory have moved to a new directory under that one, to enable the support of the two JDBC standards. Here's a list of files in the tar file. Any file not listed here (in the postgresql directory) will have to be deleted, otherwise it could cause the driver to fail: Peter Mount
1998-11-01Remove various files that were moved to various subdirectories...Marc G. Fournier
Requested by: Peter T Mount peter@retep.org.uk
1998-10-12This patch updates the ImageViewer example to use Multiple Threading.Bruce Momjian
When importing an image into the database, the example now fires off a new Thread, which imports the image in the background. This also means that the application doesn't freeze on the user, and they can still browse the images in the database, while the upload is running. This now makes the ImageViewer a true example on how to use Threads (the threadtest class is just that - a test). Peter
1998-10-08Add changelog.Bruce Momjian
1998-10-08Just a quick patch. This makes the JDBC driver thread safe, which is anBruce Momjian
important step towards making the driver compliant, and means that for some Java applications and servlets, only a single database connection is needed, so in a sence this is a nice little show stopper for 6.4 (and should still be backward compatible to 6.3.2). Peter
1998-09-12rename java file for Peter.Bruce Momjian
1998-09-03New stuff from Peter Mount for jdbc.Bruce Momjian
1998-09-03New stuff for 6.4 jdbc.Bruce Momjian
Peter mount
1998-06-16Added missing file.Bruce Momjian
1998-06-03From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
Bug fixes: PreparedStatement.setObject didn't handle short's ResultSet.getDate() now handles null dates (returns null rather than a NullPointerException) ResultSetMetaData.getPrecision() now returns 0 for VARCHAR New features: Field now caches the typename->oid in a Hashtable to speed things up. It removes the need for some unnecessary queries to the backend. PreparedStatement.toString() now returns the sql statement that it will send to the backend. Before it did nothing. DatabaseMetaData.getTypeInfo() now does something.
1998-06-03From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
Bug fixes: PreparedStatement.setObject didn't handle short's ResultSet.getDate() now handles null dates (returns null rather than a NullPointerException) ResultSetMetaData.getPrecision() now returns 0 for VARCHAR New features: Field now caches the typename->oid in a Hashtable to speed things up. It removes the need for some unnecessary queries to the backend. PreparedStatement.toString() now returns the sql statement that it will send to the backend. Before it did nothing. DatabaseMetaData.getTypeInfo() now does something.
1998-04-18From: Peter T Mount <patches@maidast.demon.co.uk>REL6_3_2Marc G. Fournier
This fixes a problem in ResultSet.getDate() when the column is NULL (reported by Vincent Partington <Vincent.Partington@nmg.nl>) And fixes a problem with Field's (ResultSet.getObject() was proving to be slow as it repetedly send queries for oid -> name mapping - fixed by creating a cache. (reported by Mario Ellebrecht <ellebrec@nads.de>)
1998-04-06Hi,Bruce Momjian
Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
1998-03-20This patch fixes a couple of minor bugs:Bruce Momjian
1) DatabaseMetaData.getPrimaryKeys() would fail saying that there is no table t. 2) PreparedStatement.getObject() was missing some break statements, which was causing updates not to work with JBuilder (supplied by Aaron Dunlop). jdbc fixes from Peter.
1998-03-15From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
Ok, this fixes three things: 1. It seems (from tests submitted by two people with JBuilder) that JBuilder expects a responce from ResultSetMetaData.getPrecision() & getScale() when used on non numeric types. This patch makes these methods return 0, instead of throwing an exception. 2. Fixes a small bug where getting the postgresql type name returns null. 3. Fixes a problem with ResultSet.getObject() where getting it's string value returns null if you case the object as (PGobject), but returns the value if you case it as it's self.
1998-02-22The getColumns() method in DataBaseMetaData.java returns a column sizeMarc G. Fournier
of -1 for varchar's. From: CNT systemen BV <cntsys@cistron.nl>
1998-02-20Missign a comma...Marc G. Fournier
From: AA van Raalte <alvin@camberlo.demon.co.uk>
1998-02-09From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
This patch fixes the following: * Fixes minor bug found in DatabaseMetaData.getTables() where it doesn't handle default table types. * It now reports an error if the client opens a database using properties, and either the user or password properties are missing. This should make the recent problem with Servlets easier to find. * Commented out obsolete property in Driver.getPropertyInfo()
1998-02-09This was a new class that was introduced last weekend. I'm attaching theMarc G. Fournier
source here. It goes in the src/interfaces/jdbc/postgresql/util directory Marc, can you make sure this is in the distribution, Thanks
1998-02-02From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
[This is a repost - it supercedes the previous one. It fixes the patch so it doesn't bread aix port, plus there's a file missing out of the original post because difforig doesn't pick up new files. It's now attached. peter] This patch brings the JDBC driver up to the current protocol spec. Basically, the backend now tells the driver what authentication scheme to use. The patch also fixes a performance problem with large objects. In the buffer manager, each fastpath call was sending multiple Notifications to the backend (sometimes more data in the form of notifications were being sent than blob data!).
1998-01-13Should fix it all, Peter?Marc G. Fournier
1998-01-13Oops...missed over half the patch :(Marc G. Fournier
1998-01-11Peter's Mega-Patch for JDBC...Marc G. Fournier
see README_6.3 for list of changes
1997-11-07Update of Java driver from Peter Mount.Bruce Momjian
1997-10-30Fix for java to allow password, european dates,from Peter T MountBruce Momjian
1997-10-30Fix for java timestamp type from teunis@sigil.computersupportcentre.comBruce Momjian
1997-09-29From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
This patch fixes a few results in DatabaseMetaData, and updates the README and TODO files (the later being a new file). The TODO file lists the things that need to be looked into after 6.2 is released, and describes the problem with Large Objects.
1997-09-28From: CNT systemen BV <cntsys@cistron.nl>Marc G. Fournier
I've found a problem in the Postgresql jdbc driver. "ReceiveInteger" shifts a received byte right instead of left. This means that only the least significant byte is read into the int. Reviewed by: Peter T Mount <patches@maidast.demon.co.uk>
1997-09-26Get these two files finally committed for Peter...sorry for delay :(Marc G. Fournier
1997-09-20Bring in Peter's changes...finally :(Marc G. Fournier
1997-08-31Update patch from Peter <patches@maidast.demon.co.uk>Marc G. Fournier
1997-08-16Bring in Adrian's JDBC driver as an interfaceMarc G. Fournier