Commit Graph

12239 Commits

Author SHA1 Message Date
Lukas Eder
2e8c8d5493 [jOOQ/jOOQ#8012] Get Table.where() to work with derived column lists 2023-05-23 16:33:50 +02:00
Lukas Eder
bcff3882f2 [jOOQ/jOOQ#14875] Inconsistent implementation of TableImpl::equals and
TableImpl::hashCode when comparing generated tables with plain SQL ones
2023-05-23 11:45:59 +02:00
Lukas Eder
4620f42c5d Re-generated code 2023-05-23 11:41:24 +02:00
Lukas Eder
782000ed6f [jOOQ/jOOQ#8012] Various improvements:
- Added KotlinGenerator implementation
- Added ScalaGenerator implementation
- Add a check for the codegen configuration flag
- [jOOQ/jOOQ#15095] Generate property access syntax in KotlinGenerator
generated tables
2023-05-22 19:32:11 +02:00
Lukas Eder
52e5775ef4 [jOOQ/jOOQ#8012] Re-generate example code 2023-05-22 19:31:05 +02:00
Lukas Eder
9ffabd11a6 [jOOQ/jOOQ#15093] Add API support for ( UNION | INTERSECT | EXCEPT ) DISTINCT 2023-05-22 09:32:48 +02:00
Lukas Eder
4dcec71dfa [jOOQ/jOOQ#8012] Added more convenient internal constructor 2023-05-22 09:21:23 +02:00
Lukas Eder
9bbce6b459 [jOOQ/jOOQ#8012] Override Table.where(Condition) methods in generated tables 2023-05-17 17:47:44 +02:00
Lukas Eder
6511bf19ae [jOOQ/jOOQ#15088] Misleading error message when ON KEY finds ambiguous keys 2023-05-17 15:50:07 +02:00
Lukas Eder
59db3a9183 [jOOQ/jOOQ#14991] KotlinGenerator produces wrong code with
kotlinNotNullPojoAttributes when multiple references to an embeddable
have different nullability
2023-05-17 12:22:17 +02:00
Lukas Eder
2745636665 [jOOQ/jOOQ#15056] Parser meta lookup fails when using qualified asterisk on a table alias 2023-05-16 09:36:08 +02:00
Lukas Eder
e4508b9358 [jOOQ/jOOQ#15070] MiniJAXB should support reading simple elements as
attributes
2023-05-15 16:27:24 +02:00
Lukas Eder
61de997ccd [jOOQ/jOOQ#15060] Fixed regression 2023-05-15 16:27:06 +02:00
Lukas Eder
76cf125c55 [jOOQ/jOOQ#15070] MiniJAXB should support reading simple elements as attributes 2023-05-15 11:39:48 +02:00
Lukas Eder
12419e32e4 Re-generated code 2023-05-15 10:35:18 +02:00
Lukas Eder
c49100cf4f [jOOQ/jOOQ#10096] LiquibaseDatabase should create database.liquibaseSchemaName, if configured 2023-05-12 17:09:54 +02:00
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