Commit Graph

8889 Commits

Author SHA1 Message Date
Lukas Eder
5fd997e999 [jOOQ/jOOQ#8576] More urgent deprecation warning 2020-07-17 16:51:53 +02:00
Lukas Eder
75564fb38d [jOOQ/jOOQ#8576] Regenerate jOOQ-meta code with
<instanceFields>true</instanceFields>
2020-07-17 16:33:11 +02:00
Lukas Eder
0bf32a4458 [jOOQ/jOOQ#10422] Let User and Role extend Named to give access to
quoted / unquoted and qualified / unqualified names
2020-07-17 15:14:14 +02:00
Lukas Eder
a4b54b2436 [jOOQ/jOOQ#10420] Add Context.methodIf(Arg, boolean) for an "internal if" implementation 2020-07-17 14:53:38 +02:00
Lukas Eder
d50e8bd3f6 [jOOQ/jOOQ#10365] DSL.currentTimestamp() should generate GETDATE() instead of CURRENT_BIGDATETIME() in Sybase ASE 12.5 2020-07-17 14:18:51 +02:00
Lukas Eder
9ffd882d2f [jOOQ/jOOQ#10418] GrantOnStep.on(String) and RevokeOnStep.on(String) should wrap String argument in Name 2020-07-17 12:57:28 +02:00
Lukas Eder
75579d6080 [jOOQ/jOOQ#10417] Sybase ASE cannot cast from numbers to TEXT directly 2020-07-17 11:43:23 +02:00
Lukas Eder
066d213a92 [jOOQ/jOOQ#10415] Wrong Support annotations on INTERSECT and EXCEPT for MySQL 2020-07-17 10:18:21 +02:00
Lukas Eder
8b5c0240ef [jOOQ/jOOQ#10406] WIP 2020-07-16 17:42:03 +02:00
Lukas Eder
8b22e47726 [jOOQ/jOOQ#10406] WIP 2020-07-16 14:49:47 +02:00
Lukas Eder
b16664d1ec [jOOQ/jOOQ#10408] Error in Sybase ASE INSERT .. DEFAULT VALUES emulation when used with identity column 2020-07-16 14:49:31 +02:00
Lukas Eder
5bf67a30c8 [jOOQ/jOOQ#10404] Add SQLDialect.ASE_12_5, ASE_15_5, ASE_15_7, ASE_16_0 dialects 2020-07-16 12:20:59 +02:00
Lukas Eder
fddd51b3fd [jOOQ/jOOQ#10399] Fixed Derby code generator 2020-07-16 10:34:15 +02:00
Lukas Eder
d68d6326fe [jOOQ/jOOQ#10402] Add when(Field<Boolean>) overloads to CASE expression API 2020-07-16 09:59:10 +02:00
Lukas Eder
b5b65b037c [jOOQ/jOOQ#10399] Fixed PostgreSQL code generator 2020-07-16 09:56:14 +02:00
Lukas Eder
f40a591bf4 [jOOQ/jOOQ#9212] Add support for MariaDB INSERT and DELETE RETURNING 2020-07-15 15:40:23 +02:00
Lukas Eder
11e9ec7eac Regenerated example code 2020-07-15 15:39:57 +02:00
Lukas Eder
719aae0a73 [jOOQ/jOOQ#10400] Use DataType.identity() information in the absence of Table.getIdentity() in INSERT .. RETURNING emulation 2020-07-15 13:12:56 +02:00
Lukas Eder
59088d30c8 [jOOQ/jOOQ#10399] DataType.defaultValue() and DataType.identity() shouldn't be mutually exclusive
This also fixes:

[jOOQ/jOOQ#10398] <syntheticIdentities/> doesn't set DataType.identity(true) in generated code
2020-07-15 12:39:04 +02:00
Lukas Eder
299f98616a [jOOQ/jOOQ#10397] Restore generating Table.getIdentity() overrides
But don't generate Identity constants, instead cast the super.getIdentity() result to a more narrow type.
2020-07-15 12:26:24 +02:00
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
43d89b6bbe [jOOQ/jOOQ#10394] <comments/> and related flags implemented incorrectly
in JavaGenerator
2020-07-14 16:08:59 +02:00
Lukas Eder
604feeeeea [jOOQ/jOOQ#10390] <sources/> and <sourcesOnViews/> are not implemented in XMLGenerator 2020-07-14 15:36:03 +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
e1b0fae8d5 [jOOQ/jOOQ#10389] Support INFORMATION_SCHEMA.COLUMNS.INTERVAL_TYPE in H2 2020-07-14 11:16:20 +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
903253f2e7 [jOOQ/jOOQ#9945] Support TIMESTAMP(0) in code generator 2020-07-09 17:12:11 +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