Commit Graph

8341 Commits

Author SHA1 Message Date
Gerald Venzl
2eb35d6cd0 Add verification steps after data load
Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
2020-03-10 21:21:15 -07:00
Gerald Venzl
ea7124de77 Add ReadMe with install instructions
Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
2020-03-10 21:08:10 -07:00
Gerald Venzl
3271b0073e Add commit, disable/enable constraints
Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
2020-03-10 21:05:37 -07:00
Gerald Venzl
b88d59c206 add commits, graceful constraints
Add commits after each table to avoid unnecessary UNDO tablespace growth due to one big transaction

DISABLE and ENABLE constraints rather than DROP and CREATE so taht constraint definition remains in schema.sql alone

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
2020-03-10 21:04:44 -07:00
Gerald Venzl
ecdda13f60 Remove redunant / (only needed for PL/SQL)
Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
2020-03-10 21:01:48 -07:00
Lukas Eder
0844eb0c9b [jOOQ/jOOQ#9927] Add support for JSON_ARRAYAGG - H2 support 2020-03-10 17:46:36 +01:00
Lukas Eder
54ee4381c4 [jOOQ/jOOQ#9932] Add DSL.jsonEntry(String, Field) and jsonObject(String,
Field)
2020-03-10 16:37:59 +01:00
Lukas Eder
194b387190 [jOOQ/jOOQ#9930] Fixed regression for user-defined aggregate functions 2020-03-10 16:17:11 +01:00
Lukas Eder
21fa22a3c9 [jOOQ/jOOQ#9930] Extracted AbstractAggregateFunction
- Extracted Mode
- Removed Term.MODE
2020-03-10 15:42:57 +01:00
Lukas Eder
85d95c62df [jOOQ/jOOQ#9928] Oracle doesn't support NULL clause on empty JSON_OBJECT 2020-03-10 15:42:50 +01:00
Lukas Eder
8085600a8c [jOOQ/jOOQ#9930] Extracted AbstractAggregateFunction
- Extracted Mode
- Removed Term.MODE
2020-03-10 15:25:45 +01:00
Lukas Eder
54c5ff3567 [jOOQ/jOOQ#9930] Extracted AbstractAggregateFunction
- Fixed regression
2020-03-10 15:10:59 +01:00
Lukas Eder
e5f62a3849 [jOOQ/jOOQ#9930] Extracted AbstractAggregateFunction 2020-03-10 14:54:39 +01:00
Lukas Eder
5ae7a48f82 [jOOQ/jOOQ#9798] Make the names in org.jooq.impl.Names unquoted 2020-03-10 14:38:14 +01:00
Lukas Eder
c7e1389245 [jOOQ/jOOQ#9930] Extracted AbstractAggregateFunction 2020-03-10 14:34:25 +01:00
Lukas Eder
0879b28c3b [jOOQ/jOOQ#9930] Extracted AbstractWindowFunction 2020-03-10 13:08:48 +01:00
Lukas Eder
c5bb31338d [jOOQ/jOOQ#9926] Added support for MySQL and MariaDB 2020-03-09 13:19:49 +01:00
Lukas Eder
b6c83b1efe [jOOQ/jOOQ#9923] Avoid parsing FOR as an alias if applicable 2020-03-09 12:35:25 +01:00
Lukas Eder
71912855f8 [jOOQ/jOOQ#9928] Added support for SQL Server 2020-03-09 12:29:23 +01:00
Lukas Eder
c1ee2bd56f [jOOQ/jOOQ#9926] Added support for Oracle 12c 2020-03-09 12:22:50 +01:00
Lukas Eder
30188196ba [jOOQ/jOOQ#9926] Added support for CockroachDB 2020-03-09 12:10:24 +01:00
Lukas Eder
36f0a4a56a [jOOQ/jOOQ#9928] Added support for PostgreSQL 2020-03-09 11:57:42 +01:00
Lukas Eder
6e95ffce50 [jOOQ/jOOQ#9928] Added parser support for <JSON constructor null clause> 2020-03-09 11:45:34 +01:00
Lukas Eder
8e0532c728 [jOOQ/jOOQ#9928] Implemented workaround for https://github.com/h2database/h2database/issues/2496 2020-03-09 11:45:18 +01:00
Lukas Eder
be52642402 [jOOQ/jOOQ#9926] Emulate also WITHOUT_ARRAY_WRAPPER and ROOT 2020-03-09 11:15:09 +01:00
Lukas Eder
e6eae64c32 [jOOQ/jOOQ#9926] [jOOQ/jOOQ#9928] Emulate SQL Server FOR JSON
This emulates the INCLUDE_NULL_VALUES clause.
2020-03-09 11:00:18 +01:00
Lukas Eder
0758ae2142 [jOOQ/jOOQ#9928] Add support for JSON_OBJECT <JSON constructor null clause> 2020-03-09 10:59:17 +01:00
Lukas Eder
420048f9f8 [jOOQ/jOOQ#9926] Emulate SQL Server FOR JSON in other dialects (WIP) 2020-03-09 10:39:55 +01:00
Lukas Eder
764e07cd35 [jOOQ/jOOQ#8950] Added H2 support for JSON_OBJECT 2020-03-09 10:39:08 +01:00
Lukas Eder
fa2812dbc6 [jOOQ/jOOQ#9923] Use new SQL Server FOR JSON API also in JSONObject 2020-03-06 17:26:21 +01:00
Lukas Eder
95c89b9c83 [jOOQ/jOOQ#9923] Add support for FOR JSON 2020-03-06 16:06:09 +01:00
Lukas Eder
87e9576b8a [jOOQ/jOOQ#9923] Add support for FOR JSON 2020-03-06 15:43:27 +01:00
Lukas Eder
345586e8db [jOOQ/jOOQ#8945] [jOOQ/jOOQ#9923] Add support for FOR XML
This includes support for the new org.jooq.XML type
2020-03-06 15:16:40 +01:00
Lukas Eder
d70e534bf3 [jOOQ/jOOQ#9775] Parse NOT NULL ENABLE syntax 2020-03-05 14:47:39 +01:00
Lukas Eder
a92b633f76 [jOOQ/jOOQ#9916] NullPointerException in XMLDatabase when new <enforced> element is missing 2020-03-05 13:38:19 +01:00
Lukas Eder
67029b61d2 [jOOQ/jOOQ#9911] Deprecate Comparator.supportsQuantifier() and supportsSubselect() 2020-03-02 12:03:49 +01:00
Lukas Eder
1f98e38508 [jOOQ/jOOQ#9898] Implement native support for LIKE ANY et al in
PostgreSQL
2020-03-02 12:01:21 +01:00
Lukas Eder
c0490c5f4b [jOOQ/jOOQ#9903] Changing getJavaClassName() for Mode.ENUM in DefaultGeneratorStrategy generates invalid code 2020-03-02 11:18:49 +01:00
Lukas Eder
fe1883101d [jOOQ/jOOQ#9907] NullPointerException in ByteArrayClassLoader, when it is asked to load an external class 2020-03-02 11:07:08 +01:00
Lukas Eder
e87b2eaa21 [jOOQ/jOOQ#6456] Generate comments also on POJOs 2020-02-28 16:11:29 +01:00
Knut Wannheden
c56c8c28d1 [jOOQ/jOOQ#6456] POJO setter/getter Javadoc generation 2020-02-28 15:03:54 +01:00
Lukas Eder
d16878f817 [jOOQ/jOOQ#8805] DB2 implements a different default in the absence of FOR 2020-02-28 14:49:12 +01:00
Knut Wannheden
91ca536f8d [jOOQ/jOOQ#5218] MySQL 8: Render FOR SHARE instead of LOCK IN SHARE MODE
Rendering `FOR SHARE` instead of `LOCK IN SHARE MODE` has the advantage
that this allows specifying the `OF`, `NOWAIT`, and `SKIP LOCKED`
clauses.
2020-02-28 12:41:07 +01:00
Lukas Eder
7d034fdc0e [jOOQ/jOOQ#9900] Add TransactionalRunnable.of(TransactionalRunnable...) to compose nested transactions 2020-02-28 12:35:52 +01:00
Knut Wannheden
7365e753ae [jOOQ/jOOQ#5218] Support flags for all lock modes
The DSL API supports all of PostgreSQL's lock modes (`UPDATE`, `NO KEY
UPDATE`, `SHARE`, and `KEY SHARE`) and now also supports the `OF`
clauses and `WAIT`, `NOWAIT`, and `SKIP LOCKED` clauses for all lock
modes. Previously the DSL API did not support these clauses for the
`SHARE` mode and for all other modes the rendered SQL would always end
up using the `UPDATE` lock mode.

Whether a particular lock mode and clause combination is supported,
depends on the SQL dialect.

On the `SelectQuery` API the methods
`setForUpdate[Of|Wait|NoWait|SkipLocked]()` have all been marked as
deprecated in favor of the new methods
`setForLockMode[Of|Wait|NoWait|SkipLocked]()`.
2020-02-28 12:21:45 +01:00
Knut Wannheden
692e7470e2 [jOOQ/jOOQ#9882] Add Refaster templatesfor SQLDialect#supports() 2020-02-28 07:25:41 +01:00
Knut Wannheden
e366ffa1f1 [jOOQ/jOOQ#9897] Remove COCKROACHDB from stddevSamp() and varSamp()
Also, once implemented, the implementation will likely follow PostgreSQL
and the SQL standard. Thus `Term.java` was already adapted accordingly.
2020-02-27 14:49:37 +01:00
Knut Wannheden
f2163fce03 [jOOQ/jOOQ#9896] DB2: Fix rendering of stddevSamp() and varSamp() 2020-02-27 14:26:35 +01:00
Knut Wannheden
dc2554caed [jOOQ/jOOQ#9894] DB2: Support more standard aggregate functions 2020-02-27 14:21:17 +01:00
Lukas Eder
cf5ecafa7b [jOOQ/jOOQ#8805] Fix parser behaviour for OVERLAY() in DB2 2020-02-27 12:53:53 +01:00