Commit Graph

7096 Commits

Author SHA1 Message Date
Lukas Eder
b289dc2df1 [jOOQ/jOOQ#982] Fix compilation regression on javac 2021-11-12 17:19:09 +01:00
Lukas Eder
7ada988d9e [jOOQ/jOOQ#982] Add support for GIS extensions
- Added support for ST_Intersects and ST_Intersection
- Added support for ST_Overlaps and ST_Touches
- Added support for ST_Union
2021-11-12 16:48:27 +01:00
Lukas Eder
0d8d71474a [jOOQ/jOOQ#982] Add support for GIS extensions
- Added support for ST_NumPoints, ST_PointN
2021-11-12 14:06:18 +01:00
Lukas Eder
1cee11b99b [jOOQ/jOOQ#982] Add support for GIS extensions
- Added support for ST_StartPoint, ST_EndPoint, ST_Length
2021-11-12 11:31:32 +01:00
Lukas Eder
2f39c572e8 [jOOQ/jOOQ#982] Add support for GIS extensions
- Added support for ST_Within
2021-11-12 11:03:16 +01:00
Lukas Eder
f00107fd98 [jOOQ/jOOQ#982] Add support for GIS extensions
- Add support for ST_Contains
- Improvements to the API generator with respect to generated names
2021-11-12 10:45:17 +01:00
Lukas Eder
373d99853c [jOOQ/jOOQ#982] Add support for GIS extensions
- Add support for ST_Contains
- Improvements to the API generator with respect to generated names
2021-11-12 10:44:08 +01:00
Lukas Eder
e1e4925e07 [jOOQ/jOOQ#982] Add support for GIS extensions
Avoid repeated function argument list parsing logic
2021-11-12 08:53:06 +01:00
Lukas Eder
1fa7b95947 [jOOQ/jOOQ#982] Add support for GIS extensions
Avoid repeated function argument list parsing logic
2021-11-11 11:53:17 +01:00
Lukas Eder
01d12d63b2 [jOOQ/jOOQ#982] Add support for GIS extensions
- Add support for ST_AREA, ST_ASTEXT
- Add support for SQL Server method style syntax
- Add Geography type and Spatial super type
2021-11-11 11:52:37 +01:00
Lukas Eder
4475fa4e8b [jOOQ/jOOQ#982] Add support for GIS extensions
- Add support for ST_AREA, ST_ASTEXT
- Add support for SQL Server method style syntax
- Add Geography type and Spatial super type
2021-11-11 11:31:54 +01:00
Lukas Eder
e78ce3cf76 [jOOQ/jOOQ#982] Add support for GIS extensions
Avoid repeated function argument list parsing logic
2021-11-10 17:52:04 +01:00
Lukas Eder
bf1d6e6845 [jOOQ/jOOQ#982] Add support for GIS extensions
- Added parser support for ST_X, ST_Y, ST_GEOMFROMTEXT
2021-11-10 17:18:42 +01:00
Lukas Eder
fc23a0cea7 [jOOQ/jOOQ#982] Add support for GIS extensions
- Added Geometry type
- Added support for ST_X, ST_Y, ST_GEOMFROMTEXT
- Added integration tests
2021-11-10 17:04:02 +01:00
Lukas Eder
d9e4b9a8aa [jOOQ/jOOQ#12620] Document that the asterisk may lead to column order mismatches 2021-11-10 09:56:59 +01:00
Lukas Eder
15581a9958 [jOOQ/jOOQ#8431] Add support for PostgreSQL 11 procedures 2021-11-09 17:15:20 +01:00
Lukas Eder
c4b65bc28b [jOOQ/jOOQ#12003] Add support for ALTER COLUMN adding an identity 2021-11-09 13:46:02 +01:00
Lukas Eder
9971ff8e96 [jOOQ/jOOQ#9864] Support INSERT .. DEFAULT VALUES
If users specify VALUES(), but the list is effectively empty, because all supplied fields are readonly and we use the default IGNORE behaviour, then users have effectively specified DEFAULT VALUES
2021-11-08 11:02:50 +01:00
Lukas Eder
cd615bcf51 [jOOQ/jOOQ#9864] Fix another instance of ORA-38104 2021-11-05 15:12:56 +01:00
Lukas Eder
43f8b1992a [jOOQ/jOOQ#12212] Unnecessary generic type parameter in localDateAdd and other date time arithmetic functions 2021-11-05 14:41:02 +01:00
Lukas Eder
1cb77e5303 Whitespace fix 2021-11-04 16:29:36 +01:00
Lukas Eder
91295db719 [jOOQ/jOOQ#12604] Add SQLDialect.FIREBIRD_4_0 2021-11-04 16:03:08 +01:00
Lukas Eder
e3854f0223 [jOOQ/jOOQ#12604] Add SQLDialect.FIREBIRD_4_0
- Added dialect and updated tests
- Support LATERAL and APPLY
- Support WINDOW clause
- Support window frames
- Support new window functions
2021-11-04 15:00:21 +01:00
Lukas Eder
15b52ffafb [jOOQ/jOOQ#12601] Produce compilation error if code generator version
doesn't match runtime version
2021-11-04 14:01:49 +01:00
Lukas Eder
07d57a27c3 [jOOQ/jOOQ#3398] Avoid generating new SQL statements for every bind variable length in Firebird 3.0 2021-11-04 14:01:29 +01:00
Lukas Eder
81be95e884 [jOOQ/jOOQ#12602] Parse INSERT .. SELECT without column list 2021-11-04 11:23:46 +01:00
Lukas Eder
e06f06edb7 [jOOQ/jOOQ#9864] Added READONLY support in InformationSchema 2021-11-04 10:51:34 +01:00
Lukas Eder
e3d1013731 [jOOQ/jOOQ#9864] OSS edition fix 2021-11-04 10:36:23 +01:00
Lukas Eder
2766eeb4b5 [jOOQ/jOOQ#12601] Produce compilation error if code generator version
doesn't match runtime version
2021-11-04 10:33:56 +01:00
Lukas Eder
91a25a5c1d [jOOQ/jOOQ#9864] Add parser support 2021-11-03 18:01:22 +01:00
Lukas Eder
516e87556c [jOOQ/jOOQ#9864] Fix Derby ON DUPLICATE KEY / ON CONFLICT 2021-11-03 17:35:51 +01:00
Lukas Eder
167ba3c705 [jOOQ/jOOQ#12599] Incorrect MERGE statement syntax generated in FIREBIRD when aliasing USING derived table 2021-11-03 17:29:02 +01:00
Lukas Eder
fcc4467913 [jOOQ/jOOQ#9864] Added support for Firebird et al. INSERT IGNORE 2021-11-03 16:52:14 +01:00
Lukas Eder
b065c9de88 [jOOQ/jOOQ#9864] Added some more iterable tools 2021-11-03 16:31:48 +01:00
Lukas Eder
820c09c56b [jOOQ/jOOQ#9864] Support HANA style UPSERT 2021-11-03 16:09:36 +01:00
Lukas Eder
046e229fa6 [jOOQ/jOOQ#9864] Support H2 style MERGE 2021-11-03 15:49:00 +01:00
Lukas Eder
4e64c74b02 [jOOQ/jOOQ#12596] ParamType.INLINED produces wrong behaviour for cacheParsingConnection 2021-11-03 15:06:17 +01:00
Lukas Eder
05ad90fbe4 [jOOQ/jOOQ#9864] Fix UPDATE .. SET ROW for THROW 2021-11-03 14:27:29 +01:00
Lukas Eder
a255fc1cd0 [jOOQ/jOOQ#9864] Support UPDATE .. SET ROW (..) = 2021-11-03 13:00:38 +01:00
Lukas Eder
ca440df7d7 [jOOQ/jOOQ#10423] Bad translation of identity to CockroachDB 2021-11-02 17:35:30 +01:00
Lukas Eder
ea60d3db43 [jOOQ/jOOQ#9864] Fixed INSERT .. ON CONFLICT etc.
We shouldn't access a FieldMapsForInsert's contents directly anymore, as we always have to:

- Flatten embeddable types
- Remove readonly fields

The status quo isn't optimal. We can possibly work with views rather than copying the collections around all the time.
2021-11-02 17:01:44 +01:00
Lukas Eder
15004cdc1d Updated Constants.XSD_CODEGEN 2021-11-02 16:42:35 +01:00
Lukas Eder
eb126b2ee0 [jOOQ/jOOQ#8388] Generate Table.rowid() overrides, implement KotlinGenerator and ScalaGenerator, improved configuration 2021-11-02 14:17:48 +01:00
Lukas Eder
b7154e57b9 [jOOQ/jOOQ#8388] Add code generation option to generate a synthetic, readonly ROWID column (WIP) 2021-11-02 11:50:48 +01:00
Lukas Eder
7e7259b2ef [jOOQ/jOOQ#10385] Add support for CockroachDB SYSTEM_TIME versioning
(WIP)

This change adds support for the syntax. The feature itself isn't fully
supported yet, as it works quite differently in CockroachDB, compared to
the standard. To be continued.
2021-11-01 16:40:49 +01:00
Lukas Eder
c13afc0941 [jOOQ/jOOQ#12425] [jOOQ/jOOQ#11959] Fixed regression
A recent query object model refactoring (where Mul, Div, Add, Sub were
extracted) created a regression in the expression data type calculation
for interval data types.
2021-11-01 16:40:27 +01:00
Lukas Eder
c4afb5c889 [jOOQ/jOOQ#12583] Add DAO.findOptionalById() 2021-11-01 13:31:50 +01:00
Lukas Eder
bf17bef951 [jOOQ/jOOQ#9864] Add support for readonly columns (WIP) 2021-11-01 13:21:51 +01:00
Lukas Eder
1a015852d7 [jOOQ/jOOQ#12582] ControlFlowSignal should use Throwable(String, Throwable, boolean, boolean) super constructor 2021-11-01 11:58:37 +01:00
Lukas Eder
e14fea1008 [jOOQ/jOOQ#9864] Fix DataTypeProxy 2021-10-29 16:41:04 +02:00