Commit Graph

12496 Commits

Author SHA1 Message Date
Lukas Eder
acefae289c [jOOQ/jOOQ#12547] Internal patchIso8601Timestamp() isn't safe for 5
digit years

This addresses also the various edge cases from [jOOQ/jOOQ#13786]
2023-09-13 12:04:34 +02:00
Lukas Eder
cc452c2c45 [jOOQ/jOOQ#15583] UDTImpl should use Name instead of String in
constructor
2023-09-13 10:22:23 +02:00
Lukas Eder
fe9e97ce6d Revert "[jOOQ/jOOQ#15564] MutablePOJOMapper should be able to map to instance, even if there isn't a default constructor" 2023-09-13 09:32:50 +02:00
Lukas Eder
f740a00069 [jOOQ/jOOQ#15564] MutablePOJOMapper should be able to map to instance, even if there isn't a default constructor 2023-09-12 16:19:25 +02:00
Lukas Eder
4fb5291fe8 [jOOQ/jOOQ#15574] DefaultOtherBinding shouldn't create string literals for inline values for numeric data types 2023-09-12 13:55:04 +02:00
Lukas Eder
2739f355a0 [jOOQ/jOOQ#15569] Record.into(recordInstance) should modify argument record 2023-09-11 13:12:26 +02:00
Lukas Eder
2e5a1c8e8a [jOOQ/jOOQ#14946] Upgrade Spring 2023-09-11 08:36:22 +02:00
Lukas Eder
312901e7b4 [jOOQ/jOOQ#15563] DefaultRecordMapper should skip most mappers when an instance is provided 2023-09-08 17:17:00 +02:00
Lukas Eder
7eedcf1340 [jOOQ/jOOQ#2356] Support multi table TRUNCATE also in the parser 2023-09-08 13:00:15 +02:00
Lukas Eder
49c81c6950 [jOOQ/jOOQ#15555] Datetime precision isn't maintained by code generator for domain types 2023-09-08 13:00:05 +02:00
Lukas Eder
da72d18d2b [jOOQ/jOOQ#2356] Let query fail in the database, as always 2023-09-08 11:27:37 +02:00
Lukas Eder
276c9a8ceb [jOOQ/jOOQ#2356] Fix regression 2023-09-07 18:14:03 +02:00
Lukas Eder
772c3c0520 [jOOQ/jOOQ#15554] Fix regression where resolver can be null 2023-09-07 17:48:56 +02:00
Lukas Eder
8c72eb8ccb [jOOQ/jOOQ#2356] Support PostgreSQL multi table TRUNCATE statement 2023-09-07 17:26:29 +02:00
Lukas Eder
dd52536fa0 [jOOQ/jOOQ#12052] Started adding DuckDB UDT support 2023-09-07 17:26:22 +02:00
Lukas Eder
0d70664474 [jOOQ/jOOQ#15554] JavaWriter should have a Mode reference 2023-09-07 13:21:38 +02:00
Lukas Eder
6bc82eb3ef [jOOQ/jOOQ#9509] Add Meta.getEnums()
- Added ResultQueryDatabase::enums
- Added MetaSQL queries
- Added MySQL implementation
2023-09-07 09:24:43 +02:00
Lukas Eder
30b198ea77 [jOOQ/jOOQ#15551] Fix UDT type casts of bind values 2023-09-06 16:05:04 +02:00
Lukas Eder
73da24c17c [jOOQ/jOOQ#8474] Support parsing synthetic SQL Server CREATE TYPE IF NOT EXISTS 2023-09-06 14:45:43 +02:00
Lukas Eder
bce323ab32 [jOOQ/jOOQ#15551] Add runtime UDT mapping 2023-09-06 14:42:12 +02:00
Lukas Eder
89cacbf10b [jOOQ/jOOQ#8474] Support CREATE TYPE IF NOT EXISTS 2023-09-06 12:55:23 +02:00
Lukas Eder
209fd9c1eb [jOOQ/jOOQ#12747] Add runtime support for Informix UDTs 2023-09-06 12:18:32 +02:00
Lukas Eder
b0d1be0d92 [jOOQ/jOOQ#12083] [jOOQ/jOOQ#15546] Regression with configured comments
The [jOOQ/jOOQ#9728] configured comments feature may produce empty comments, e.g. when <includeSchemaComment/> is false. In that case, we mustn't re-introduce the schema comment!
2023-09-05 19:51:09 +02:00
Lukas Eder
2323a84f0f [jOOQ/jOOQ#12747] Add support for Informix UDTs 2023-09-05 19:35:57 +02:00
Lukas Eder
03959618ac [jOOQ/jOOQ#12083] [jOOQ/jOOQ#15546] SQL Server implementation 2023-09-05 10:14:29 +02:00
Lukas Eder
1799a691aa [jOOQ/jOOQ#15546] Fix typo 2023-09-05 10:09:58 +02:00
Lukas Eder
7205d2c9ea [jOOQ/jOOQ#12083] Work around missing support for REMARKS on DatabaseMetaData.getColumns() 2023-09-05 09:49:08 +02:00
Lukas Eder
c5b498817b [jOOQ/jOOQ#15546] Add Database.getComments(): Map<Definition, String>
Added API and implementations for:

- Db2
- Firebird
- H2
- HSQLDB
- Oracle

More will follow
2023-09-05 09:25:53 +02:00
Lukas Eder
9f588ae05f [jOOQ/jOOQ#13786] Parser should support TIMESTAMP 'YYYY-MM-DD' and TIME 'HH:MM' literals 2023-09-04 17:27:27 +02:00
Lukas Eder
cb9ff43fcd [jOOQ/jOOQ#14799] Add support for TRY_CAST() 2023-09-04 13:30:09 +02:00
Lukas Eder
f5ca5ae269 [jOOQ/jOOQ#15327] Re-order Meta.ddl() view exports by parsed dependency information 2023-09-01 18:07:54 +02:00
Lukas Eder
2517446c31 [jOOQ/jOOQ#15326] Meta.ddl() should export tables first, then views 2023-09-01 17:19:53 +02:00
Lukas Eder
e1adf258a1 [jOOQ/jOOQ#5210] Fix compilation error in generated code
Package UDTs generated wrong UDTNames objects, see [jOOQ/jOOQ#10576]
2023-08-31 11:05:11 +02:00
Lukas Eder
edb132c0d9 [jOOQ/jOOQ#5210] Add code generation option to generate string constants for all object names 2023-08-30 17:17:27 +02:00
Lukas Eder
e96b9dabde [jOOQ/jOOQ#15509] Log this only once 2023-08-30 10:57:50 +02:00
Lukas Eder
32b9d168f6 [jOOQ/jOOQ#15524] Missing Stringly annotation on String... varargs
parameters
2023-08-30 10:19:48 +02:00
Lukas Eder
273af6ffa9 [jOOQ/jOOQ#15509] Add a log message whenever an exception occurs with
the SQLDialect.DEFAULT
2023-08-30 10:18:59 +02:00
Lukas Eder
e5c7e81553 [jOOQ/jOOQ#11584] Add parser support for SQL Server CREATE TYPE and DROP
TYPE
2023-08-30 10:18:25 +02:00
Lukas Eder
c44250ecaa [jOOQ/jOOQ#15145] Re-generate pg_catalog 2023-08-29 17:23:08 +02:00
Lukas Eder
9c1cc75f42 [jOOQ/jOOQ#8474] Add support for CREATE TYPE AS <member list> 2023-08-29 13:31:50 +02:00
Lukas Eder
18f5e7164f [jOOQ/jOOQ#15516] Add a new org.jooq.Type<T> API, a meta model for user defined types, to be used also in DDL
This is a prerequisite for [jOOQ/jOOQ#8474]
2023-08-29 11:40:42 +02:00
Lukas Eder
19a8c23759 [jOOQ/jOOQ#15514] Upgrade Liquibase to 4.23.1 2023-08-28 18:08:07 +02:00
Lukas Eder
7293b60b07 [jOOQ/jOOQ#228] Fix regression 2023-08-28 16:59:01 +02:00
Lukas Eder
e448d58094 [jOOQ/jOOQ#228] Fix regression 2023-08-28 16:57:38 +02:00
Lukas Eder
01a92864b6 [jOOQ/jOOQ#228] Added KotlinGenerator support 2023-08-28 16:45:55 +02:00
Lukas Eder
896d995476 [jOOQ/jOOQ#228] Added ScalaGenerator support
This includes:

- Refactor Internal methods, remove unnecessary type variables
2023-08-28 11:37:17 +02:00
Lukas Eder
41faba4241 [jOOQ/jOOQ#15510] Upgrade scala.version to 2.13.11 2023-08-28 10:15:58 +02:00
Lukas Eder
5ee497713d [jOOQ/jOOQ#228] Use kotlin accessor syntax 2023-08-28 09:00:11 +02:00
Lukas Eder
6423be339d [jOOQ/jOOQ#3751] Support UDT object names in MatcherStrategy 2023-08-25 16:44:07 +02:00
Lukas Eder
a37747e297 [jOOQ/jOOQ#228] Skip UDT paths for Scala and Kotlin for now 2023-08-25 15:27:42 +02:00