Commit Graph

7790 Commits

Author SHA1 Message Date
Lukas Eder
993293ed56 [jOOQ/jOOQ#9401] Downgrade JAXB dependencies to 2.2 for all JDKs 2019-10-17 17:37:01 +02:00
Lukas Eder
c7de396031 [jOOQ/jOOQ#9401] Downgrade JAXB dependencies to 2.2 for all JDKs 2019-10-17 16:39:14 +02:00
Lukas Eder
c441feb897 [jOOQ/jOOQ#9401] Java 8 distribution references JAXB 2.3.0, which doesn't work pre JDK 9 2019-10-17 15:32:31 +02:00
Lukas Eder
ee8735b6b1 [jOOQ/jOOQ#9399] Move DSLContext.informationSchema() to Meta 2019-10-17 13:21:38 +02:00
Lukas Eder
5cb09b1b77 [jOOQ/jOOQ#9396] Implemented workaround 2019-10-17 13:03:54 +02:00
Lukas Eder
48508ea132 [jOOQ/jOOQ#9394] [jOOQ/jOOQ#9395] Meta improvements
- [jOOQ/jOOQ#9394] Move DSLContext.ddl() API to Meta
- [jOOQ/jOOQ#9395] Let Meta extend Scope
2019-10-17 10:59:17 +02:00
Lukas Eder
a86492359a [jOOQ/jOOQ#9389] CREATE INDEX commands created from DSLContext.ddl() based on Meta contain illegal WHERE clause 2019-10-16 17:37:54 +02:00
Lukas Eder
b991cf58a5 [jOOQ/jOOQ#9386] RenderMapping is not applied to DSL.schema(Name) 2019-10-16 17:16:09 +02:00
Lukas Eder
7d82e18c83 [jOOQ/jOOQ#9384] DataType.getDataType(Configuration) turns this on dialect specific data types 2019-10-16 16:35:38 +02:00
Lukas Eder
31bcc97ea5 [jOOQ/jOOQ#9380] Interpret DROP TABLE .. CASCADE 2019-10-16 15:07:18 +02:00
Lukas Eder
4b2c044cdc [jOOQ/jOOQ#9380] Fixed implementation for DROP COLUMN .. CASCADE 2019-10-16 14:45:48 +02:00
Lukas Eder
8ca191ae01 [jOOQ/jOOQ#9380] Support DROP CONSTRAINT .. [ CASCADE | RESTRICT ] 2019-10-16 13:38:04 +02:00
Lukas Eder
e1900b6419 [jOOQ/jOOQ#9380] Support DROP CONSTRAINT .. [ CASCADE | RESTRICT ]
Added support in:
- API
- Object model
- Parser
- Interpreter

Still missing:
- SQL generation
- Integration tests
2019-10-16 12:48:07 +02:00
Lukas Eder
fb7e46f452 [jOOQ/jOOQ#8528] ALTER TABLE .. DROP CONSTRAINT .. RESTRICT by default 2019-10-16 12:32:24 +02:00
Lukas Eder
957fba030f [jOOQ/jOOQ#8528] Inlined some local variables that are distracting 2019-10-16 12:16:30 +02:00
Lukas Eder
813276f69f [jOOQ/jOOQ#8528] Fixed modifiers 2019-10-16 12:01:17 +02:00
Lukas Eder
f864009ff0 [jOOQ/jOOQ#8528] Interpret DROP COLUMN CASCADE | RESTRICT 2019-10-16 11:59:57 +02:00
Lukas Eder
ff6b6dd204 [jOOQ/jOOQ#8528] Cascade drop column commands to local constraints 2019-10-16 11:14:12 +02:00
Lukas Eder
a50d75c9a6 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. RENAME CONSTRAINT 2019-10-15 17:37:12 +02:00
Lukas Eder
45a1c8da55 [jOOQ/jOOQ#8528] Prevent indexes being renamed to existing names 2019-10-15 17:19:08 +02:00
Lukas Eder
3d69a63fe2 [jOOQ/jOOQ#8528] Interpret ALTER INDEX .. RENAME 2019-10-15 17:11:57 +02:00
Lukas Eder
ec3a19fcd6 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ADD FOREIGN KEY 2019-10-15 16:05:55 +02:00
Lukas Eder
3db42010ef Removed log4j.version 2019-10-15 15:53:56 +02:00
Lukas Eder
7aa231fc29 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ADD UNIQUE 2019-10-15 15:53:49 +02:00
Lukas Eder
e6c869c108 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ADD PRIMARY KEY 2019-10-15 15:49:03 +02:00
Lukas Eder
bbf955313a [jOOQ/jOOQ#8528] Interpret additional clauses:
- CREATE TABLE .. FOREIGN KEY
- ALTER TABLE .. DROP CONSTRAINT
- ALTER TABLE .. DROP FOREIGN KEY
2019-10-15 15:29:41 +02:00
Lukas Eder
a2ae1fb187 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. DROP PRIMARY KEY 2019-10-15 14:12:46 +02:00
Lukas Eder
138bef05a9 [jOOQ/jOOQ#8528] Interpret DROP INDEX 2019-10-15 14:06:48 +02:00
Lukas Eder
e1c9518f7f [jOOQ/jOOQ#8528] Interpret CREATE INDEX 2019-10-15 12:37:55 +02:00
Lukas Eder
881bd66abc [jOOQ/jOOQ#9374] Missing change 2019-10-15 12:06:55 +02:00
Lukas Eder
14bf22b486 [jOOQ/jOOQ#9354] Work around MySQL bug 81010 2019-10-15 12:04:33 +02:00
Lukas Eder
368be86581 [jOOQ/jOOQ#9374] Support various H2 ALTER .. IF EXISTS statements 2019-10-15 11:55:11 +02:00
Lukas Eder
4d7d1a4dd8 [jOOQ/jOOQ#9372] Improve SEMI / ANTI JOIN documentation 2019-10-15 11:34:09 +02:00
Knut Wannheden
4acb3b85e4 [jOOQ/jOOQ#9371] H2: Correct rendering for DSL#currentTime() 2019-10-15 11:23:02 +02:00
Lukas Eder
d9f720d505 [jOOQ/jOOQ#9364] Add DDLFlag.INDEX to allow for exporting CREATE INDEX statements 2019-10-15 11:20:14 +02:00
Knut Wannheden
9a01e94521 Upgrade H2 dependency to version 1.4.200 2019-10-15 08:20:17 +02:00
Knut Wannheden
6130859eb5 [jOOQ/jOOQ#2967] Add DSL#round(Field, Field) overload
The `decimals` argument can now also be an expression or rendered as an
inlined value.
2019-10-15 07:22:27 +02:00
Knut Wannheden
ca1ff21592 [jOOQ/jOOQ#9365] H2 now has the standard two-argument LOG() function 2019-10-15 07:07:06 +02:00
Knut Wannheden
54d467fa34 [jOOQ/jOOQ#9343] Extract new Tools#asString(Name) helper function 2019-10-15 06:54:03 +02:00
Lukas Eder
51309a5a7e Extract parseFieldSysConnectByPathIf() 2019-10-14 10:52:41 +02:00
Lukas Eder
ccebd30c3e [jOOQ/jOOQ#9359] Refactor common meta extensions code to new InterpretingDatabase 2019-10-14 10:34:27 +02:00
Lukas Eder
ab7cda47e2 [jOOQ/jOOQ#2286] Add LiquibaseDatabase to support interpreting the liquibase XML format in the code generator 2019-10-14 09:54:13 +02:00
Lukas Eder
e01aeff6ec [jOOQ/jOOQ#9358] Add support for parsing the H2 SCHEMA() function 2019-10-14 09:23:39 +02:00
lukaseder
b652c0974d [jOOQ/jOOQ#9355] LoggingConnection does not log static statements 2019-10-11 22:23:35 +02:00
lukaseder
bae2b79674 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ALTER .. DROP DEFAULT 2019-10-11 21:26:38 +02:00
lukaseder
ec553758a9 [jOOQ/jOOQ#9354] WIP: Support for ALTER TABLE .. ALTER .. DROP DEFAULT 2019-10-11 21:21:54 +02:00
lukaseder
0286bb7e49 [jOOQ/jOOQ#9354] WIP: Support for ALTER TABLE .. ALTER .. DROP DEFAULT 2019-10-11 21:18:22 +02:00
lukaseder
ec506f6ecb [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ALTER .. SET DEFAULT 2019-10-11 21:01:56 +02:00
lukaseder
ccad3cdff9 [jOOQ/jOOQ#9353] Support parsing ALTER TABLE .. ALTER .. SET DEFAULT 2019-10-11 21:00:32 +02:00
lukaseder
f5239aa328 [jOOQ/jOOQ#8528] Interpret ALTER TABLE .. ALTER .. SET DATA TYPE 2019-10-11 20:49:40 +02:00