Commit Graph

9960 Commits

Author SHA1 Message Date
Lukas Eder
fcc258bfe8 [jOOQ/jOOQ#11787] Add an <includeSystemUDTs/> flag to turn on/off the
generation of system UDTs
2021-04-21 11:35:25 +02:00
Lukas Eder
48e6c35561 [jOOQ/jOOQ#7863] Link Oracle %ROWTYPE references to their corresponding
table types
2021-04-20 17:31:20 +02:00
Lukas Eder
b15e774790 [jOOQ/jOOQ#11784] Add code generation support for Firebird 3.0 stored functions 2021-04-20 15:00:31 +02:00
Lukas Eder
985b3e3e93 [jOOQ/jOOQ#11729] Put text block emulations in parens 2021-04-20 12:10:01 +02:00
Lukas Eder
cc92eb905c [jOOQ/jOOQ#11729] Make all record constructors public 2021-04-20 12:04:57 +02:00
Lukas Eder
e694f3de92 [jOOQ/jOOQ#10287] Don't generate copy constructor on records 2021-04-20 10:39:18 +02:00
Lukas Eder
17dfdbb57c [jOOQ/jOOQ#10287] Add <pojosAsJavaRecordClasses/> to allow for generating Java POJOs as JDK records instead 2021-04-19 21:12:13 +02:00
Lukas Eder
f831677db0 [jOOQ/jOOQ#11778] Switch named/indexed param mapping defaults of records 2021-04-19 15:21:49 +02:00
Lukas Eder
ccc4e31492 [jOOQ/jOOQ#11783] Named parameter mapping doesn't work with missing or excess source column values 2021-04-19 15:12:44 +02:00
Lukas Eder
1923468386 [jOOQ/jOOQ#11729] Use text blocks in tests 2021-04-16 20:56:08 +02:00
Lukas Eder
6f6a04dcac Removed import 2021-04-16 17:29:01 +02:00
Lukas Eder
416e0c96a3 [jOOQ/jOOQ#11780] Include identity-generated system sequences in PostgreSQL generated code 2021-04-16 17:28:45 +02:00
Lukas Eder
5972144ff4 [jOOQ/jOOQ#11778] DefaultRecordMapper should reflect on
Class.getRecordComponents()
2021-04-16 16:22:26 +02:00
Lukas Eder
20b8c2f5ef Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=572909 2021-04-16 14:29:42 +02:00
Lukas Eder
0fad1b0190 [jOOQ/jOOQ#11729] Create a Java 17 distribution
- Updated Jenkinsfiles
- Updated .classpath files (assuming Eclipse is Java 16 ready)
- Add import org.jooq.Record where needed (org.jooq.* no longer works)
- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=572873
- Backport text blocks to pre Java 16
- Backport record types to pre Java 16
- Added a few record types to sources
- Upgraded dependencies to build with Java 16+
- Backport pattern matching
2021-04-16 11:21:40 +02:00
Lukas Eder
4746bc2311 [jOOQ/jOOQ#11183] Handle POJO nullability in constructors 2021-04-15 10:51:46 +02:00
Lukas Eder
566d9739f5 [jOOQ/jOOQ#11660] Some fixes
- Rename LEVEL to ROWNUM when users request this
- Generate_Series should alias its CTE emulation according to its alias
2021-04-15 10:24:18 +02:00
Lukas Eder
26fff069c8 [jOOQ/jOOQ#11749] Oracle UPDATE .. RETURNING emulation doesn't work for boolean data type rewrites 2021-04-14 21:36:54 +02:00
Lukas Eder
fa2c4edb9e [jOOQ/jOOQ#11491] Add a Settings.forceIntegerTypesOnZeroScaleDecimals 2021-04-14 17:51:46 +02:00
Lukas Eder
b0c4723326 [jOOQ/jOOQ#11774] Add a <priority/> to <forcedType/> 2021-04-14 16:56:28 +02:00
Lukas Eder
c2f8428511 [jOOQ/jOOQ#11183] kotlin and scala fixes 2021-04-14 14:49:33 +02:00
Lukas Eder
04283e90df [jOOQ/jOOQ#11183] Fix UDT code generation 2021-04-14 13:06:17 +02:00
Lukas Eder
b09d562f15 [jOOQ/jOOQ#11732] PostgreSQL ON CONFLICT .. WHERE <index_predicate>
generates not valid SQL
2021-04-09 16:31:49 +02:00
Lukas Eder
d32765ee28 [jOOQ/jOOQ#11700] Support the third party MySQL driver 2021-04-09 15:58:21 +02:00
Lukas Eder
a219550f88 [jOOQ/jOOQ#9085] Fix StackOverflowError in Informix 2021-04-09 15:58:08 +02:00
Lukas Eder
f6e847aeee [jOOQ/jOOQ#6604] Added missing API on InsertValuesStepN 2021-04-09 15:57:55 +02:00
Lukas Eder
4d73f83a23 [jOOQ/jOOQ#11772] Convert should support conversions between ByteBuffer and byte[] 2021-04-09 14:17:00 +02:00
Lukas Eder
82f7a8327e [jOOQ/jOOQ#11700] Add resourceful, blocking DSL.using() support.
The resourceful DSL.using(String) et al. methods are useful for quick-and-dirty testing things. They offer a blocking way to connect to a driver, returning a CloseableDSLContext, whose close() method is also blocking. While that isn't 100% in the true spirit of R2DBC, we can still offer the functionality as users might use this for quick tests.
2021-04-09 10:39:33 +02:00
Lukas Eder
5c4f185aa6 [jOOQ/jOOQ#11767] Added some documentation to Finder 2021-04-09 09:19:28 +02:00
Lukas Eder
c8f9151cb3 [jOOQ/jOOQ#11549] More tips 2021-04-08 18:34:43 +02:00
Lukas Eder
dc1de65224 [jOOQ/jOOQ#11549] More tips 2021-04-08 18:29:49 +02:00
Lukas Eder
a2f1c99716 [jOOQ/jOOQ#11769] NPE when ParsingConnection is not attached to an actual connection 2021-04-08 18:08:37 +02:00
Lukas Eder
6bdfdf22f9 [jOOQ/jOOQ#11767] ROWNUM transformation should avoid creating derived tables if possible 2021-04-08 17:55:47 +02:00
Lukas Eder
bd5698d157 [jOOQ/jOOQ#11701] Workaround for https://github.com/cockroachdb/cockroach/issues/62601 2021-04-08 14:15:35 +02:00
Lukas Eder
99437d1a8c [jOOQ/jOOQ#11547] Cast to DOUBLE also in Derby 2021-04-08 13:23:51 +02:00
Lukas Eder
aa7df66998 [jOOQ/jOOQ#11700] Add DSL.using(io.r2dbc.spi.Connection)
It should be possible to wrap a io.r2dbc.spi.Connection in a single-connection R2DBC ConnectionFactory, which produces Connection proxies that never close the underlying Connection. This works the same way as using DSL.using(Connection) which is wrapped in a JDBC ConnectionProvider that never closes the underlying Connection.
2021-04-08 12:54:25 +02:00
Lukas Eder
30aa7cd241 [jOOQ/jOOQ#11762] Added comment 2021-04-08 11:27:08 +02:00
Lukas Eder
82c18b3094 [jOOQ/jOOQ#11437] Passing an empty array or collection to
returningResult() does not match the behaviour of returning()
2021-04-08 11:26:49 +02:00
Lukas Eder
3ed383a9fa [jOOQ/jOOQ#11700] Support RETURNING also in SQL Server 2021-04-08 10:15:27 +02:00
Lukas Eder
496588a9ae [jOOQ/jOOQ#11762] Regression when using plain SQL H2 array types 2021-04-08 10:15:07 +02:00
Lukas Eder
cc2f61b589 [jOOQ/jOOQ#11763] Upgrade shaded jOOR dependency to 0.9.14
This includes [jOOQ/jOOR#114] Make Reflect.wrapper(Class<?>) generic
2021-04-08 10:03:47 +02:00
Lukas Eder
137fe1c683 [jOOQ/jOOQ#11700] Support generated values 2021-04-07 17:16:23 +02:00
Lukas Eder
7d734a291a [jOOQ/jOOQ#11744] Support the Teradata DATE function 2021-04-07 14:36:20 +02:00
Lukas Eder
c057e67983 [jOOQ/jOOQ#11700] Fix batch behaviour 2021-04-07 14:27:29 +02:00
Lukas Eder
1e0bbdcf88 [jOOQ/jOOQ#11760] NullPointerException instead of DetachedException when executing a detached Routine 2021-04-07 09:33:48 +02:00
Lukas Eder
7ee04a64d6 [jOOQ/jOOQ#11757] Update ParserCLI 2021-04-06 13:06:37 +02:00
Lukas Eder
4579c7ce8d [jOOQ/jOOQ#11757] Add Settings.renderCoalesceToEmptyStringInConcat 2021-04-06 11:32:59 +02:00
Lukas Eder
203f1b95db [jOOQ/jOOQ#11755] Extract AttachableQueryPart from Query 2021-04-06 09:14:21 +02:00
Lukas Eder
6fa0c35287 [jOOQ/jOOQ#11700] Pass TCK 2021-04-02 11:00:55 +02:00
Lukas Eder
85b06b71ab [jOOQ/jOOQ#9085] Inverse defaults of TO_CHAR 2021-04-02 11:00:38 +02:00