Commit Graph

10855 Commits

Author SHA1 Message Date
Lukas Eder
305c4eccc9 [jOOQ/jOOQ#12910] Add DSL.emptyGroupingSet(): GroupField for explicit
empty grouping sets

This also fixes:

- [jOOQ/jOOQ#12908] Select:: loses GROUP BY clause
2022-01-21 14:32:39 +01:00
Lukas Eder
0e9a2abeca [jOOQ/jOOQ#12910] Add DSL.emptyGroupingSet(): GroupField for explicit
empty grouping sets

This also fixes:

- [jOOQ/jOOQ#12908] Select:: loses GROUP BY clause
2022-01-21 10:45:36 +01:00
Lukas Eder
3009752b64 [jOOQ/jOOQ#12908] Select:: loses GROUP BY clause 2022-01-20 18:06:50 +01:00
Lukas Eder
81f9fedf1b [jOOQ/jOOQ#12907] Add a QOM.UConvertibleOperator utility with methods
like ()
2022-01-20 12:27:43 +01:00
Lukas Eder
e594316054 [jOOQ/jOOQ#12906] Add a QOM.UCommutative utility with methods like () 2022-01-20 11:48:16 +01:00
Lukas Eder
51086faabc [jOOQ/jOOQ#5695] Parse expressions in LIMIT / OFFSET 2022-01-20 10:56:22 +01:00
Lukas Eder
6e779b917a [jOOQ/jOOQ#12904] Remove redundant limit(int) and offset(int) overloads 2022-01-20 10:20:49 +01:00
Lukas Eder
f6fc231a02 [jOOQ/jOOQ#5695] Fixed outdated javadoc 2022-01-20 10:13:24 +01:00
Lukas Eder
f3935558eb [jOOQ/jOOQ#5695] Allow for expressions to be put in LIMIT / OFFSET 2022-01-20 10:09:24 +01:00
Lukas Eder
94c2dab4b8 [jOOQ/jOOQ#5695] Standardise internal method names 2022-01-20 09:32:48 +01:00
Lukas Eder
58971e75dc [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsMergeInLists (merge also Eq with InList)
2022-01-20 09:30:14 +01:00
Lukas Eder
25ba206a0c [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsMergeAndComparison
2022-01-19 20:48:52 +01:00
Lukas Eder
ce902a529f [jOOQ/jOOQ#7284] Refactor some internals 2022-01-19 20:09:56 +01:00
Lukas Eder
3ac7b1d0b1 [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsMergeRangePredicates
2022-01-19 18:11:10 +01:00
Lukas Eder
eb981041dc [jOOQ/jOOQ#7284] Refactor common tree recursion logic 2022-01-19 17:55:21 +01:00
Lukas Eder
8507b6437f [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsNormaliseInListSingleElementToComparison
- transformPatternsMergeInLists
- Support the feature in ParserCLI
2022-01-19 16:51:53 +01:00
Lukas Eder
86a7d87392 [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsOrEqToIn (support interleaving unrelated predicates)
- transformPatternsAndNeToNotIn
- transformPatternsMergeOrComparison
2022-01-19 15:41:36 +01:00
Lukas Eder
1512f029bb [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsNormaliseAssociativeOps (complete)
2022-01-19 12:03:20 +01:00
Lukas Eder
db6cfd1495 [jOOQ/jOOQ#12896] Wrong ON/OFF semantics 2022-01-19 11:51:42 +01:00
Lukas Eder
3c0418568f [jOOQ/jOOQ#12896] Add Settings.renderOptionalAssociativityParentheses 2022-01-19 11:38:00 +01:00
Lukas Eder
4eb13c03d1 [jOOQ/jOOQ#12895] Rename QOM.UOperator[N]::constructor to :: 2022-01-18 17:46:38 +01:00
Lukas Eder
5a818e4f61 [jOOQ/jOOQ#7284] Implement a few new patterns:
- transformPatternsNormaliseAssociativeOps (WIP)
- transformPatternsNormaliseFieldCompareValue
- transformPatternsOrEqToIn (WIP)
2022-01-18 17:26:04 +01:00
Lukas Eder
f0d19f39d8 [jOOQ/jOOQ#7284] WHERE FALSE can be overridden by GROUPING SETS 2022-01-18 14:09:11 +01:00
Lukas Eder
764f227093 [jOOQ/jOOQ#7284] Remove empty scalar subqueries 2022-01-18 12:57:24 +01:00
Lukas Eder
302c420fa2 [jOOQ/jOOQ#12888] Fix regression 2022-01-18 11:56:54 +01:00
Lukas Eder
5392267100 [jOOQ/jOOQ#12890] Parser fails to parse SET SCHEMA 'string-literal' 2022-01-18 11:35:38 +01:00
Lukas Eder
251a21f1dc [jOOQ/jOOQ#7284] Remove trivial WHERE, HAVING, QUALIFY clauses 2022-01-18 11:21:44 +01:00
Lukas Eder
db45ea6f1e [jOOQ/jOOQ#12888] Parser should treat AS optional in CREATE TABLE AS SELECT 2022-01-18 10:52:25 +01:00
Lukas Eder
9bb9eff764 [jOOQ/jOOQ#12887] Support parsing WEEK_OF_YEAR date part 2022-01-18 10:22:46 +01:00
Lukas Eder
01e9658b50 [jOOQ/jOOQ#12884] Add reminder to remove explicit upgrade again 2022-01-18 09:27:30 +01:00
Lukas Eder
c5c2bed8c8 [jOOQ/jOOQ#12884] Upgrade jOOQ-checker's error_prone_core's transitive protobuf dependency to mitigate CVE-2021-22569 2022-01-18 09:17:57 +01:00
Lukas Eder
016f0b9d1d [jOOQ/jOOQ#7284] More NULL related transformations 2022-01-17 20:52:42 +01:00
Lukas Eder
305f04a454 [jOOQ/jOOQ#12883] Add DSL.nullCondition(), a condition that correctly represents the NULL / UNKNOWN predicate value
This includes:

- [jOOQ/jOOQ#7284] Improvements to trivial predicate transformations wrt to NULL predicates
2022-01-17 20:31:29 +01:00
Lukas Eder
903ec5cea8 [jOOQ/jOOQ#7284] This record backport doesn't seem to work 2022-01-17 11:23:22 +01:00
Lukas Eder
efcf5676d4 [jOOQ/jOOQ#12875] Annotate all blocking execution methods with org.jetbrains.annotations.Blocking 2022-01-17 10:11:02 +01:00
Lukas Eder
b9b9b2c801 [jOOQ/jOOQ#12877] Improve blocking call error message when trying to run Query.execute(), etc. with R2DBC 2022-01-17 09:28:50 +01:00
Lukas Eder
c5e2950a86 [jOOQ/jOOQ#12874] Upgrade org.jetbrains:annotations dependency to 23.0.0 2022-01-17 09:02:30 +01:00
Lukas Eder
94b18e1688 [jOOQ/jOOQ#7284] Some trivial predicate transform patterns
- Add a pattern for always TRUE or FALSE EXISTS predicates
- Add Select.() and () and related accessors

TODOs:
- The patterns aren't correct yet if:
  - There are INTERSECT or EXCEPT set operations
  - There is a SEEK clause
  - There are FOR XML or FOR JSON clauses (?)
- A case matching queries with aggregate functions wasn't possible yet, the relevant QOM API must still be designed.
2022-01-14 22:49:14 +01:00
Lukas Eder
f880ae15d5 [jOOQ/jOOQ#7284] Some trivial predicate transform patterns 2022-01-14 20:34:24 +01:00
Lukas Eder
2951b113a8 [jOOQ/jOOQ#7284] Some trivial predicate transform patterns 2022-01-14 18:37:09 +01:00
Lukas Eder
40a709e6cc [jOOQ/jOOQ#12525] Nesting of converters causes unexpected Exception 2022-01-14 14:36:21 +01:00
Lukas Eder
ac65a07db2 [jOOQ/jOOQ#12864] OSS Edition H2 INSERT .. RETURNING no longer works if
columns are qualified with a schema
2022-01-14 13:22:52 +01:00
Lukas Eder
8b49c63267 [jOOQ/jOOQ#12862] Upgrade all relevant R2DBC dependencies to
0.9.0.RELEASE
2022-01-13 17:29:59 +01:00
Lukas Eder
a0844da81c https://github.com/r2dbc/r2dbc-h2/issues/203 has been released 2022-01-13 17:16:42 +01:00
Lukas Eder
208e5888c0 [jOOQ/jOOQ#12854] jOOQ Open Source Edition code generation doesn't work PostgreSQL 11 or less because of ERROR: column pg_attribute.attgenerated does not exist 2022-01-13 12:05:55 +01:00
Lukas Eder
3f1a065b0e [jOOQ/jOOQ#12858] Computed column related support annotations claim 2022-01-13 12:05:25 +01:00
Lukas Eder
8ad939c79f
Merge pull request #12855 from jOOQ/dependabot/maven/org.springframework-spring-core-5.3.14
Bump spring-core from 5.3.13 to 5.3.14
2022-01-13 11:32:04 +01:00
Lukas Eder
9a34079717 [jOOQ/jOOQ#12481] ParsingConnection's PreparedStatement.getMetaData
should be able to produce ResultSetMetaData prior to execution
2022-01-13 11:17:25 +01:00
dependabot[bot]
3f3207bfd9
Bump spring-core from 5.3.13 to 5.3.14
Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 5.3.13 to 5.3.14.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.13...v5.3.14)

---
updated-dependencies:
- dependency-name: org.springframework:spring-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 23:32:08 +00:00
Lukas Eder
51be4f7b57 [jOOQ/jOOQ#12852] Parser can't handle TRIM (FROM <value>) syntax 2022-01-12 18:04:53 +01:00