- 31 10月, 2016 1 次提交
-
-
由 Thomas Mueller Graf 提交于
-
- 30 10月, 2016 2 次提交
-
-
由 Thomas Mueller Graf 提交于
-
由 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.
-
- 26 10月, 2016 4 次提交
-
-
由 Thomas Mueller Graf 提交于
-
由 Noel Grandin 提交于
Fix bug in picking the right index for INSERT..ON DUPLICATE KEY UPDATE when there are both UNIQUE and PRIMARY KEY constraints.
-
由 Thomas Mueller Graf 提交于
-
由 Thomas Mueller Graf 提交于
-
- 23 10月, 2016 1 次提交
-
-
由 Noel Grandin 提交于
-
- 21 10月, 2016 3 次提交
-
-
由 Thomas Mueller Graf 提交于
-
由 Thomas Mueller Graf 提交于
-
由 Thomas Mueller Graf 提交于
-
- 11 10月, 2016 2 次提交
-
-
由 Noel Grandin 提交于
-
由 Noel Grandin 提交于
-
- 08 10月, 2016 1 次提交
-
-
由 Sergi Vladykin 提交于
-
- 05 10月, 2016 1 次提交
-
-
由 Philippe Marschall 提交于
Since we now require at least Java 6 we can remove the Java 6 backwards compatibility layer.
-
- 03 10月, 2016 2 次提交
-
-
由 Philippe Marschall 提交于
The current implementation of getObject does not support byte[]. This is an issue for some people [1]. [1] https://groups.google.com/forum/#!topic/h2-database/InWprFw2B0o
-
由 Philippe Marschall 提交于
Some of the existing JDBC code is missing guards around debug statements that allocate strings.
-
- 02 10月, 2016 1 次提交
-
-
由 Noel Grandin 提交于
-
- 25 9月, 2016 2 次提交
-
-
由 dyorgio 提交于
Implemented unit test.
-
由 Dmitriy Vetutnev 提交于
-
- 24 9月, 2016 2 次提交
-
-
由 dyorgio 提交于
-
由 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
-
- 21 9月, 2016 1 次提交
-
-
由 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
-
- 16 9月, 2016 1 次提交
-
-
由 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.
-
- 13 9月, 2016 1 次提交
-
-
由 Florian Léger 提交于
-
- 12 9月, 2016 1 次提交
-
-
由 Hendrik Schreiber 提交于
-
- 09 9月, 2016 1 次提交
-
-
由 Roy-Breeze 提交于
-
- 07 9月, 2016 1 次提交
-
-
由 Roy-Breeze 提交于
-
- 06 9月, 2016 1 次提交
-
-
由 Nick 提交于
-
- 05 9月, 2016 2 次提交
-
-
由 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)
-
由 Noel Grandin 提交于
-
- 04 9月, 2016 3 次提交
-
-
由 Sergi Vladykin 提交于
-
由 Sergi Vladykin 提交于
-
由 Sergi Vladykin 提交于
-
- 03 9月, 2016 1 次提交
-
-
由 Konstantin Shaposhnikov 提交于
According to https://www.postgresql.org/docs/9.1/static/protocol-flow.html The Describe message (statement variant) specifies the name of an existing prepared statement (or an empty string for the unnamed prepared statement). The response is a ParameterDescription message describing the parameters needed by the statement, followed by a RowDescription message describing the rows that will be returned when the statement is eventually executed (or a NoData message if the statement will not return rows)
-
- 27 8月, 2016 1 次提交
-
-
由 Nick 提交于
-
- 17 8月, 2016 1 次提交
-
-
由 avp1983 提交于
* translation console start * translation continue * translation continue * translation console start * translation continue * translation continue * translation correction * translation correction
-
- 12 8月, 2016 2 次提交
-
-
由 Steve McLeod 提交于
-
由 Steve McLeod 提交于
-
- 09 8月, 2016 1 次提交
-
-
由 Stefan Bodewig 提交于
-