Commit Graph

9998 Commits

Author SHA1 Message Date
Lukas Eder
502f1cbaae [jOOQ/jOOQ#7100] Add <U> Field<T>.convert(Binding<T, U>), convert(Converter<T, U>), convert(Class<U>, Function<T, U>, Function<U, T>)
This includes:

- [jOOQ/jOOQ#11810] RecordMapper<R, E> should extend Function<R, E>
2021-04-28 20:58:15 +02:00
Lukas Eder
2b28bc4ad4 [jOOQ/jOOQ#11808] OSS edition fix 2021-04-28 19:40:24 +02:00
Lukas Eder
15b3f28ee5 [jOOQ/jOOQ#11808] Make sure the SQL in MetaSQL is dialect version specific 2021-04-28 17:31:42 +02:00
Lukas Eder
39f56f3788 [jOOQ/jOOQ#11809] Add SQLDialect.isVersioned() 2021-04-28 17:00:36 +02:00
Lukas Eder
d76e8e3dd3 [jOOQ/jOOQ#9472] Fix UUID for SQLite 2021-04-28 13:58:23 +02:00
Lukas Eder
7883dd3e89 [jOOQ/jOOQ#11656] Added more dialect support for TO_HEX
- Rename function to DSL.toHex()
- Support H2, Oracle, PostgreSQL, SQLite, SQLServer
2021-04-28 13:32:00 +02:00
Lukas Eder
2d8beafd89 [jOOQ/jOOQ#9472] Add support for UUID generator functions, such as
NEWID() or GEN_RANDOM_UUID()

This includes:

[jOOQ/jOOQ#11656] Add support for a HEX(number) function for dialects:
- Db2
- MySQL
- Vertica
2021-04-28 12:20:18 +02:00
Lukas Eder
f673d0d678 [jOOQ/jOOQ#7721] OFFSET .. FETCH should not be emulated in Oracle 18c anymore even when projection has duplicate column names 2021-04-27 17:13:50 +02:00
Lukas Eder
ce4daba19f [jOOQ/jOOQ#11804] Fix record backport 2021-04-27 16:47:11 +02:00
Lukas Eder
87a5f0d019 [jOOQ/jOOQ#11804] Add Records class with common record mapping utilities 2021-04-27 16:27:34 +02:00
Lukas Eder
1b8c1c5587 [jOOQ/jOOQ#10775] Finalise new Rows utility
- Rename methods to toRowList() and toRowArray()
- Added Javadoc links to relevant places:
  - InsertValuesStep[N].valuesOfRows(Row[N]...) methods
  - Row[N].in(Row[N]...) and notIn() methods
  - DSL.values(Row[N]...) constructors
2021-04-27 14:49:16 +02:00
Lukas Eder
1c9d4e80db [jOOQ/jOOQ#11802] Remove ForceSettingsSignal again 2021-04-27 11:26:12 +02:00
Lukas Eder
4450c722c8 [jOOQ/jOOQ#11802] Change Settings.transformRownum 2021-04-27 11:09:37 +02:00
Lukas Eder
d069da0cc1 [jOOQ/jOOQ#5810] [jOOQ/jOOQ#11802] Add Settings.transformQualify
This includes:

[jOOQ/jOOQ#11803] Support = ANY and != ALL quantified comparison
predicates of degree > 1 for MySQL
2021-04-27 10:04:50 +02:00
Lukas Eder
e20bc6a063 [jOOQ/jOOQ#8521] Transform MySQL IN (SELECT .. LIMIT) to derived table
This commit includes [jOOQ/jOOQ#11801] Move Tools content to the top level
2021-04-26 18:02:53 +02:00
Lukas Eder
69c5bd66f1 [jOOQ/jOOQ#11801] Move Tools content to the top level 2021-04-26 08:56:56 +02:00
Lukas Eder
446bbe0b99 [jOOQ/jOOQ#11799] Refactor some internals to re-use a new functional
mapping method
2021-04-25 16:04:50 +02:00
Lukas Eder
0008c870dd [jOOQ/jOOQ#11799] Refactor some internals to re-use a new functional
mapping method
2021-04-25 12:18:49 +02:00
Lukas Eder
a0010db7e7 [jOOQ/jOOQ#11800] Fields.field() methods should add better documentation about what it means when null is returned 2021-04-25 11:08:24 +02:00
Lukas Eder
e7e704dade [jOOQ/jOOQ#11799] Refactor some internals to re-use a new functional
mapping method
2021-04-23 22:49:11 +02:00
Lukas Eder
1f75fb88bf [jOOQ/jOOQ#11798] Revert feature again 2021-04-23 19:56:03 +02:00
Lukas Eder
cb799e8aed [jOOQ/jOOQ#11799] Java 8 fix 2021-04-23 16:53:00 +02:00
Lukas Eder
8336b91ade [jOOQ/jOOQ#11799] Fixed regression 2021-04-23 16:46:24 +02:00
Lukas Eder
c3a9877bea [jOOQ/jOOQ#11798] Add a VALUES() overload taking T... or Field<T>... arguments
This includes:

- [jOOQ/jOOQ#11799] Refactor some internals to re-use a new functional mapping method
2021-04-23 16:29:23 +02:00
Lukas Eder
70dadcb9f2 [jOOQ/jOOQ#10690] Use some newer JDK API when creating a distribution for JDK 17 2021-04-23 09:57:22 +02:00
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