Commit Graph

9012 Commits

Author SHA1 Message Date
Lukas Eder
0e358f3970 [jOOQ/jOOQ#10569] ParserCLI should display individual flags when not providing a new value in interactive mode 2020-09-01 14:36:37 +02:00
Lukas Eder
8171f4bfe0 [jOOQ/jOOQ#10568] ParserCLI should offer configuration of
RenderQuotedNames
2020-09-01 14:30:18 +02:00
Lukas Eder
3947dc11a2 [jOOQ/jOOQ#10565] Fixed CTEs 2020-09-01 11:20:28 +02:00
Lukas Eder
7e500c350e [jOOQ/jOOQ#10565] Fix other usages of Select.getSelect().size() 2020-09-01 11:04:55 +02:00
Lukas Eder
a90353095b [jOOQ/jOOQ#10565] Fix AliasedSelect 2020-09-01 11:00:38 +02:00
Lukas Eder
f35e3ea504 [jOOQ/jOOQ#10565] Support using FOR XML and FOR JSON in CREATE VIEW 2020-09-01 10:55:50 +02:00
Lukas Eder
520892d5fa [jOOQ/jOOQ#10565] Support parsing FOR XML as scalar subqueries 2020-09-01 10:16:20 +02:00
Lukas Eder
5aeadd3017 [jOOQ/jOOQ#10561] Various compilation errors when schema, table, key
names conflict
2020-08-31 17:38:49 +02:00
Lukas Eder
3f22b4a912 [jOOQ/jOOQ#10558] Mention mapping into Record types in DefaultRecordMapper Javadoc 2020-08-31 14:08:38 +02:00
Lukas Eder
c8e26f86c4 [jOOQ/jOOQ#10532] Fixed generated code for Java 8 and less 2020-08-28 13:40:33 +02:00
Lukas Eder
ddf1175714 [jOOQ/jOOQ#10534] <enumConverter/> and <lambdaConverter/> don't work in ScalaGenerator and KotlinGenerator 2020-08-28 11:22:17 +02:00
Lukas Eder
9d5c87d35a [jOOQ/jOOQ#10534] <enumConverter/> and <lambdaConverter/> don't work in ScalaGenerator and KotlinGenerator 2020-08-28 10:59:46 +02:00
Lukas Eder
739f025016 [jOOQ/jOOQ#10550] Avoid Derby upgrade, for now
It seems that not all Derby artifacts are available for version number
10.15.2.0
2020-08-27 20:40:44 +02:00
Lukas Eder
1a63f4bcd1 [jOOQ/jOOQ#10550] Remove the Derby SelectQueryImpl.UNION_PARENTHESIS_IN_DERIVED_TABLES emulation 2020-08-27 17:33:04 +02:00
Lukas Eder
01d3752d47 [jOOQ/jOOQ#3679] [jOOQ/jOOQ#10540] We can't have nice things 2020-08-27 17:17:03 +02:00
Lukas Eder
02af661d77 [jOOQ/jOOQ#10540] [jOOQ/jOOQ#7222] Fix for Derby 2020-08-27 16:58:05 +02:00
Lukas Eder
d98d9eb7ca [jOOQ/jOOQ#10548] Unnecessary stack elements when SelectQueryImpl doesn't have both semi join and where clause predicates 2020-08-27 16:41:05 +02:00
Lukas Eder
d322ea4d63 [jOOQ/jOOQ#10532] Handle generics in .class literals 2020-08-27 16:09:19 +02:00
Lukas Eder
e3e21f5037 [jOOQ/jOOQ#10540] Implement new internal syntax to create derived column
lists only if necessary

- Applied optimisation to QuantifiedComparisonCondition
2020-08-27 15:50:27 +02:00
Lukas Eder
99ea335783 [jOOQ/jOOQ#10540] [jOOQ/jOOQ#10527] Don't apply this feature for embeddables yet 2020-08-27 15:38:29 +02:00
Lukas Eder
5fe566c05a [jOOQ/jOOQ#10540] Implement new internal syntax to create derived column
lists only if necessary

- Refactored some code to use new Tools::selectQueryImpl
- Implement this for RowSubqueryCondition
- Removed old FetchCount logic
- [jOOQ/jOOQ#6004] Improve DSL.values(Row[N]...) emulation
2020-08-27 15:02:12 +02:00
Lukas Eder
f3131fb00b [jOOQ/jOOQ#10540] Implement new internal syntax to create derived column
lists only if necessary

- This also fixes [jOOQ/jOOQ#7867] DSLContext.fetchCount(Select) should
rename the select statement's column names to prevent ambiguities
2020-08-27 13:16:58 +02:00
Lukas Eder
82c0a17b6e [jOOQ/jOOQ#3505] Don't use ORDER BY .. LIMIT 1 in emulations 2020-08-27 10:24:15 +02:00
Lukas Eder
3f8732118e [jOOQ/jOOQ#10542] Add Comparator.inverse() 2020-08-27 10:11:35 +02:00
Lukas Eder
b32c62bd08 [jOOQ/jOOQ#10538] Improve emulation of (a, b) >= (x, y) 2020-08-26 17:38:39 +02:00
Lukas Eder
da0a801bc5 [jOOQ/jOOQ#10535] Generated code should import org.jooq.impl.SQLDataType if possible 2020-08-26 14:14:08 +02:00
Lukas Eder
dc1f3dc6ae [jOOQ/jOOQ#10532] Add new <lambdaConverter/> configuration in <forcedType/> to further simplify programmatic converters 2020-08-26 13:22:39 +02:00
Lukas Eder
192be43181 [jOOQ/jOOQ#8589] Unstable code generation in PostgreSQL regexp_split_to_table function 2020-08-26 12:50:56 +02:00
Lukas Eder
7837875e12 [jOOQ/jOOQ#8353] Correctly emulate RowSubqueryCondition with embeddables 2020-08-26 12:40:32 +02:00
Lukas Eder
425602980e [jOOQ/jOOQ#6187] Add Schema.getTable(Name), getSequence(Name), getUDT(Name), getDomain(Name) 2020-08-26 11:18:26 +02:00
Lukas Eder
4df803651b [jOOQ/jOOQ#6188] Add Catalog.getSchema(Name) 2020-08-26 10:43:31 +02:00
Lukas Eder
f1eb8ba775 [jOOQ/jOOQ#8353] Fix data type in embeddable scalar subquery emulation 2020-08-25 15:01:53 +02:00
Lukas Eder
25278f48eb [jOOQ/jOOQ#10524] Better use of new DataType.isEmbeddable() API 2020-08-25 14:49:28 +02:00
Lukas Eder
4b67d4244a [jOOQ/jOOQ#8353] Fix known limitations of embeddable types
- More embeddables in scalar subqueries improvements
2020-08-25 14:46:03 +02:00
Lukas Eder
563c037d0d [jOOQ/jOOQ#8353] Fix known limitations of embeddable types
- More embeddables in scalar subqueries improvements
2020-08-25 14:26:42 +02:00
Lukas Eder
5c97467580 [jOOQ/jOOQ#8353] Fix known limitations of embeddable types
- Embeddables in scalar subqueries
- [jOOQ/jOOQ#10524] Better use of DataType::isEmbeddable
2020-08-25 14:00:53 +02:00
Lukas Eder
fdc05e3349 [jOOQ/jOOQ#10524] Add DataType.isEmbeddable() 2020-08-25 13:26:41 +02:00
Lukas Eder
d8eac6cc60 [jOOQ/jOOQ#8353] Emulate UPDATE .. SET embeddable = (SELECT ..) 2020-08-25 11:30:25 +02:00
Lukas Eder
fe96278656 [jOOQ/jOOQ#8353] Support placing comments on embeddables 2020-08-21 17:13:48 +02:00
Lukas Eder
0abfdbec0c [jOOQ/jOOQ#2530] Minor scala code generation improvement 2020-08-21 16:27:48 +02:00
Lukas Eder
536cebfaba [jOOQ/jOOQ#8353] Fixed Record[N]::values for embeddables 2020-08-21 15:56:28 +02:00
Lukas Eder
ac516892e9 [jOOQ/jOOQ#8732] Add native support for H2's new UNIQUE predicate 2020-08-21 15:14:40 +02:00
Lukas Eder
564b71b06b [jOOQ/jOOQ#9744] Java 6 fix 2020-08-21 15:14:33 +02:00
Lukas Eder
e58593e690 [jOOQ/jOOQ#9744] Add <locale/> to code generator <target/> specification 2020-08-21 14:32:35 +02:00
Lukas Eder
441f7ccc25 [jOOQ/jOOQ#10512] Add a CloseableDSLContext and stop subtyping AutoCloseable from DSLContext directly 2020-08-21 11:31:41 +02:00
Lukas Eder
afa0ce5748 [jOOQ/jOOQ#10481] Don't generate record constructor with replaced fields 2020-08-20 17:18:17 +02:00
Lukas Eder
a742cffe27 [jOOQ/jOOQ#10511] Add <embeddableDomains/> to allow for wrapping all
DOMAIN types in embeddables

This includes [jOOQ/jOOQ#10481] removing replaced getters / setters from
generated records
2020-08-20 16:51:56 +02:00
Lukas Eder
bb16438f07 [jOOQ/jOOQ#10511] Add <embeddableDomains/> to allow for wrapping all
DOMAIN types in embeddables
2020-08-20 15:38:48 +02:00
Lukas Eder
c76e505a60 [jOOQ/jOOQ#8353] Generate interfaces and POJOs 2020-08-20 13:31:26 +02:00
Lukas Eder
47d5276038 [jOOQ/jOOQ#2530] Kotlin code generation fixes 2020-08-20 11:23:32 +02:00