Commit Graph

5624 Commits

Author SHA1 Message Date
Lukas Eder
12e20eb413 [jOOQ/jOOQ#10397] Default implementation of AbstractTable.getIdentity() should check Table.fields() for any Field with DataType.identity() 2020-07-15 11:58:36 +02:00
Lukas Eder
a1d3d20d0c [jOOQ/jOOQ#10386] Updated Javadoc to refer to new Settings 2020-07-14 16:19:37 +02:00
Lukas Eder
aa6957e4cc [jOOQ/jOOQ#10387] XMLGenerator should quote source code from views, check constraints, and default expressions in generated output 2020-07-14 14:16:30 +02:00
Lukas Eder
00f38ce5b1 [jOOQ/jOOQ#10391] Implement TableOptions equals() and hashCode() 2020-07-14 14:11:15 +02:00
Lukas Eder
1beb3238e8 [jOOQ/jOOQ#10388] Support date time arithmetic with interval expressions
Previously, this was supported only with interval params, not with expressions, such as CAST('90 days' AS INTERVAL)
2020-07-14 13:42:33 +02:00
Lukas Eder
0f9ab8f70f [jOOQ/jOOQ#10388] Add parser support for Oracle's INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND types 2020-07-14 11:00:30 +02:00
Lukas Eder
fd8a00bb33 [jOOQ/jOOQ#10386] Add Settings to govern unchanged TableRecord.insert() and UpdatableRecord.update() or store() calls
- TODO: The UpdatableRecord.merge() implementation is not yet correct
2020-07-13 12:25:18 +02:00
Lukas Eder
6191677da4 [jOOQ/jOOQ#6244] RecordMappers can return null 2020-07-13 12:06:21 +02:00
Lukas Eder
1958b1d814 [jOOQ/jOOQ#10377] Inline internal AbstractContext.visit0() to reduce stack trace size 2020-07-09 17:40:33 +02:00
Lukas Eder
41471cf4fd [jOOQ/jOOQ#8965] Wrong DDL generated when using precision on TIMESTAMPTZ
type
2020-07-09 17:12:21 +02:00
Lukas Eder
d9b011c342 [jOOQ/jOOQ#10374] YearToSecond interval incorrectly supported in Oracle 2020-07-09 15:13:48 +02:00
Lukas Eder
bde4100b8f [jOOQ/jOOQ#10372] Refactor internal org.jooq.impl.Cast.Native for better reuse 2020-07-09 14:25:37 +02:00
Lukas Eder
2d0515d513 [jOOQ/jOOQ#10373] Derby CHAR casts erroneously casts to VARCHAR
This contains WIP for:
- [jOOQ/jOOQ#10372] Refactor internal org.jooq.impl.Cast.Native for better reuse
2020-07-09 14:07:28 +02:00
Lukas Eder
09b08ae355 [jOOQ/jOOQ#8029] Support timestamp precision in Oracle casts 2020-07-09 12:54:01 +02:00
Lukas Eder
f95f2bba9f [jOOQ/jOOQ#9540] NVARCHAR not supported in SQLite 2020-07-08 17:48:20 +02:00
Lukas Eder
9b0712cff0 [jOOQ/jOOQ#9590] Fixed HSQLDB, Informix, MariaDB, MySQL, SQLite 2020-07-08 17:43:49 +02:00
Lukas Eder
b911dfaafd [jOOQ/jOOQ#9540] NVARCHAR not supported in PostgreSQL 2020-07-08 17:31:56 +02:00
Lukas Eder
9eae07174c [jOOQ/jOOQ#9590] JDBC DatabaseMetaData backed Meta implementation should read DECIMAL_DIGITS for timestamp precision, not COLUMN_SIZE 2020-07-08 16:53:53 +02:00
Lukas Eder
0f576cc931 [jOOQ/jOOQ#8029] Can't cast timestamp precisions in HANA 2020-07-08 16:05:45 +02:00
Lukas Eder
af835dbd25 [jOOQ/jOOQ#10370] General exception error has occurred in the optimizer in Informix code generation, when generating only one schema and <includeSystemIndexes/> is turned on 2020-07-08 15:35:13 +02:00
Lukas Eder
bc98ddb7f7 [jOOQ/jOOQ#8029] Support timestamp precision in Informix casts 2020-07-08 15:06:51 +02:00
Lukas Eder
4b68d9cd17 [jOOQ/jOOQ#8029] Fix TIMESTAMP(0) precision 2020-07-08 14:27:24 +02:00
Lukas Eder
6a7e194113 [jOOQ/jOOQ#9540] NVARCHAR not supported in Firebird 2020-07-08 14:23:47 +02:00
Lukas Eder
138a094531 [jOOQ/jOOQ#9540] Delegate to ordinary String binding, if NVARCHAR is not supported 2020-07-08 13:33:13 +02:00
Lukas Eder
2359239252 [jOOQ/jOOQ#9540] [jOOQ/jOOQ#9775] Added parser support for N'...' NVARCHAR literals 2020-07-08 13:19:52 +02:00
Lukas Eder
b244dfca54 [jOOQ/jOOQ#9540] SQL Server NVARCHAR literal is not rendered correctly
This includes:

- [jOOQ/jOOQ#10368] Add DataType.isNString()
2020-07-08 13:05:46 +02:00
Lukas Eder
d33bac8efb [jOOQ/jOOQ#8029] Fix TIMESTAMP(0) precision 2020-07-08 12:12:08 +02:00
Lukas Eder
3ad30cd011 [jOOQ/jOOQ#8029] Fix TIMESTAMP(0) precision 2020-07-08 12:09:04 +02:00
Lukas Eder
f9850d9655 [jOOQ/jOOQ#8029] Cast expressions on TIMESTAMP data types should use explicit precision 2020-07-08 11:56:38 +02:00
Lukas Eder
23eecb7de0 [jOOQ/jOOQ#8029] Don't generate timestamp precision in Derby casts 2020-07-07 12:23:40 +02:00
Lukas Eder
9ae0ad9157 [jOOQ/jOOQ#10360] Support parsing NOT DEFERRABLE INITIALLY IMMEDIATE on
foreign key constraints
2020-07-07 11:40:50 +02:00
Lukas Eder
3641494f96 [jOOQ/jOOQ#10362] User bindings and/or converters need to be retained 2020-07-07 11:10:32 +02:00
Lukas Eder
405bcb8b72 [jOOQ/jOOQ#10362] Java 6 fix 2020-07-06 12:49:21 +02:00
Lukas Eder
5ff106bc34 [jOOQ/jOOQ#10362] Refactor DefaultBinding to reference DataType<T>, not
Class<T>
2020-07-06 12:44:29 +02:00
Lukas Eder
cda0232860 [jOOQ/jOOQ#10361] Add JSONFormat.quoteNested() and XMLFormat.quoteNested() flags 2020-07-06 10:14:58 +02:00
Lukas Eder
ead4acf617 [jOOQ/jOOQ#10358] Added TODO 2020-07-03 17:34:45 +02:00
Lukas Eder
84ad860878 [jOOQ/jOOQ#7253] Add support for Loader.batchAll() with onDuplicateKeyIgnore() 2020-07-03 17:33:05 +02:00
Lukas Eder
82dc4b3f7f [jOOQ/jOOQ#5200] Loader API onDuplicateKeyIgnore() doesn't work when primary key is an identity 2020-07-03 16:34:56 +02:00
Lukas Eder
3e3353d993 Fixed some warnings 2020-07-03 14:21:51 +02:00
Lukas Eder
2787cefe07 [jOOQ/jOOQ#10354] Retrofit Table.where() implementation to use new InlineDerivedTable 2020-07-03 14:19:12 +02:00
Lukas Eder
61b16c5740 [jOOQ/jOOQ#5216] Add UpdatableRecord.children(ForeignKey)
This includes:
- UpdatableRecord.children()
- TableRecord.parent()
- ForeignKey.children()
- ForeignKey.parents()
- Result.children()
- Result.parents()
- Re-implementation of existing fetch methods
- [jOOQ/jOOQ#10353] Add a new internal InlineDerivedTable implementation
2020-07-03 13:19:57 +02:00
Lukas Eder
9869001075 [jOOQ/jOOQ#10350] Document Kotlin meta data usage by the DefaultRecordMapper in Javadoc 2020-07-02 16:24:23 +02:00
Lukas Eder
81aa12f91c [jOOQ/jOOQ#10345] NON_BIND_VARIABLE_SUFFIXES should only be used in
PostgreSQL dialect
2020-07-02 15:47:42 +02:00
Lukas Eder
db093b3fc9 [jOOQ/jOOQ#6266] Java 6 fix 2020-07-02 15:40:51 +02:00
Lukas Eder
5c54196097 [jOOQ/jOOQ#10343] Make JSON::data, JSONB::data, and XML::data NotNull 2020-07-02 12:03:34 +02:00
Lukas Eder
d46a9a8a86 [jOOQ/jOOQ#7334] DataAccessException.sqlStateClass() always returns
OTHER for SQLite
2020-07-02 11:29:23 +02:00
Lukas Eder
bbcc30ac76 [jOOQ/jOOQ#10267] ImmutablePOJOMapperWithParameterNames throws
InaccessibleObjectException on module path
2020-07-02 10:36:25 +02:00
Lukas Eder
4924dfcb89 [jOOQ/jOOQ#8220] Row[N] predicates should wrap T argument values in Tools.field() to allow for raw type scalar subqueries 2020-07-01 16:24:09 +02:00
Lukas Eder
6c4da6436a [jOOQ/jOOQ#8553] Actual bug fix 2020-07-01 16:23:53 +02:00
Lukas Eder
16c5efd354 [jOOQ/jOOQ#10336] jooq-meta.xsd shouldn't require table_type 2020-07-01 14:02:15 +02:00