1. 05 Jun, 2002 1 commit
  2. 30 May, 2002 2 commits
  3. 16 Apr, 2002 1 commit
  4. 19 Nov, 2001 1 commit
  5. 25 Oct, 2001 1 commit
  6. 10 Sep, 2001 1 commit
    • Bruce Momjian's avatar
      Attached is a patch that fixes DatabaseMetaDataTest in the JDBC · 3ef5bebb
      Bruce Momjian authored
      driver's test suite. With previous patches applied, this reduces
      the number of failures of the test suite from 6 to 4. The patch
      fixes the test case itself, rather than the driver.
      
      Details:
      
      1) The driver correctly provided DatabaseMetaData about the sort
      order of NULLs. This was confirmed by Peter Eisentraut on
      pgsql-hackers. I fixed the test to accept/require the current
      behaviour, and made it dependent on the backend version. See
      nullsAreSortedAtStart(), nullsAreSortedAtEnd(),
      nullsAreSortedHigh() and nullsAreSortedLow().
      
      2) DatabaseMetaData.supportsOrderByUnrelated() correctly
      returned true (an ORDER BY clause can contain columns that are
      not in the SELECT clause), but the test case required false.
      Fixed that.
      
      3) Replaced deprecated assert() of junit.framework.TestCase by
      assertEquals(), assertTrue() and assertNotNull(). This is
      because assert will be a new keyword in Java 1.4.
      
      4) Replaced assert(message,false) by the more elegant
      fail(message).
      
      Regards,
      Ren? Pijlman <rene@lab.applinet.nl>
      3ef5bebb
  7. 13 Feb, 2001 1 commit
    • Peter Mount's avatar
      Some more including the patch to DatabaseMetaData backed out by Bruce. · 3d21bf82
      Peter Mount authored
      Tue Feb 13 16:33:00 GMT 2001 peter@retep.org.uk
              - More TestCases implemented. Refined the test suite api's.
              - Removed need for SimpleDateFormat in ResultSet.getDate() improving
                performance.
              - Rewrote ResultSet.getTime() so that it uses JDK api's better.
      
      Tue Feb 13 10:25:00 GMT 2001 peter@retep.org.uk
              - Added MiscTest to hold reported problems from users.
              - Fixed PGMoney.
              - JBuilder4/JDBCExplorer now works with Money fields. Patched Field &
                ResultSet (lots of methods) for this one. Also changed cash/money to
                return type DOUBLE not DECIMAL. This broke JBuilder as zero scale
                BigDecimal's can't have decimal places!
              - When a Statement is reused, the previous ResultSet is now closed.
              - Removed deprecated call in ResultSet.getTime()
      
      Thu Feb 08 18:53:00 GMT 2001 peter@retep.org.uk
              - Changed a couple of settings in DatabaseMetaData where 7.1 now
                supports those features
              - Implemented the DatabaseMetaData TestCase.
      
      Wed Feb 07 18:06:00 GMT 2001 peter@retep.org.uk
              - Added comment to Connection.isClosed() explaining why we deviate from
                the JDBC2 specification.
              - Fixed bug where the Isolation Level is lost while in autocommit mode.
              - Fixed bug where several calls to getTransactionIsolationLevel()
                returned the first call's result.
      3d21bf82