Commit Graph

10536 Commits

Author SHA1 Message Date
Lukas Eder
8a0c158388 [jOOQ/jOOQ#12501] Added ParserCLI support for Settings.parseSetCommands 2021-10-18 18:12:29 +02:00
Lukas Eder
8aa2189316 [jOOQ/jOOQ#12501] Added ParserCLI support for
Settings.parseUnsupportedSyntax etc.
2021-10-18 18:05:23 +02:00
Lukas Eder
b1b58541a2 [jOOQ/jOOQ#12501] Added ParserCLI support for Settings.parseLocale 2021-10-18 17:37:45 +02:00
Lukas Eder
b29ef6ace7 [jOOQ/jOOQ#12501] Added ParserCLI support for Settings.parseDateFormat 2021-10-18 17:24:20 +02:00
Lukas Eder
b0c07733b5 [jOOQ/jOOQ#11401] Improve JSON_VALUE formatting 2021-10-18 16:53:50 +02:00
Lukas Eder
c0d6920504 IntelliJ inspection improvements 2021-10-18 16:02:37 +02:00
Lukas Eder
ccd55c92f7 [jOOQ/jOOQ#9085] [jOOQ/jOOQ#8640] Change default ON DUPLICATE KEY IGNORE
The default SQL generated for unattached queries shouldn't throw exceptions, but generate something meaningful instead. This change switches the default emulation of ON DUPLICATE KEY IGNORE from INSERT .. SELECT (which requires constraint meta data) to MySQL's INSERT IGNORE
2021-10-15 17:21:16 +02:00
Lukas Eder
a9021b208d [jOOQ/jOOQ#10149] JetBrains annotations aren't really transitive 2021-10-15 16:48:03 +02:00
Lukas Eder
562539dcda [jOOQ/jOOQ#12507] More nullability annotation fixesg 2021-10-15 16:28:32 +02:00
Lukas Eder
fd768e310a [jOOQ/jOOQ#12530] Let Function1 <: Function and Function2 <: BiFunction 2021-10-15 16:28:15 +02:00
Lukas Eder
08e4f0af42 [jOOQ/jOOQ#12507] More nullability annotation fixes 2021-10-15 15:42:32 +02:00
Lukas Eder
68d0a9de01 [jOOQ/jOOQ#12507] More nullability annotation fixes 2021-10-15 15:32:49 +02:00
Lukas Eder
a01e67c9ef [jOOQ/jOOQ#12507] More array annotation fixes 2021-10-15 14:47:48 +02:00
Lukas Eder
12cacd21e9 [jOOQ/jOOQ#12529] Add nullability annotations to BindingXYZContext types 2021-10-15 14:11:41 +02:00
Lukas Eder
857edd0ecb [jOOQ/jOOQ#12528] Add ExecuteScope, a Scope that knows about an ExecuteContext
This includes:

- [jOOQ/jOOQ#12527] DefaultExecuteContext.LOCAL_SCOPE is reset to null when nesting lazy executions
2021-10-15 13:48:00 +02:00
Lukas Eder
a9d8e9e67d [jOOQ/jOOQ#10149] Modularise more modules
- jOOQ-codegen (add opens)
- jOOQ-postgres-extensions (add opens)
2021-10-15 09:58:23 +02:00
Lukas Eder
8c15e0c97f [jOOQ/jOOQ#10149] Modularise more modules
- jOOQ-codegen
- jOOQ-meta
- jOOQ-postgres-extensions
2021-10-15 09:55:21 +02:00
Lukas Eder
1037e72e1a Upgrade Spring Boot dependency (for examples) 2021-10-15 09:32:37 +02:00
Lukas Eder
5867e20993 [jOOQ/jOOQ#12516] Field with Converter<String, Boolean> inside multiset causes JSON parsing error on Oracle 2021-10-14 16:31:43 +02:00
Lukas Eder
a9629f1e63 [jOOQ/jOOQ#12500] Unable to fetch Instant field within a multiset 2021-10-14 15:30:58 +02:00
Lukas Eder
f4d571dfca [jOOQ/jOOQ#12413] Fix this also for SQL Server 2021-10-14 15:22:42 +02:00
Lukas Eder
5f984e2d44 [jOOQ/jOOQ#12425] Fix a regression in NotField with converters 2021-10-14 14:36:06 +02:00
Lukas Eder
92f8bf696b [jOOQ/jOOQ#12413] Fixed a regression of [jOOQ/jOOQ#979] 2021-10-14 14:16:27 +02:00
Lukas Eder
11e59a8ed7 [jOOQ/jOOQ#12492] Clarify whether .offset(..) starts from 0 or 1 2021-10-14 14:05:55 +02:00
Lukas Eder
53db69b8f9 [jOOQ/jOOQ#12520] Parser should support PERCENTILE_CONT /
PERCENTILE_DISC with expressions as percentiles
2021-10-14 13:43:49 +02:00
Lukas Eder
a26e6f7676 [jOOQ/jOOQ#12413] DataTypeException in multiset with a mapped nested row 2021-10-13 17:57:14 +02:00
Lukas Eder
67459fff9e [jOOQ/jOOQ#12513] Add some Javadoc links to raise awareness 2021-10-13 14:44:47 +02:00
Lukas Eder
18f9d9dd12 [jOOQ/jOOQ#12513] Add new Functions.nullOnAllNull(FunctionN) and
nullOnAnyNull(FunctionN)
2021-10-13 14:38:20 +02:00
Lukas Eder
d73c0ee011 [jOOQ/jOOQ#12509] DefaultConverterProvider should be able to convert
from JSON(B) to the usual JSON types and back.
2021-10-13 14:38:10 +02:00
Lukas Eder
c03a3b2dc5 [jOOQ/jOOQ#12507] Improve some internal Nullable / NotNull annotation usage
- Cast RecordImpl[N]::field[N] return type to @NotNull Field<TN>
- Cast RowImpl[N]::field[N] return type to @NotNull Field<TN>
- Correcly annotate arrays
2021-10-12 10:25:41 +02:00
Lukas Eder
c9eab159a2 [jOOQ/jOOQ#9085] PIVOT should generate Oracle's syntax by default 2021-10-12 10:00:02 +02:00
Lukas Eder
fb9f95d35c [jOOQ/jOOQ#12506] SQLDialect.supportedBy() and supportedUntil() should specify that they're inclusive in their Javadoc 2021-10-12 09:55:01 +02:00
Lukas Eder
8a75e3772f [jOOQ/jOOQ#12498] Meta does not produce correct DataType::nullable information when data type isn't supported 2021-10-11 13:49:24 +02:00
Lukas Eder
5be1737019 [jOOQ/jOOQ#12502] NPE in Query.equals() when Query isn't attached 2021-10-11 11:35:05 +02:00
Lukas Eder
0500353036 [jOOQ/jOOQ#12425] Don't leak <T> type from Traverser<T, ?> 2021-10-11 11:09:38 +02:00
Lukas Eder
9aff87b361 [jOOQ/jOOQ#12425] Added Traversers:
- Added Javadoc to Traverser
- Moved (), (), () to Traversers
- Added a Collector / Traverser bridge
2021-10-09 12:22:01 +02:00
Lukas Eder
c5019200cc [jOOQ/jOOQ#12425] Re-generate API 2021-10-08 16:41:48 +02:00
Lukas Eder
31c1dbb07a [jOOQ/jOOQ#12425] Refactor traversal utilities:
Add a new Traverser type to wrap the common () parameters. This will allow for more versatile API evolution, in case traversal requires additional features in the future, or simpler convenience APIs.
2021-10-08 16:39:30 +02:00
Lukas Eder
29d91ab544 [jOOQ/jOOQ#12425] Refactor traversal utilities:
Add a new Traverser type to wrap the common () parameters. This will allow for more versatile API evolution, in case traversal requires additional features in the future, or simpler convenience APIs.
2021-10-08 16:17:13 +02:00
Lukas Eder
f035aa30e0 [jOOQ/jOOQ#12425] () needs before/after events, not just before 2021-10-08 14:24:29 +02:00
Lukas Eder
f17f1e2a46 [jOOQ/jOOQ#12495] Ignored COMMENT ON CONSTRAINT syntax should support qualified object identifiers 2021-10-08 14:20:18 +02:00
Lukas Eder
7d08b3fa4a [jOOQ/jOOQ#12425] Replace Tools.traverseConditions by 2021-10-07 23:00:21 +02:00
Lukas Eder
43ab2fbf7c [jOOQ/jOOQ#12425] Backport pattern matching for instanceof (WIP) 2021-10-07 22:45:19 +02:00
Lukas Eder
cb564c8387 [jOOQ/jOOQ#12425] Backport pattern matching for instanceof (WIP) 2021-10-07 18:46:43 +02:00
Lukas Eder
3a4f19659b [jOOQ/jOOQ#12425] Ensure Nullable annotations are correct on QOM types 2021-10-07 16:54:03 +02:00
Lukas Eder
bd83f2bbc3 [jOOQ/jOOQ#12488] Add Maven groupId info to Constants 2021-10-07 15:14:45 +02:00
Lukas Eder
6f329c16f7 [jOOQ/jOOQ#12488] More robust version check (e.g. NoClassDefFoundError) 2021-10-07 15:06:53 +02:00
Lukas Eder
74005c452d [jOOQ/jOOQ#12488] Log warning in code generator when wrong runtime
version is used
2021-10-07 15:03:44 +02:00
Lukas Eder
c094b7b798 [jOOQ/jOOQ#12425] Refactor internal transformation utilities
We already had a few internal expression tree transformation utilities,
which can now be refactored in favour of more generic QOM transformation
tools. The refactoring includes:

- And::transform and Or::transform
- ANSI JOIN to Oracle (+) JOIN transformation (fixing some limitations)
2021-10-06 21:26:03 +02:00
Lukas Eder
b14e51a453 [jOOQ/jOOQ#12425] Ensure we use XML and JSON instead of Xml and Json 2021-10-06 17:40:16 +02:00