Commit Graph

9973 Commits

Author SHA1 Message Date
Lukas Eder
f268bc2bcd [jOOQ/jOOQ#2620] Add support for BigQuery - WIP 2021-04-23 09:37:45 +02:00
Lukas Eder
d9323d24e2 [jOOQ/jOOQ#11797] Deprecate SQLDialect.ORACLE10G 2021-04-23 09:37:25 +02:00
Lukas Eder
3f5f0eb4c9 [jOOQ/jOOQ#11640] Use ojdbc8 API internally 2021-04-22 17:03:34 +02:00
Lukas Eder
4f299afa89 Upgrade HSQLDB to 2.6.0 2021-04-22 16:32:35 +02:00
Lukas Eder
cee5abf80f [jOOQ/jOOQ#11790] Oracle DUAL table incorrectly quoted by
RenderQuotedNames.ALWAYS
2021-04-22 16:01:18 +02:00
Lukas Eder
0a1efb697a [jOOQ/jOOQ#11794] Improve MappingException message when no RecordMapper
implementation could be found
2021-04-22 15:35:42 +02:00
Lukas Eder
dbd015a9ce [jOOQ/jOOQ#11055] RenderQuotedNames.ALWAYS does not work correctly for stored functions 2021-04-22 14:22:58 +02:00
Lukas Eder
5e69809283 Upgrade test Scala 2.13 version 2021-04-22 09:01:29 +02:00
Lukas Eder
1a9dbf3e71 [jOOQ/jOOQ#7863] Fixed regression in boolean PL/SQL function call emulation 2021-04-22 09:00:44 +02:00
Lukas Eder
0e61b746af [jOOQ/jOOQ#7863] Fixed regression in boolean PL/SQL function call emulation 2021-04-21 16:56:08 +02:00
Lukas Eder
d210d5f35d [jOOQ/jOOQ#7863] Fixed binding of %ROWTYPE IN and OUT parameters
Previous commits fixed TABLE OF X%ROWTYPE bindings, but the X%ROWTYPE emulation was not implemented yet. Those can't be bound using ordinary SQLData API, it seems.
2021-04-21 15:44:14 +02:00
Lukas Eder
32c08aafe1 [jOOQ/jOOQ#11788] Cast is needed in Java 8 2021-04-21 14:31:12 +02:00
Lukas Eder
1ab673fa9a [jOOQ/jOOQ#11788] Add QualifiedRecord and RecordQualifier to unify the Table|UDT and TableRecord|UDTRecord type hierarchy
This helps better implement Oracle %ROWTYPE support see [jOOQ/jOOQ#7863]
2021-04-21 14:04:06 +02:00
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