Commit Graph

10042 Commits

Author SHA1 Message Date
Lukas Eder
39f57b928d [jOOQ/jOOQ#10522] Emulate UPDATE .. SET row = (SELECT ...) using UPDATE .. FROM 2021-05-07 17:40:02 +02:00
Lukas Eder
8f057e653d [jOOQ/jOOQ#11109] Add SQLDialect.ORACLE21C 2021-05-07 16:58:57 +02:00
Lukas Eder
563956cd3b [jOOQ/jOOQ#11863] Add SingleStore native support for multi row inserts 2021-05-07 15:35:42 +02:00
Lukas Eder
abf96f57fb [jOOQ/jOOQ#11860] Generate FOREIGN KEY meta data in Teradata 2021-05-07 15:04:38 +02:00
Lukas Eder
a4e0c95e5f [jOOQ/jOOQ#11850] Get SQLDialect.TERADATA up to date
- Fix dummy ordering of rankging functions
- Avoid Statement.CLOSE_ALL_RESULTS
- FOR XML support
- Generate meta data for views (table type and sources)
- Fixed fetchExists() ([jOOQ/jOOQ#11857])
- Support LISTAGG ([jOOQ/jOOQ#11861])
2021-05-07 14:11:45 +02:00
Lukas Eder
fc964fe9b3 [jOOQ/jOOQ#11850] Get SQLDialect.TERADATA up to date
- Avoid using TITLE without quoting in Teradata
- Fix NotField
- MERGE does not support AND in MATCHED clauses
- Fix WIDTH_BUCKET
- Regenerate test schema
- Support generating identity information ([jOOQ/jOOQ#11854])
- More XML function fixes
- Fix TOP 100 PERCENT hack in the presence of UNIONs
2021-05-06 16:54:16 +02:00
Lukas Eder
ca64acef4d [jOOQ/jOOQ#11855] Support parsing CT / CV as Teradata aliases
- CT for CREATE TABLE
- CV for CREATE VIEW
2021-05-06 16:54:05 +02:00
Lukas Eder
153de56fa7 [#11851] Do this only for aggregate window functions 2021-05-06 14:04:15 +02:00
Lukas Eder
fbda63cae6 [jOOQ/jOOQ#11850] Get SQLDialect.TERADATA up to date 2021-05-06 13:38:04 +02:00
Lukas Eder
9ccbf454f5 [jOOQ/jOOQ#11743] Support parsing Teradata cast syntax 2021-05-05 15:14:48 +02:00
Lukas Eder
e08c7a4cd6 [jOOQ/jOOQ#11844] Support parsing Teradata eq, ne, gt, ge, lt, le operators 2021-05-05 13:42:00 +02:00
Lukas Eder
b147e775a2 [jOOQ/jOOQ#11779] Upgrade XJC to com.sun.xml.bind:jaxb-xjc:2.3.4 2021-05-05 13:04:48 +02:00
Lukas Eder
efbdf1cd1e [jOOQ/jOOQ#2620] Add BigQuery support (WIP)
- Support UNNEST
- Support GENERATE_SERIES
- Support NULL bind values (see [jOOQ/jOOQ#11841])
- Support some additional ROW predicates
- Avoid a BigQuery limitation (see [jOOQ/jOOQ#11842])
- Support COUNTIF ([jOOQ/jOOQ#11843])
2021-05-05 12:52:59 +02:00
Lukas Eder
6fa32f50dd [jOOQ/jOOQ#11838] Add Settings.namePathSeparator
This commit includes some work on:

- [jOOQ/jOOQ#2620] Add BigQuery support (WIP)
2021-05-04 16:19:29 +02:00
Lukas Eder
8ddc36485e [jOOQ/jOOQ#11818] Avoid new Integer(...) calls in JSON Parser 2021-05-04 14:40:16 +02:00
Lukas Eder
af701f6be7 [jOOQ/jOOQ#11829] Aargh, java.lang.Record 2021-05-03 17:52:18 +02:00
Lukas Eder
f4d1539695 [jOOQ/jOOQ#11832] Typo in AggregateFunction.keepDenseRankLastOrderBy() Javadoc 2021-05-03 17:35:48 +02:00
Lukas Eder
8c0f7eb076 [jOOQ/jOOQ#11831] Support parsing array(select) 2021-05-03 17:21:04 +02:00
Lukas Eder
f8cd4a9791 [jOOQ/jOOQ#11823] Added known issue remark regarding arrays. 2021-05-03 13:11:55 +02:00
Lukas Eder
f2580592dd [jOOQ/jOOQ#11829] Add DataType.getRow() to track nested ROW types and allow access to their Field<?>[] 2021-05-03 13:07:57 +02:00
Lukas Eder
ea80188d20 [jOOQ/jOOQ#11812] Fixed formatting of ROW(X, ROW(Y, Z)[]) types 2021-05-03 09:48:19 +02:00
Lukas Eder
2087434cfe
Add support matrix link to bug report template
See: https://www.jooq.org/download/support-matrix
2021-05-03 09:42:02 +02:00
Lukas Eder
f4d2a16966 Whitespace fix 2021-05-02 11:14:59 +02:00
Lukas Eder
c49a9c4a51 [jOOQ/jOOQ#7100] Fix RowField projection also for emulations
This fixes the RowField projection including mapping() of nested rows also for emulations that don't support ROW(). Row[N].mapping() has been changed back to return SelectField, not Field. The resulting type can't be used outside of the projection, including in nested ROW() specifications.

Caveat: mapping() can still be applied to ROW() specifications that are
nested in a ROW() that isn't used in SELECT, e.g. row(a, row(b).mapping(x)) = row(c, row(d).mapping(x)). We'll live with that for now.
2021-05-01 12:33:44 +02:00
Lukas Eder
e426c10fbc [jOOQ/jOOQ#11826] Remove serialVersionUID from jOOQ's internals 2021-04-30 21:53:38 +02:00
Lukas Eder
d7229789bb [jOOQ/jOOQ#11823] Records.mapping() should return RecordMapper<R, Q>,
not RecordMapper<? super R, Q>.

Wildcards are useful on method parameters, not when returning types.
2021-04-30 21:14:02 +02:00
Lukas Eder
6f084b9a51 [jOOQ/jOOQ#6080] Add support for multiple ROW nesting 2021-04-30 17:19:27 +02:00
Lukas Eder
cb2a31c95f [jOOQ/jOOQ#11802] Fixed regression
The wrong args value is being displayed in parseInteractive()
2021-04-30 11:34:20 +02:00
Lukas Eder
7352791108 [jOOQ/jOOQ#11812] Support projecting ROW() in RETURNING 2021-04-30 11:28:29 +02:00
Lukas Eder
b69eea96ab [jOOQ/jOOQ#11812] Support parsing ROW() projections 2021-04-30 11:28:19 +02:00
Lukas Eder
64e113261a [jOOQ/jOOQ#10287] Fix <interfaces/> 2021-04-29 16:55:01 +02:00
Lukas Eder
8526e62635 [jOOQ/jOOQ#10287] Fix record getter access in DAO.getId() 2021-04-29 16:31:14 +02:00
Lukas Eder
fc9b5d04f7 [jOOQ/jOOQ#11816] Add missing ConstraintTypeStep.primaryKey(Collection<? extends Field<?>>) and related overloads 2021-04-29 15:41:52 +02:00
Lukas Eder
9023e1fcd6 [jOOQ/jOOQ#11821] Support parsing Teradata INSERT without VALUES 2021-04-29 15:09:38 +02:00
Lukas Eder
f5195f7633 [jOOQ/jOOQ#11812] Pull up Field::convert to SelectField::convert 2021-04-29 14:15:27 +02:00
Lukas Eder
aca781ca5b [jOOQ/jOOQ#11817] Trial and error until Java 8 stops complaining 2021-04-29 13:22:54 +02:00
Lukas Eder
d85c1490e6 [jOOQ/jOOQ#11819] declaresParameters() unavailable in OSS edition 2021-04-29 13:11:23 +02:00
Lukas Eder
efbd7866f3 [jOOQ/jOOQ#11817] Java 8 fix 2021-04-29 12:38:35 +02:00
Lukas Eder
8cc5469e98 [jOOQ/jOOQ#11819] Coerce should delegate all QueryPartInternal calls to the wrapped field 2021-04-29 12:28:36 +02:00
Lukas Eder
43b68b2935 [jOOQ/jOOQ#11812] Pull up Field.as() to SelectField.as() 2021-04-29 12:07:14 +02:00
Lukas Eder
17a145227a [jOOQ/jOOQ#7100] Added missing nullability annotations 2021-04-29 11:32:22 +02:00
Lukas Eder
2bfb1d7be5 [jOOQ/jOOQ#11812] Will fix the generics later � 2021-04-29 11:22:42 +02:00
Lukas Eder
fc97b32a09 [jOOQ/jOOQ#7100] Add Field.convert() convenience methods
This commit includes a variety of improvements:

- The new Field.convert() convenience methods
- [jOOQ/jOOQ#11812] Row <: SelectField
- [jOOQ/jOOQ#11817] New Converter and DataType methods
2021-04-29 11:06:01 +02:00
Lukas Eder
2eb721e576 [jOOQ/jOOQ#11815] Change DSLContext.fetchValue(Field<T>) to
DSLContext.fetchValue(SelectField<T>)
2021-04-28 22:18:17 +02:00
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