Commit Graph

10150 Commits

Author SHA1 Message Date
Lukas Eder
ebe2a63a84 [jOOQ/jOOQ#11977] PostgresDatabase should ignore unknown functions when parsing index column expressions 2021-06-09 09:32:27 +02:00
Lukas Eder
4898bacf1f [jOOQ/jOOQ#11976] Plain SQL derived tables need to be wrapped in parens 2021-06-08 15:58:15 +02:00
Lukas Eder
0b3e93bba2 [jOOQ/jOOQ#10048] Add logging to BatchCRUD when the number of generated SQL queries is too high 2021-06-08 15:10:17 +02:00
Lukas Eder
df155878e5 [jOOQ/jOOQ#11462] LoaderOptionsStep.commitAfter() is not implemented correctly 2021-06-08 14:57:09 +02:00
Lukas Eder
68858c390f [jOOQ/jOOQ#11973] JDBCUtils.dialect(Connection) recognises MYSQL_8_0, not MYSQL_8_0_19
This fixes a regression introduced by [jOOQ/jOOQ#11808] in the commercial distributions of jOOQ
2021-06-08 10:28:52 +02:00
Lukas Eder
d747123421 [jOOQ/jOOQ#11958] Fix regression in Firebird and others 2021-06-04 16:57:27 +02:00
Lukas Eder
b98c5952c8 [jOOQ/jOOQ#11964] Add new DefaultBinding(Binding<T, U>) constructor 2021-06-04 15:10:51 +02:00
Lukas Eder
56f9c55542 [jOOQ/jOOQ#11924] Fix syntax error when identifiers are not quoted 2021-06-04 11:21:47 +02:00
Lukas Eder
3ff88ace75 [jOOQ/jOOQ#7900] Fix DATEDIFF(day, x, y) for CockroachDB 2021-06-04 10:55:19 +02:00
Lukas Eder
84a05d317f [jOOQ/jOOQ#11564] CockroachDB GENERATE_SERIES doesn't produce an implicit table name 2021-06-04 10:52:41 +02:00
Lukas Eder
223923841a [jOOQ/jOOQ#7900] Fix DATEDIFF(day, x, y) for PostgreSQL 2021-06-04 09:52:26 +02:00
Lukas Eder
6772de381c [jOOQ/jOOQ#7900] Fix DATEDIFF(day, x, y) for PostgreSQL 2021-06-04 09:26:55 +02:00
Lukas Eder
4558a5f418 [jOOQ/jOOQ#2464] [jOOQ/jOOQ#11925] Fix MySQL DELETE t1 AS t2 regression
The previous fix introduced a regression in non-MySQL dialects (e.g. PostgreSQL)
2021-06-04 09:18:34 +02:00
Lukas Eder
ac494c9b98 [jOOQ/jOOQ#11961] Update Redshift dialect
- Fix CURRENT_TIME
- Support LISTAGG()
- Support MEDIAN()
- Support CREATE / ALTER / DROP SCHEMA
2021-06-03 16:49:48 +02:00
Lukas Eder
d2faa7c2df [jOOQ/jOOQ#11960] Add support for Redshift YEAR TO MONTH interval literals 2021-06-03 16:03:13 +02:00
Lukas Eder
57bf3e2524 [jOOQ/jOOQ#11738] Added the optional, provided pgjdbc dependency 2021-06-03 14:43:40 +02:00
Lukas Eder
9a73bc14c5 [jOOQ/jOOQ#2464] [jOOQ/jOOQ#11925] Fix MySQL DELETE t1 AS t2 regression
An earlier fix [jOOQ/jOOQ#2464] to support DELETE table aliasing must be consolidated with the more recent fix [jOOQ/jOOQ#11925] that aims for supporting DELETE .. USING and JOIN in MySQL DELETE
2021-06-03 12:36:40 +02:00
Lukas Eder
178b844fe3 [jOOQ/jOOQ#11958] BOOL_AND() and BOOL_OR() emulation does not correctly implement FILTER clause 2021-06-03 12:13:57 +02:00
Lukas Eder
16da30bbfd [jOOQ/jOOQ#10036] Add parser support for BIT_AND_AGG(), BIT_OR_AGG(), BIT_XOR_AGG() 2021-06-03 11:49:27 +02:00
Lukas Eder
df8c61b473 [jOOQ/jOOQ#10036] Add support for BIT_AND_AGG(), BIT_OR_AGG(), BIT_XOR_AGG() 2021-06-03 11:26:46 +02:00
Lukas Eder
e5fa6a4257 [jOOQ/jOOQ#10528] Improved formatting 2021-06-02 15:33:45 +02:00
Lukas Eder
cfefc39e8d [jOOQ/jOOQ#10528] SQL Server scope declarations must be placed after AS 2021-06-02 15:20:34 +02:00
Lukas Eder
2cde540caf Fix generated API 2021-06-02 15:20:28 +02:00
Lukas Eder
0ea806a01e [jOOQ/jOOQ#11656] HEX() seems to produce the wrong endianness in Db2 2021-06-02 14:13:13 +02:00
Lukas Eder
32fdf66c38 [jOOQ/jOOQ#9650] Fix Firebird BIT_COUNT regression 2021-06-02 13:11:19 +02:00
Lukas Eder
b16efd9a1f [jOOQ/jOOQ#11943] Add native DML ORDER BY .. LIMIT support to Db2 11.1 2021-06-02 12:46:15 +02:00
Lukas Eder
0585526782 [jOOQ/jOOQ#11943] Add native OFFSET support to Db2 11.1 2021-06-02 12:36:03 +02:00
Lukas Eder
bebd77e653 [jOOQ/jOOQ#9650] Add support for the Snowflake database
- BITNOT support
- CREATE TABLE inline comment support
- DATEADD support
2021-06-02 12:15:10 +02:00
Lukas Eder
257a4c903b [jOOQ/jOOQ#7900] Add TIMESTAMPDIFF(datepart, ts, ts) 2021-06-02 12:14:52 +02:00
Lukas Eder
889d15a5b8 [jOOQ/jOOQ#9650] Add support for the Snowflake database
- Support quantified comparison predicates
- Support recursive CTE
- Support UPDATE .. FROM
- Support DISTINCT ON
- Support SELECT .. INTO <table>
- Support CTAS
- Support UPDATE .. ROW = (SELECT ..)
- Support CREATE TABLE IF NOT EXISTS
- Support DROP TABLE IF EXISTS
- Support CREATE / DROP TEMPORARY TABLE
2021-06-01 20:57:21 +02:00
Lukas Eder
93166e77ef [jOOQ/jOOQ#9650] Add support for the Snowflake database
- Support for DATEDIFF()
- Support SET SCHEMA and SET CATALOG
- Support omittable sequence flags
2021-06-01 17:24:46 +02:00
Lukas Eder
46519da6ec [jOOQ/jOOQ#10572] TABLE should be optional in TRUNCATE [ TABLE ] 2021-06-01 17:24:36 +02:00
Lukas Eder
c4a1d06e01 [jOOQ/jOOQ#2620] Add support for BigQuery DATE_DIFF and TIMESTAMP_DIFF 2021-06-01 15:19:19 +02:00
Lukas Eder
078d4cc440 [jOOQ/jOOQ#2620] Add support for BigQuery DATE_DIFF and TIMESTAMP_DIFF 2021-06-01 14:19:52 +02:00
Lukas Eder
d6189e5514 [jOOQ/jOOQ#9650] Add support for the Snowflake database
- Support for DELETE .. USING
- Support for EXTRACT and PG dateparts
- Support TIMESTAMPDIFF()
- Support GENERATE_SERIES()
- Support parsing GENERATOR function
2021-06-01 13:43:49 +02:00
Lukas Eder
486c539ebc [jOOQ/jOOQ#9650] Add support for the Snowflake database
- Support for bitwise operations SHR, SHL
- Support for CTE
- Support for sequences
- Support for ALTER VIEW
- Support for GROUPING SETS
- Support for CURRENT_USER, CURRENT_SCHEMA, CURRENT_DATABASE
2021-06-01 11:35:40 +02:00
Lukas Eder
61a827c682 [jOOQ/jOOQ#11938] Support parsing Snowflake style DATEADD() function
with date part as string literal
2021-06-01 11:35:24 +02:00
Lukas Eder
0a9f03a40f [jOOQ/jOOQ#11934] Constants.MINOR_VERSION was not updated in 3.14 2021-06-01 08:44:49 +02:00
Lukas Eder
11a7b05baf [jOOQ/jOOQ#11932] CLI APIs should log more helpful error messages on NoClassDefFoundError 2021-06-01 08:41:53 +02:00
Lukas Eder
0871c7b33c [jOOQ/jOOQ#11932] CLI APIs should log more helpful error messages on NoClassDefFoundError 2021-06-01 08:39:22 +02:00
Lukas Eder
5d1d7cff2c [jOOQ/jOOQ#11926] Support parsing also Teradata UPDATE .. SET .. FROM 2021-06-01 08:13:33 +02:00
Lukas Eder
6d88075914 [jOOQ/jOOQ#11925] Emulate DELETE .. USING where some equivalent native syntax is available 2021-05-29 11:41:37 +02:00
Lukas Eder
25b2bda4d0 [jOOQ/jOOQ#11927] Add a Javadoc remark about performance to all the fetch() methods that map results 2021-05-28 14:13:54 +02:00
Lukas Eder
01e9ecf19d [jOOQ/jOOQ#11926] Add parser support for UPDATE .. JOIN 2021-05-28 13:54:31 +02:00
Lukas Eder
364555c24f [jOOQ/jOOQ#6277] Support ROWNUM transformation 2021-05-28 08:50:00 +02:00
Lukas Eder
0b9454fe04 [jOOQ/jOOQ#11921] Wrong position reported for parser meta lookup failures 2021-05-27 20:48:06 +02:00
Lukas Eder
76a25dc02e [jOOQ/jOOQ#6277] Add SQLDialect.JAVA - Improved formatting 2021-05-27 15:10:45 +02:00
Lukas Eder
c6a3a7f08d [jOOQ/jOOQ#11918] Add Settings.renderOptionalXYZ support to ParserCLI 2021-05-27 14:41:35 +02:00
Lukas Eder
516fa206af [jOOQ/jOOQ#2620] Add support for BigQuery DATE_TRUNC and DATETIME_TRUNC 2021-05-26 18:10:57 +02:00
Lukas Eder
c16c42ac45 [jOOQ/jOOQ#6277] Add SQLDialect.JAVA - WIP
- Added more known limitations messages
2021-05-26 17:43:00 +02:00