1. 31 10月, 2016 1 次提交
  2. 30 10月, 2016 2 次提交
    • Thomas Mueller Graf's avatar
      Javadocs, formatting · 1576ebc5
      Thomas Mueller Graf 提交于
      1576ebc5
    • Philippe Marschall's avatar
      Add JSR-310 Support (#386) · f4507bb3
      Philippe Marschall 提交于
      Add support for Java 8 Date and Time API AKA JSR-310. On the face of it
      the existing JDBC types java.sql.Date, java.sql.Time and
      java.sql.Timestamp offer conversion methods to and from JSR-310 data
      types. Unfortunately java.sql.Timestamp does silent data truncation
      when the timestamp falls into a DST transition on the JVM time zone.
      Worse still for java.time.OffsetDateTime there is no corresponding JDBC
      type. Therefore these conversions have to be implemented. All of this
      has to be programmed using reflection so the code compiles and can be
      executed on Java 7.
      f4507bb3
  3. 26 10月, 2016 4 次提交
  4. 23 10月, 2016 1 次提交
  5. 21 10月, 2016 3 次提交
  6. 11 10月, 2016 2 次提交
  7. 08 10月, 2016 1 次提交
  8. 05 10月, 2016 1 次提交
  9. 03 10月, 2016 2 次提交
  10. 02 10月, 2016 1 次提交
  11. 25 9月, 2016 2 次提交
  12. 24 9月, 2016 2 次提交
    • dyorgio's avatar
      5366bc3c
    • Philippe Marschall's avatar
      Improve TimestampWithTimeZone javadoc · 411d6a15
      Philippe Marschall 提交于
      I found the comments in TimestampWithTimeZone not helpful in
      understanding the semantics of the public methods.
      
      This commit includes the following changes
      
       - add comments to previously not commented public methods in
         TimestampWithTimeZone that describe the semantics
       - add more verifications to TestTimeStampWithTimeZone to make sure the
         actual behavior matches the documented behavior
      411d6a15
  13. 21 9月, 2016 1 次提交
    • Philippe Marschall's avatar
      Change getters in TimestampWithTimeZone to int · 9c3478e4
      Philippe Marschall 提交于
      The convenience accessors getYear getMonth and getDay in
      TimestampWithTimeZone return long even though their values fall within
      the range of int. This makes them a bit inconvenient to work with as
      most APIs (Calendar, LocalDateTime) take int for such values.
      
      This commit contains the following changes
      
       - change TimestampWithTimeZone#getYear() to return an int instead of
         a long
       - change TimestampWithTimeZone#getMonth() to return an int instead of
         a long
       - change TimestampWithTimeZone#getDay() to return an int instead of
         a long
      9c3478e4
  14. 16 9月, 2016 1 次提交
    • Philippe Marschall's avatar
      Add support for getObject(int|String, Class) · 79965db6
      Philippe Marschall 提交于
      Both JdbcResultSet and JdbcCallableStatement currently do not support
      getObject(int, Class) and getObject(String, Class) but support is easy
      to add.
      
      This commits contains the following changes:
      
       - add support for getObject(int, Class) and getObject(String, Class)
          with the following types: BigDecimal, String, Boolean, Byte, Short,
         Integer, Long, Float, Double, Date, Time, Timestamp, UUID,
         TimestampWithTimeZone and Geometry subclasses
       - extend the existing getObject tests to cover these new methods
      
      Most notably missing is support for LOBs and arrays including primitive
      arrays but this can always be added later.
      79965db6
  15. 13 9月, 2016 1 次提交
  16. 12 9月, 2016 1 次提交
  17. 09 9月, 2016 1 次提交
  18. 07 9月, 2016 1 次提交
  19. 06 9月, 2016 1 次提交
  20. 05 9月, 2016 2 次提交
    • Konstantin Shaposhnikov's avatar
      pg: respect format codes from Bind message when sending results · 696a50ed
      Konstantin Shaposhnikov 提交于
      From https://www.postgresql.org/docs/9.1/static/protocol-message-formats.html:
      
        Bind (F)
      
        ...
      
        After the last parameter, the following fields appear:
      
        Int16
      
          The number of result-column format codes that follow (denoted R
          below). This can be zero to indicate that there are no result
          columns or that the result columns should all use the default
          format (text); or one, in which case the specified format code is
          applied to all result columns (if any); or it can equal the actual
          number of result columns of the query.
      
        Int16[R]
      
          The result-column format codes. Each must presently be zero (text)
          or one (binary).
      
      Also fix testBinaryTypes test:
      
      - force binary by setting prepareThreshold to -1
      - handle REAL type as float
      
      Without the fix the corrected test testBinaryTypes fails:
      
        05:25:02 21:55:02.666 org.h2.test.unit.TestPgServer Expected: 12345678 actual: 825373492
        Exception in thread "main" java.lang.AssertionError: Expected: 12345678 actual: 825373492
            at org.h2.test.TestBase.fail(TestBase.java:464)
            at org.h2.test.TestBase.assertEquals(TestBase.java:617)
            at org.h2.test.unit.TestPgServer.testBinaryTypes(TestPgServer.java:404)
            at org.h2.test.unit.TestPgServer.test(TestPgServer.java:51)
            at org.h2.test.unit.TestPgServer.main(TestPgServer.java:41)
      696a50ed
    • Noel Grandin's avatar
      3e78c03a
  21. 04 9月, 2016 3 次提交
  22. 03 9月, 2016 1 次提交
  23. 27 8月, 2016 1 次提交
  24. 17 8月, 2016 1 次提交
    • avp1983's avatar
      Update russian translation (#337) · 57a2c96f
      avp1983 提交于
      * translation console start
      
      * translation continue
      
      * translation continue
      
      * translation console start
      
      * translation continue
      
      * translation continue
      
      * translation correction
      
      * translation correction
      57a2c96f
  25. 12 8月, 2016 2 次提交
  26. 09 8月, 2016 1 次提交