Commit Graph

10697 Commits

Author SHA1 Message Date
Lukas Eder
4fb10cb442 [jOOQ/jOOQ#12691] Support parsing single element IN predicate without
parentheses
2021-12-02 15:42:50 +01:00
Lukas Eder
814bb5b142 [jOOQ/jOOQ#9609] Add SQLDialect.H2_2_0_202 2021-12-02 15:15:29 +01:00
Lukas Eder
5ade54ae2b [jOOQ/jOOQ#12681] Simplified the new API
No nested auxiliary classes should be required for these loggers
2021-11-30 12:24:13 +01:00
Lukas Eder
b6afa6862e [jOOQ/jOOQ#6492] [jOOQ/jOOQ#12664] Support STORED and VIRTUAL flags
Also, add support for SQL Server computed columns
2021-11-30 12:06:06 +01:00
Lukas Eder
24144b2afe [jOOQ/jOOQ#12683] Regression in code generation catalog mapping 2021-11-30 11:54:01 +01:00
Lukas Eder
c6281cf0e6 [jOOQ/jOOQ#12681] Add JooqLogger.getLogger(Class<?>, int) to create a logger whose number of messages are limited to some number 2021-11-29 10:16:56 +01:00
Lukas Eder
46f67918a0 [jOOQ/jOOQ#12678] Potential resource leak in SettingsTools static initialiser 2021-11-29 09:09:32 +01:00
Lukas Eder
1e70ccfef9 [jOOQ/jOOQ#6492] Added integration tests and code generation support:
- SQLite
2021-11-26 17:48:09 +01:00
Lukas Eder
6fdc827bac [jOOQ/jOOQ#6492] Added integration tests and code generation support:
- Db2
- Derby
- Firebird
- H2
- HANA
- HSQLDB
- MariaDB
- MySQL
- PostgreSQL
- SQLite

Also added tests for:

- Interpreter
2021-11-26 17:13:57 +01:00
Lukas Eder
3bb7226ae3 [jOOQ/jOOQ#12675] MariaDBDatabase no longer generates check constraints 2021-11-26 17:06:47 +01:00
Lukas Eder
9727e95dba [jOOQ/jOOQ#12666] Fix regression
Casts have a higher precedence than other operators
2021-11-26 13:59:59 +01:00
Lukas Eder
5716a9aa77 [jOOQ/jOOQ#12666] Leave legacy code in place to avoid compilation errors 2021-11-26 13:18:38 +01:00
Lukas Eder
482ac3d82d [jOOQ/jOQO#12666] Fix Java 11 tags 2021-11-26 12:51:19 +01:00
Lukas Eder
0425739729 [jOOQ/jOQO#12666] Restore streaming bind value method behaviour on ParsingStatement
This includes:

- [jOOQ/jOOQ#12669] Blob.length() and Clob.length() calls shouldn't be silently downcast to int
2021-11-26 11:20:34 +01:00
Lukas Eder
2b5da01398 [jOOQ/jOOQ#12667] Prevent underflows 2021-11-26 09:58:05 +01:00
Lukas Eder
3aa78a1b42 [jOOQ/jOOQ#12667] Add also Source.of(Reader, int) 2021-11-26 09:49:32 +01:00
Lukas Eder
161750e835 [jOOQ/jOOQ#12667] Add Source.of(InputStream, int) to create length
limited input stream sources
2021-11-26 09:14:32 +01:00
Lukas Eder
96adaf0693 [jOOQ/jOOQ#6492] Support computed columns
- DEFAULT and GENERATED ALWAYS AS are mutually exclusive
- Support also COCKROACHDB, DB2, DERBY, FIREBIRD, ORACLE12C
2021-11-25 17:17:37 +01:00
Lukas Eder
aa43d13c21 [jOOQ/jOOQ#12663] Add EnumType.<E extends
EnumType>lookupLiteral(Class<E>, String) and generate
E.lookupLiteral(String) methods
2021-11-25 13:21:02 +01:00
Lukas Eder
b4428bdef5 [jOOQ/jOOQ#982] Added remark about whitespace being impossible around . in SDO_POINT . X right now 2021-11-25 11:19:51 +01:00
Lukas Eder
3b9fef46b1 [jOOQ/jOOQ#12662] Add H2 support for ON CONFLICT ON CONSTRAINT 2021-11-25 11:11:26 +01:00
Lukas Eder
a9029289be The real list is at https://github.com/jOOQ/jOOQ/blob/main/jOOQ/src/main/resources/META-INF/ABOUT.txt 2021-11-25 11:03:06 +01:00
Lukas Eder
4ccf09f344 [jOOQ/jOOQ#12659] Wrong SQL generated for PostgreSQL functions returning
single UDT OUT parameters
2021-11-25 10:52:05 +01:00
Lukas Eder
dd9acba28a [jOOQ/jOOQ#10051] Added YUGABYTE support for UpdatableRecord.merge() 2021-11-25 09:16:06 +01:00
Lukas Eder
9437d43466 [jOOQ/jOOQ#6492] DataType getter doesn't have a Support annotation 2021-11-23 19:24:49 +01:00
Lukas Eder
87e0f3aa64 [jOOQ/jOOQ#12649] Parser parses and ignores NOT keyword after column expression 2021-11-23 16:55:46 +01:00
Lukas Eder
08be0478da [jOOQ/jOOQ#6492] Add support for computed columns
- Add DataType<T>.generatedAlwaysAs(Field<T>)
- Add code generation support for:
  - H2
  - PostgreSQL
- Added parser support
- Added code generation tests
- Added DDL support
2021-11-23 16:45:28 +01:00
Lukas Eder
b2465ca45b [jOOQ/jOOQ#12645] Parser should support PostgreSQL date part syntaxes with explicit type casts 2021-11-23 14:09:25 +01:00
Lukas Eder
ab03dda749 Re-generated example code 2021-11-22 09:27:09 +01:00
Lukas Eder
083b3063db [jOOQ/jOOQ#12644] Upgrade Spring Boot example to Spring Boot 2.6 2021-11-22 09:26:22 +01:00
Lukas Eder
80d6967f15 [jOOQ/jOOQ#982] Added ST_SRID 2021-11-19 17:15:16 +01:00
Lukas Eder
c04b183435 [jOOQ/jOOQ#12639] Fixed typo 2021-11-19 09:18:41 +01:00
Lukas Eder
e77df40080 [jOOQ/jOOQ#982] Add support for GIS extensions
- Add ST_Z
2021-11-18 20:42:48 +01:00
Lukas Eder
5a99d6da22 [jOOQ/jOOQ#12633] Move XSDs from jOOQ and jOOQ-meta to subpackages to
avoid split xsd packages
2021-11-17 15:48:27 +01:00
Lukas Eder
af2aeca3aa [jOOQ/jOOQ#12633] Move XSDs from jOOQ and jOOQ-meta to subpackages to
avoid split xsd packages
2021-11-17 15:40:41 +01:00
Lukas Eder
9593f375de [jOOQ/jOOQ#12633] Move XSDs from jOOQ and jOOQ-meta to subpackages to avoid split xsd packages 2021-11-17 15:36:19 +01:00
Lukas Eder
d3f1f98701 [jOOQ/jOOQ#982] Add support for GIS extensions
- Rename class and method names to ST_NumInteriorRings. It seems that
both PostGIS and MySQL have fixed this flaw in the SQL standard, and
offer both ST_NumInteriorRings (consistent with other ST_NumXYZ
functions) and ST_NumInteriorRing
2021-11-17 10:04:12 +01:00
Lukas Eder
08839094f7 [jOOQ/jOOQ#982] Add support for GIS extensions
- Added Oracle support for:
  - ST_AsText
  - ST_Contains
  - ST_Equals
  - ST_ExteriorRing
  - ST_GeometryType
  - ST_InteriorRingN
  - ST_Intersection
  - ST_Intersects
  - ST_Length
  - ST_NumGeometries
  - ST_NumInteriorRingN
  - ST_Overlaps
  - ST_Touches
  - ST_Union
- Added support for ST_Difference
2021-11-16 17:37:16 +01:00
Lukas Eder
7ffd5ee356 [jOOQ/jOOQ#982] Add support for GIS extensions
- Added Oracle support for:
  - ST_Area
  - ST_Centroid
  - ST_Distance
  - ST_GeomFromText
2021-11-16 12:59:08 +01:00
Lukas Eder
2c9295af0a [jOOQ/jOOQ#12630] The JavaGEnerator.printDeprecationIfUnknownType should
hint at a UDT being in a different schema
2021-11-16 11:14:24 +01:00
Lukas Eder
bc5de9c233 [jOOQ/jOOQ#982] Add support for GIS extensions
- Support ST_GeometryN, ST_NumGeometries
2021-11-13 16:47:35 +01:00
Lukas Eder
ebc4d8d6e2 [jOOQ/jOOQ#982] Add support for GIS extensions
- Support ST_Centroid
2021-11-13 15:53:32 +01:00
Lukas Eder
38cd2f943a [jOOQ/jOOQ#982] Add support for GIS extensions
- Generate Javadoc on QOM types
2021-11-13 14:43:04 +01:00
Lukas Eder
70e737a607 [jOOQ/jOOQ#982] Add support for GIS extensions
- Support ST_Disjoint
2021-11-13 14:25:39 +01:00
Lukas Eder
d5f5c9d8a2 [jOOQ/jOOQ#982] Add support for GIS extensions
- Support ST_Distance, ST_GeometryType
2021-11-13 14:19:42 +01:00
Lukas Eder
ab747e1a52 [jOOQ/jOOQ#982] Add support for GIS extensions
- Support for ST_IsEmpty
2021-11-13 13:57:02 +01:00
Lukas Eder
7eb899e80f [jOOQ/jOOQ#982] Add support for GIS extensions
- Support for ST_Crosses, ST_Equals
2021-11-13 13:49:02 +01:00
Lukas Eder
22b6ccced3 [jOOQ/jOOQ#982] Try again: Fix compilation regression on javac 2021-11-12 17:28:13 +01:00
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