aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
Commit message (Collapse)AuthorAge
* When positioned before the start of a ResultSet issuing relative(0)Kris Jurka2005-04-18
| | | | | results in an exception being thrown when it really should be a no-op.
* Fix mapping infinite timestamp values to arbitrary dates.Kris Jurka2005-01-13
| | | | Report from Oliver Siegmar.
* Correctly cast the return value of a CallableStatement when getShortKris Jurka2004-10-21
| | | | | | | | is called. getByte presents a can't happen situation as no function can return a TINYINT because pg doesn't have an equivalent type. Make this throw an exception if we get to this point. Thanks to Christian Niles.
* Protected access to variable m_preparedCount via synchronizedKris Jurka2004-09-13
| | | | | | | | function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Originally Jan Wieck, re-reported by Jack Orenstein after accidental removal.
* ResultSet.moveToCurrentRow was checking the cached updateability flagKris Jurka2004-09-13
| | | | | | | | | | assuming it had been set instead of correctly calling the isUpdateable() method which sets the flag if needed. This usually worked because moveToCurrentRow is only useful after a moveToInsertRow call which would set the flag, but this is not required. David Bucciarelli
* New build for the 7.4.4 release.Kris Jurka2004-08-13
|
* Decode V3 notice messages instead of leaving them in raw form.Kris Jurka2004-08-11
| | | | From Donald Fraser.
* DatabaseMetaData.getSearchString escape was a \ short of workingKris Jurka2004-08-11
| | | | | because both Java's String constructor and pg's input parser strip off backslashes.
* When retrieving an array of numerics it attempted to set the scale onKris Jurka2004-07-15
| | | | | | the retrieved data to zero, which doesn't work for non-integer values. Oliver Dauben
* Fix apparently harmless typo. {$srcdir} -> ${srcdir}Kris Jurka2004-06-24
| | | | Markus Schaber
* Close the existing socket connection when reverting to the V2Kris Jurka2004-06-22
| | | | | | protocol, or encountering other connection failures. Laurent Sylvain
* Fix some problems with result sets positioned before the start orKris Jurka2004-06-21
| | | | | after the end of results. You could still call a number of methods on them like getXXX, updateXXX, and updateRow().
* Fix updatable ResultSets stream methods (ascii, character, binary).Kris Jurka2004-06-21
| | | | | | | | The existing code didn't correctly allocate data arrays, and it failed to loop when a stream didn't provide the full amount of data requested of it. Reported by Jan de Visser.
* Foreign key information results should have column name FKTABLE_CATKris Jurka2004-06-18
| | | | | | instead of FK_TABLE_CAT. From jeff@bonevich.com.
* Don't throw an Exception in locatorsUpdateCopy() even though theKris Jurka2004-06-16
| | | | | | ability to update LOBs is unimplemented. The 1.5 JDK's CachedRowSet implementation calls this method regardless of whether large objects are used or not.
* Bump the build number to relase a new version.Kris Jurka2004-06-16
|
* When deleteRow() is called on an updateable ResultSet the ResultSetKris Jurka2004-06-16
| | | | | | should be positioned on the previous row. Reported by Bob Messenger and Chris Pesarchick.
* Fix DatabaseMetaData results for determining foreign keyKris Jurka2004-06-16
| | | | | | | relationships. Resulting columns from getImportedExportedKeys should be FKTABLE_SCHEM and PKTABLE_SCHEM, not _SCHEMA. Per report from jeff@bonevich.com.
* Fix setting timestamp values with very early year values, like 2, byKris Jurka2004-05-17
| | | | | | | formatting all years with four digits. Previously 0002-10-30 was being sent as 2-10-30 which got turned into 2030-02-10. Per report from oneway_111.
* Allow public access to radius field to match other geometric typesKris Jurka2004-05-07
| | | | | | behavior. Per report from Declan Lynch.
* Update the build.xml file to support building with the new 1.5 jdkKris Jurka2004-04-26
| | | | and ant 1.6.
* Allow updateable ResultSets to support types that aren't directlyKris Jurka2004-04-24
| | | | | | mappable to Java types, for example cidr. Per report from Moray Taylor.
* Fix for bug with the jdbc driver not properly working with binary cursors andBarry Lind2004-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the V3 protocol. Modified Files: Tag: REL7_4_STABLE jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/core/BaseResultSet.java jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/core/Field.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java jdbc/org/postgresql/jdbc1/Jdbc1RefCursorResultSet.java jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java jdbc/org/postgresql/jdbc1/Jdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java jdbc/org/postgresql/jdbc2/Jdbc2RefCursorResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3ResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3CallableStatement.java jdbc/org/postgresql/jdbc3/Jdbc3PreparedStatement.java jdbc/org/postgresql/jdbc3/Jdbc3RefCursorResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3ResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3Statement.java jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java jdbc/org/postgresql/test/jdbc2/OID74Test.java Added Files: Tag: REL7_4_STABLE jdbc/org/postgresql/test/jdbc2/ServerCursorTest.java
* Update build number in anticipation of 7.4.2 release. With noKris Jurka2004-03-04
| | | | | currently outstanding issues we'll flag now, so the release doesn't slip out the door without it.
* Closing a Connection or Statement object twice should be a no-opKris Jurka2004-02-24
| | | | | | instead of throwing an Exception. Per report from Victor Sergienko.
* Don't try to turn the random bytes from a md5 salt into a StringKris Jurka2004-02-10
| | | | | | because it may not be a valid String depending on the encoding. Per report from Nadeem Bitar.
* V3 NotificationResonse messages were trying to be received as V2Kris Jurka2004-02-03
| | | | | | | messages. Also the PID was being read in the wrong byte order. Finally add a test case for listen/notify. Per report from Hans Nather.
* ConnectionPool and SimpleDataSource are marked Serializable, but theirKris Jurka2004-02-03
| | | | | | | | superclass (which contains a number of state variables) is not. To correctly serialize these objects we need to manually implement writeObject and readObject. Per report from R. Lemos
* ResultSet.next() and previous() incremented or decremented theKris Jurka2004-02-03
| | | | | | | | internal current_row variable regardless of wether they succeeded or not. This generated some ArrayIndexOutOfBoundsExceptions when the errorneous adjustment current_row led to out of range values. Per report from Fischer Krisztian.
* Fix the setXXXStream methods. If passed a null InputStream, convertKris Jurka2004-02-03
| | | | | | | | | | this to a setNull call. The code originally would try to read the whole stream in one call to read(), but this doesn't work. The InputStream API makes it clear you must be prepared to loop and continue reading if you didn't get the whole request on the first try. Per report from Martin Holz.
* Newer versions of the 1.4.2 jdk give warnings about having return in aKris Jurka2004-02-03
| | | | finally clause.
* Translation updatesPeter Eisentraut2004-01-07
|
* Translation updatesPeter Eisentraut2004-01-05
|
* patch for new OID74TestDave Cramer2003-12-18
|
* backpatch for OID74Test to conform with jdbc testsDave Cramer2003-12-18
|
* backpatch for rs.previous from Kris Jurka, reported by Andrew FyfeDave Cramer2003-12-18
|
* patch for building for an alternate portDave Cramer2003-12-18
|
* back patch by Kris Jurka to get the correct protocol version from the serverDave Cramer2003-12-18
|
* back patching fix for compat 7.1 binary stream issues with the new protocolDave Cramer2003-12-17
| | | | added test for same
* patch for returning database metadata as system objects from Kris JurkaDave Cramer2003-12-13
|
* add missing SQLState by Patrick HigginsDave Cramer2003-12-12
|
* cancel row updates sets values to null by Kris JurkaDave Cramer2003-12-12
|
* patch to indicate why test cases failed from Oliver JowettDave Cramer2003-12-12
|
* fix casting pooled connections to PGStatement problem patch by JariPDave Cramer2003-12-12
|
* patch to build under jdk1.1 from Richard ScrantonDave Cramer2003-12-12
|
* binary stream patch by Kris Jurka fixes empty stream failureDave Cramer2003-12-12
|
* metadata encoding patch from Kris JurkaDave Cramer2003-12-12
|
* patch for unique foreign keys and test case from Kris JurkaDave Cramer2003-12-11
|
* patch to make PSQLState serializable, and a test case for itDave Cramer2003-12-11
| | | | added a test case for getLastOID
* incremented the build number to 210Dave Cramer2003-12-10
|