aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
Commit message (Collapse)AuthorAge
...
* Added a check for not calling next() before getting objects from the result set,Dave Cramer2002-03-09
| | | | | | moved the check for columnIndex into same call check at the top of all getXXX added appropriate error
* Here is a small patch that cleans up some error reporting in the JDBC ↵Dave Cramer2002-03-09
| | | | driver. PSQLExceptions are thrown instead of SQLExceptions and if a warning is received while waiting for the backend secret key, that warning is chained to the new Connection object instead of generating an exception. A couple new error messages have been added.
* changed Cancel to cancelDave Cramer2002-03-06
|
* backed out changes for cancel, no need to look for two 'Z' responsesDave Cramer2002-03-05
|
* Patch by Nicolas Verger to correctly propogate SQLWarning to the Statement ↵Dave Cramer2002-03-05
| | | | and ResultSet
* fixed cancel query bug introduced by patchDave Cramer2002-03-05
|
* At this moment, --enable-debug adds debugging information to most of theBruce Momjian2002-03-05
| | | | | | | | | | parts o f postgresql. The jdbc drivers are never compiled with debugging support. This p atch make sure that debugging information is added to the jdbc jar when the --en able-debug is added. This was usefull for me for debugging some java jdbc poolin g objects but this might perhaps be usefull for other people too? Dries Verachtert
* Doug Fields patch to prevent exception being thrown on zero length arraysDave Cramer2002-03-05
|
* patch from Zhenbang WeiDave Cramer2002-03-05
| | | | | The errors_zh_TW.properties must be translated using native2ascii or it will raise an exception. Please replace the old file.
* Patch from Ryouichi MatsudaDave Cramer2002-03-05
| | | | | | | | | | | | | | | | An attached patch corrects problem of this bug and fractional second. The handling of time zone was as follows: (a) with time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss z") (b) without time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss") About problem of fractional second, Fractional second was changed from milli-second to nano-second
* patch from Mitchel Friedman to fix getTablesDave Cramer2002-03-05
|
* patch from Vicktor to fix Numeric decimal digits in getColumnsDave Cramer2002-03-05
|
* Implementation for cancelQuery by Grant Finnemore <grantf@guruhut.co.za>Dave Cramer2002-02-26
|
* compiles correctly but still doesn't work with jdk 1.4Dave Cramer2002-02-24
|
* fixed compile errorDave Cramer2002-02-22
|
* This patch fixes the exception thrown to inform the user the methodDave Cramer2002-02-22
| | | | | | | getColumnClassName(int) is not implemented. This will futher fixes method ResultSet.getObject(int) since it requires the getColumnClassName(int) method to return the proper java class used to map the database column. auther Ed Yu
* Patch from Cormac TwomeyDave Cramer2002-02-22
| | | | | fixes getIndexInfo throwing NullPointerException fixes getIndexInfo improper results when multiple key indexs are used
* Patch from Cormac TwomeyDave Cramer2002-02-22
| | | | | fixes getIndexInfo throwing NullPointerException fixes getIndexInfo improper results when multiple key indexs are used
* now compiles clean with jdk 1.4Dave Cramer2002-02-22
|
* Fixes to getImportedKeys/getExportedKeys from Jason DaviesDave Cramer2002-01-18
| | | | Previous versions did not correctly identify primary/foreign keys
* Applied patch submitted by Ryouichi Matsuda (r-matuda@sra.co.jp) that fixed ↵Barry Lind2002-01-15
| | | | a problem with leading zeros being lost on fractional seconds when setting a timestamp value on a PreparedStatement.
* Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbcBarry Lind2002-01-15
| | | | | driver was not properly handling timestamptz datatype when using the getObject() method on ResultSet. Fix adds this datatype to the object mappings.
* Bugfix for bug reported by Marcus Better (marcus@dactylis.com). When preformingBarry Lind2002-01-05
| | | | | | a get on a bytea value the code was running the raw value from the server through character set conversion, which if the character set was SQL_ASCII would cause all 8bit characters to become ?'s.
* Applied patch from Thomas O'Dowd that fixes timestamp parsing. The jdbc codeBarry Lind2001-12-11
| | | | | | wasn't updated to handle more than two decimal digits for fractional seconds that now are possible in 7.2. This patch fixes the timestamp parsing logic. I have built and tested on both jdbc1 and jdbc2.
* Patch from Ned Wolpert that fixes a bug that caused the cache of types notBarry Lind2001-12-11
| | | | | | to be used, causing extra sql statements to be executed. This was a significant performance problem with the database meta data classes. The fix is a simple one liner.
* This patch fixes a bug reported by Graham Leggett (minfrin@sharp.fm).Barry Lind2001-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was that any insert or update would fail if the returned oid was larger than a signed int. Since OIDs are unsigned int's it was a bug that the code used a java signed int to deal with the values. The bug would result in the error message: "Unable to fathom update count". While fixing the bug, it became apparent that other code made a similar assumption about OIDs being signed ints. Therefore some methods that returned or took OIDs are arguements also needed to be changed. Since we are so close to the 7.2 release I have added new methods that return longs and deprecated the old methods returning ints. Therefore all old code should still work without requiring a code change to cast from long to int. Also note that the methods below are PostgreSQL specific extensions to the JDBC api are are not part of the spec from Sun, thus it is unlikely that they are used much or at all. The deprecated methods are: ResultSet.getInsertedOID() Statement.getInsertedOID() Serialize.store() Connection.putObject() and are replaced by: ResultSet.getLastOID() Statement.getLastOID() Serialize.storeObject() Connection.storeObject() All the deprecated methods returned int, while their replacements return long This patch also fixes two comments in MD5Digest that the author Jeremy Wohl submitted. --Barry
* Change 'return ;' to 'return;'; remove space.Bruce Momjian2001-11-19
|
* Indent jdbc case labels using pgjindent.Bruce Momjian2001-11-19
|
* More jdbc comment cleanups. Code looks very nice now.Bruce Momjian2001-11-19
|
* JDBC indenting, comment cleanups.Bruce Momjian2001-11-19
|
* fixes getIndex to work with forte's transparent persistenceDave Cramer2001-11-14
|
* Attached is a patch against the CVS repository that fixes the ResultSet ↵Barry Lind2001-11-14
| | | | | | | | | | | absolute() problem. There's also a little fix for the getRow() method. While fixing absolute(), I noticed that getRow() wasn't quite following the spec: it wasn't returning 0 when the ResultSet wasn't positioned on a row. I've started a ResultSet test case and included it as well. Liam Stewart
* fixed bug in ResultSet. Version 1.29 backed out two previous fixes (1.26 ↵Barry Lind2001-11-12
| | | | and 1.25). This checkin add back those two previous fixes. Problem reported by Daniel Germain
* Commit to support MD5 passwords as per the backend for 7.2. This patch was ↵Barry Lind2001-11-12
| | | | submitted by Jeremy Wohl jeremyw-pgjdbc@igmus.org
* Jason Davies patch to getImported/getExported keysDave Cramer2001-11-09
|
* proper select for Jason Davies patch to getImportedKeysDave Cramer2001-11-02
|
* proper select for Jason Davies patch to getImportedKeysDave Cramer2001-11-02
| | | | fixes for compiling Jason's getImportedKeys, getExportedKeys
* minor improvements on Dave's last checkinBarry Lind2001-11-01
|
* changes to support 3rd party ERD tools and starofficeDave Cramer2001-10-31
|
* allow null passwordsDave Cramer2001-10-31
|
* added dummy loginDave Cramer2001-10-31
|
* Traditional Chinese error messages for JDBC.Bruce Momjian2001-10-31
| | | | Zhenbang Wei
* fixed change in behavior introduced in bytea / getBytes changes. This patch ↵Barry Lind2001-10-30
| | | | reverts back unintentional change in behavior to return raw value even when not bytea column
* updated patch from Mark Lillywhite per Tom Lane's comments: subtract ↵Barry Lind2001-10-30
| | | | VARHDRSZ first then and with 0xffff
* applied patch from Mark Lillywhite, patch was already applied to jdbc2, this ↵Barry Lind2001-10-30
| | | | applies same fix to jdbc1 code
* pgjindent jdbc files. First time jdbc files were formatted.Bruce Momjian2001-10-25
|
* Here is a patch for DatabaseMetaData to show precision properly. It isBruce Momjian2001-10-24
| | | | from Mark Lillywhite. I am adding to the patch queue.
* fix for a bug in DatabaseMetaData.getIndexInfo(). This fixes a bug reported ↵Barry Lind2001-10-24
| | | | by tom_falconer@lineone.net. On Sept 7th, he sent a test case to the list demonstrating the bug. His test case now works successfully with this patch
* Updated the list of encodings supported to match what the backend now supportsBarry Lind2001-10-16
|
* Added some additional comments in the codeBarry Lind2001-10-16
|