Commit Graph

7245 Commits

Author SHA1 Message Date
Lukas Eder
cccc232aae [jOOQ/jOOQ#8657] Add DDLExportConfiguration.createSchemaIfNotExists and createTableIfNotExists flags 2019-05-27 10:33:16 +02:00
Lukas Eder
4921fdf6bc [#7921] Add support for Asterisk.except(Field...) and QualifiedAsterisk.except(Field...) 2019-05-27 09:44:36 +02:00
Lukas Eder
fea421868c [#8689] Generate LN function in H2, instead of LOG 2019-05-27 09:43:00 +02:00
Knut Wannheden
9c18aa464e [#8452] Support RAND() and RANDOM() in parser 2019-05-24 10:49:57 +02:00
Knut Wannheden
2dafae0c85 [#8682] Corrected parsing of LOG() function
The SQL parser had reversed the "base" and "value" parameters when
parsing the LOG() function.
2019-05-24 10:30:02 +02:00
Knut Wannheden
293ccc7e2c [#8452] Implement parsing of SYS_CONNECT_BY_PATH
The parser can now parse Oracle's SYS_CONNECT_BY_PATH function used in
hierarchical queries.
2019-05-24 08:25:58 +02:00
Knut Wannheden
18a9017b21 [#8675] CONNECT_BY_ROOT is now correctly parsed as an unary operator
Parsing CONNECT_BY_ROOT as a regular term lead to various smaller
glitches when used in expressions with other operators (of different
precedences). Parsing it as an unary operator and its operand as a term
fixes this problem.
2019-05-24 08:25:01 +02:00
Knut Wannheden
5f21af8d6d [#8675] Implement parsing of CONNECT BY operators and pseudo columns
The parser now properly parses Oracle's CONNECT_BY_ROOT,
CONNECT_BY_ISLEAF, and CONNECT_BY_ISCYCLE syntax.
2019-05-23 16:36:14 +02:00
Knut Wannheden
860a9b079e [#8646] Refactor AbstractDMLQuery#prepare()
Refactor AbstractDMLQuery#prepare() by extracting into prepare0() to
make sure that Tools#setFetchSize() will always get called.
2019-05-23 16:35:40 +02:00
Knut Wannheden
6f13d24232 [#8646] Call Statement#setFetchSize(int) where applicable
Calling Statement#setFetchSize(int) can also make sense in other places
than AbstractResultQuery. Specifically it is now also called in
AbstractDMLQuery and AbstractRoutine.

In each case the fetch size will be determined using
Settings#getFetchSize(), except for AbstractResultQuery where the value
supplied via ResultQuery#fetchSize(int) takes precedence.
2019-05-22 11:01:20 +02:00
lukaseder
dd9b3e9f3e [#8616] Fix off-by-one error... 2019-05-21 16:58:17 +02:00
lukaseder
b83f9cc009 [#8616] Add Settings.parseSearchPath 2019-05-21 16:34:36 +02:00
Knut Wannheden
444c2f0034 [#8542] Add MySQL 8.0 support for LATERAL 2019-05-21 16:09:58 +02:00
Knut Wannheden
85a1d1f31e [#2059] Remove some MemSQL related code 2019-05-21 14:56:49 +02:00
Knut Wannheden
bc4d121aa9 [#2059] Fix problem with code comment in Function.java 2019-05-21 14:46:31 +02:00
Knut Wannheden
35fc136643 [#2059] Add MemSQL support
Implement support for new dialect SQLDialect#MEMSQL. Excluded from the
support are stored procedures, MemSQL specific DDL keywords, MemSQL
specific DML (like REPLACE), and for the time being also the PIVOT
clause (see #8643).

Approved-by: Lukas Eder
2019-05-21 14:38:06 +02:00
Lukas Eder
17df39efbc [jOOQ/jOOQ#8656] Add org.jooq.DDLExportConfiguration 2019-05-21 12:58:18 +02:00
Lukas Eder
fce9626b13 [jOOQ/jOOQ#8615] Missing NOTICE file from commons-lang 2019-05-21 12:23:17 +02:00
Lukas Eder
cdf8ea7381 [jOOQ/jOOQ#8660] Add support for synthetic ALTER TABLE .. DROP PRIMARY KEY <name> syntax 2019-05-21 11:20:05 +02:00
Lukas Eder
b62b8bf0a2 [#6709] Support custom Hibernate properties in JPADatabase 2019-05-20 12:48:04 +02:00
Lukas Eder
27203a8e52 Added jOOQ-pro dependency 2019-05-20 12:33:14 +02:00
Lukas Eder
80bb688a75 [#8654] Emulate MySQL's ALTER TABLE .. DROP PRIMARY KEY in PostgreSQL 2019-05-20 11:16:09 +02:00
Lukas Eder
5c17db88e8 [#8201] Add support for EXECUTE for use in procedural blocks 2019-05-20 11:02:35 +02:00
Lukas Eder
159a2bbb26 [#8650] Add support for MySQL's ALTER TABLE .. DROP PRIMARY KEY syntax 2019-05-20 10:25:34 +02:00
Lukas Eder
ebce61b0fc [#8649] Add support for MySQL's ALTER TABLE .. DROP FOREIGN KEY syntax 2019-05-18 16:47:48 +02:00
Lukas Eder
a452eba624
Merge pull request #8645 from mrehkopf/plpgsql_fix
Sakila/PostgreSQL: Replace nonexisting IF with CASE
2019-05-17 14:52:01 +02:00
Maximilian Rehkopf
2a9a29743f Sakila/PostgreSQL: Replace nonexisting IF with CASE 2019-05-17 13:56:30 +02:00
Lukas Eder
3767310b65 Removed accidentally added files 2019-05-17 09:24:27 +02:00
Lukas Eder
8d61fa4235 [#8637] Support annotation mismatch between overloaded methods 2019-05-16 11:11:01 +02:00
Lukas Eder
626703b841 [#8636] Missing PlainSQL annotations on some API 2019-05-16 10:08:13 +02:00
Knut Wannheden
496e381e79 [#8634] Remove MySQL support for DROP INDEX IF EXISTS
MySQL does not support this and it cannot easily be emulated.
2019-05-16 08:03:33 +02:00
Knut Wannheden
fb9fd1e1f4 Change log4j2.xml files to no longer log log4j debug messages 2019-05-16 08:03:13 +02:00
Knut Wannheden
63be5f7ebb [jOOQ/jOOQ-pro#24] Extract GenerationToolTest 2019-05-16 08:02:14 +02:00
Lukas Eder
6f43106f47 [#8627] Some Support annotation mismatches between DSLContext and DSL methods 2019-05-14 18:03:17 +02:00
Lukas Eder
f5c93ca6b9 [#7518] [#8623] Add parser support for TOP (n) in DML 2019-05-14 14:38:58 +02:00
Lukas Eder
9e348f28d0 [#7163] More consistent method names 2019-05-14 13:52:41 +02:00
Lukas Eder
62c42944d3 [#8619] Let Query subtypes extends RowCountQuery, which extends Publisher<Integer> 2019-05-13 12:39:47 +02:00
Lukas Eder
b1d992e33b [#8619] Let Query subtypes extends RowCountQuery, which extends Publisher<Integer> 2019-05-13 12:39:40 +02:00
Lukas Eder
af00823df5 [#4371] Add support for the JDK 9 Flow API (JSR-166 enhancements) and reactive streams 2019-05-13 11:37:08 +02:00
Lukas Eder
4dc63312a8 [#8606] Fixed this also for values(Field...) 2019-05-13 09:27:17 +02:00
lukaseder
00dbe54d69 [#7163] WIP 2019-05-10 16:43:43 +02:00
lukaseder
4aa834c8d0 Merge branch 'master' of https://github.com/jOOQ/jOOQ 2019-05-09 21:09:30 +02:00
Knut Wannheden
971378a3b0 [#8579] Implement parsing of UNIQUE predicate 2019-05-09 11:17:41 +02:00
Knut Wannheden
7d818d2f3f [#8294] Interactive mode is the default 2019-05-09 11:17:26 +02:00
Knut Wannheden
7a7350e508 [#8606] Bad SQL generated when writing multi row insert query with
unknown column names (plain SQL table)
2019-05-09 11:17:00 +02:00
lukaseder
9f4754bac5 [#8606] Bad SQL generated when writing multi row insert query with unknown column names (plain SQL table) 2019-05-07 18:04:14 +02:00
lukaseder
aa5e566d88 [#8294] Interactive mode is the default 2019-05-07 18:04:04 +02:00
lukaseder
d87e6f1b93 Added missing Support annotations 2019-05-07 17:22:56 +02:00
lukaseder
0611a6713d [#8606] Bad SQL generated when writing multi row insert query with unknown column names (plain SQL table) 2019-05-07 17:22:37 +02:00
lukaseder
651fbc5973 [#8604] Add support for DB2 multi ALTER TABLE ADD / DROP statements 2019-05-06 13:13:51 +02:00