Commit Graph

12223 Commits

Author SHA1 Message Date
Lukas Eder
e8ea2d651a [jOOQ/jOOQ#10234] Unable to rename table with qualified table name on
Oracle dialect
2023-05-12 15:58:05 +02:00
Lukas Eder
40a60d4d2e [jOOQ/jOOQ#15065] Include also:
- Setting of project encoding
- Setting of maven plugin dependency suggested provided scope
2023-05-12 15:21:23 +02:00
Lukas Eder
7f972d19ce [jOOQ/jOOQ#15065] Upgrade maven plugins 2023-05-12 15:03:52 +02:00
Lukas Eder
ca8a986d92 [jOOQ/jOOQ#10107] DDLDatabase throws parse error 'DEFAULT
custom_function_name()'
2023-05-12 14:31:23 +02:00
Lukas Eder
ff86351aca [jOOQ/jOOQ#15050] Don't cache system property value 2023-05-12 13:39:14 +02:00
Lukas Eder
1e78207949 [jOOQ/jOOQ#15048] Fix regression with computed columns 2023-05-12 12:30:38 +02:00
Lukas Eder
30dca0349a [jOOQ/jOOQ#15060] Add DataType.isOther() 2023-05-12 12:10:35 +02:00
Lukas Eder
c5bfb921c4 [jOOQ/jOOQ#15048] DDLDatabase defaultNameCase=lower doesn't work with
ENUM types
2023-05-12 11:45:31 +02:00
Lukas Eder
d5ad7d2968 [jOOQ/jOOQ#15050] Add support for generic
org.jooq.log.<logger>=threshold system properties

This includes:

- [jOOQ/jOOQ#15051] Add JooqLogger.isErrorEnabled()
- [jOOQ/jOOQ#15052] JooqLogger log methods don't check if log level is
enabled
2023-05-10 12:44:38 +02:00
Lukas Eder
21fc9ee085 [jOOQ/jOOQ#15042] Fix this also for older version of MySQL R2DBC driver 2023-05-08 11:26:09 +02:00
Lukas Eder
dbb7644222 [jOOQ/jOOQ#14756] [jOOQ/jOOQ#15046] Let SchemaImpl and TableImpl implement UEmpty 2023-05-08 11:21:19 +02:00
Lukas Eder
dcbb0e5aa3 [jOOQ/jOOQ#15042] Support NULL bind values of type UUID in R2DBC integration 2023-05-08 09:23:45 +02:00
Lukas Eder
c8e26b04d6 [jOOQ/jOOQ#15039] The exported DDL of the table for POSTGRES_15 dialect
is missing a default value
2023-05-08 09:06:33 +02:00
Lukas Eder
e117b90a76 [jOOQ/jOOQ#14985] Fix typo 2023-05-05 16:18:34 +02:00
Lukas Eder
2945cc5439 [jOOQ/jOOQ#14985] Support also RIGHT PATH JOIN
E.g. AUTHOR.books().rightJoin(AUTHOR).on(noCondition())
2023-05-05 16:16:33 +02:00
Lukas Eder
72d06d0e7b [jOOQ/jOOQ#15012] Get BigQuery dialect up to date 2023-05-05 14:44:23 +02:00
Lukas Eder
3d1f58dcf5 [jOOQ/jOOQ#15035] Support NULL bind values of type Year in R2DBC integration 2023-05-05 13:23:47 +02:00
Lukas Eder
80916440f5 [jOOQ/jOOQ#12663] Fix wrong Javadoc tag 2023-05-05 12:03:26 +02:00
Lukas Eder
447d2c671c [jOOQ/jOOQ#14937] Removed comment 2023-05-05 11:50:23 +02:00
Lukas Eder
a722f99662 [jOOQ/jOOQ#14937] Support NULL bind values of type Interval in R2DBC
integration

This includes:

- [jOOQ/jOOQ#15028] R2DBC bind value related exceptions produce
misleading error message
2023-05-05 11:43:57 +02:00
Lukas Eder
357397f372 [jOOQ/jOOQ#14840] Thanks, ChatGPT! 2023-05-05 10:05:40 +02:00
Lukas Eder
72ab4f1c1c [jOOQ/jOOQ#15024] Improve Javadoc of lookupLiteral() for generated enums
This includes:

- [jOOQ/jOOQ#15025] Generate annotations on generated EnumType::getLiteral method, if so configured
2023-05-05 09:55:54 +02:00
Lukas Eder
67f9884e98 Revert "[jOOQ/jOOQ#15020] Replacer and Traverse should recurse into TableField's Table reference" 2023-05-04 19:45:52 +02:00
Lukas Eder
a29c8a2216 [jOOQ/jOOQ#15020] Replacer and Traverse should recurse into TableField's Table reference 2023-05-04 18:14:00 +02:00
Lukas Eder
ce7508ea40 [jOOQ/jOOQ#15022] SchemaImpl and CatalogImpl () and ()
methods shouldn't recurse into Name or Comment parts
2023-05-04 15:53:38 +02:00
Lukas Eder
5af88ab6b5 [jOOQ/jOOQ#14011] Support DELETE FROM .. FROM .. 2023-05-04 15:26:40 +02:00
Lukas Eder
fb4d8734e0 [jOOQ/jOOQ#15015] A few MySQL 5.6 related fixes 2023-05-04 11:08:01 +02:00
Lukas Eder
198c05e983 [jOOQ/jOOQ#14840] Apply Settings.batchSize also to BatchMultiple 2023-05-03 17:41:12 +02:00
Lukas Eder
5d84509b47 [jOOQ/jOOQ#14840] Apply Settings.batchSize also to BatchSingle 2023-05-03 17:19:07 +02:00
Lukas Eder
d092dc9405 [jOOQ/jOOQ#14985] Allow additional ON clauses on path joins 2023-05-03 15:24:00 +02:00
Lukas Eder
ded3fa5a61 [jOOQ/jOOQ#14985] Explicit path joins must have explicit ON calls
In SelectImpl, we can't leave the object in some limbo state where the last JOIN isn't added to the tree because of a lacking ON call.
2023-05-03 15:04:35 +02:00
Lukas Eder
2a6aa8355e [jOOQ/jOOQ#15008] Cannot pass Table reference to row() constructor in
array or list
2023-05-03 14:45:16 +02:00
Lukas Eder
23ef80178f [jOOQ/jOOQ#15007] Change DSL.multisetAgg() overload accepting Field<?>...|Collection<? extends Field<?>> to work with SelectField<?> instead 2023-05-03 14:16:24 +02:00
Lukas Eder
811483c511 [jOOQ/jOOQ#14992] Join elimination for implicit join paths
- Add a reference counter
- Refactored Settings.renderImplicitJoinType logic
- Implement join elimination algorithm in JoinNode
2023-05-03 12:53:45 +02:00
Lukas Eder
71f91cfda9 [jOOQ/jOOQ#15006] This change introduced a regression in Derby? 2023-05-03 10:25:34 +02:00
Lukas Eder
d3e689b79e [jOOQ/jOOQ#15005] Fix generated whitespace 2023-05-02 16:35:50 +02:00
Lukas Eder
c94d9533c0 [jOOQ/jOOQ#15006] Support Oracle 23c's new 64k IN list limit 2023-05-02 16:35:29 +02:00
Lukas Eder
2804ddc2d2 [jOOQ/jOOQ#15005] Refactor generated code
The KotlinGenerator and ScalaGenerator require quite some different constructor design.
2023-05-02 14:29:51 +02:00
Lukas Eder
656e211d42 [jOOQ/jOOQ#15005] Add org.jooq.Path<R>, a type to model join paths
This includes:

- New org.jooq.Path type
- New JOIN method overloads
- Code generation implementation and configuration
2023-05-02 13:12:39 +02:00
Lukas Eder
f1e58301e4
Merge pull request #14996 from jmax01/patch-1
#14995 fix  OffsetDateTimeRange javadoc
2023-05-02 09:05:43 +02:00
Lukas Eder
c42deedaae [jOOQ/jOOQ#14998] Add code generation flag <implicitJoinPathUnusedConstructors/> to offer an option to stop generating unused implicit join path constructors 2023-05-02 08:47:47 +02:00
Jeff Maxwell
191fd401b4
#14995 fix OffsetDateTimeRange javadoc 2023-05-01 12:24:02 -05:00
Lukas Eder
55a74c04d7 [jOOQ/jOOQ#13639] Fix ambiguities of to-many and to-one self path joins 2023-05-01 19:14:49 +02:00
Lukas Eder
ffb9414667 [jOOQ/jOOQ#13639] Fix a few regressions
The new inverse foreign key code generation regressed on
[jOOQ/jOOQ#9758] and [jOOQ/jOOQ#11032]
2023-05-01 16:09:33 +02:00
Lukas Eder
72d7c3c8e8 [jOOQ/jOOQ#13639] to-many joins should be LEFT JOIN 2023-05-01 16:09:12 +02:00
Lukas Eder
ce1835bdb2 [jOOQ/jOOQ#13639] Change the ManyToManyKeyDefinition name
The ManyToManyKeyDefinition is a directed synthetic key, going from table1 to table2 using foreignkey1 and foreignkey2.

In order to improve the code generation experience out of the box, the name of the key should be the one of foreignkey2.
2023-05-01 11:04:45 +02:00
Lukas Eder
47f59ce5d3 [jOOQ/jOOQ#14993] Add a new <matchers/> subelement <foreignKeys/> 2023-05-01 10:33:06 +02:00
Lukas Eder
b096a11858 [jOOQ/jOOQ#13639] Fix code generation error in ScalaGenerator 2023-05-01 10:04:36 +02:00
Lukas Eder
1de1dfcb86 [jOOQ/jOOQ#14985] Fixed wrong pattern matching backport 2023-05-01 08:01:17 +02:00
Lukas Eder
caa3dca7db [jOOQ/jOOQ#14985] Support many-to-many path joins 2023-04-28 17:40:44 +02:00