Commit Graph

7903 Commits

Author SHA1 Message Date
Lukas Eder
f7620a4e42 [jOOQ/jOOQ#9425] Diff fk constraint renames 2019-11-06 16:34:07 +01:00
Lukas Eder
043c5497cc [jOOQ/jOOQ#9425] Diff constraint renames 2019-11-06 16:24:26 +01:00
Lukas Eder
504a1ecd5d [jOOQ/jOOQ#9504] Add DDLExportConfiguration.createViewIfNotExists and DDLExportConfiguration.createOrReplaceView
These features were already added previously. This commit adds tests and fixes a bug.
2019-11-06 12:06:17 +01:00
lukaseder
ef3ba45b95 [jOOQ/jOOQ#9425] Diff createOrReplaceView flag 2019-11-05 20:17:27 +01:00
lukaseder
7b65e9bdb3 [jOOQ/jOOQ#9425] Diff length, precision, scale 2019-11-05 14:05:19 +01:00
lukaseder
0c14bff75b [jOOQ/jOOQ#9497] NullPointerException when calling methods on DAO that
is not attached to a Configuration
2019-11-05 13:51:52 +01:00
Knut Wannheden
184328b284 [jOOQ/jOOQ#9493] Fix CROSS APPLY in OSS edition
`CROSS APPLY` and `OUTER APPLY` are now also correctly rendered in the
OSS edition (e.g. for PostgreSQL).
2019-11-04 15:47:20 +01:00
Lukas Eder
a0b74c2203 [jOOQ/jOOQ#9425] Diff views (more comments) 2019-11-04 12:33:17 +01:00
Lukas Eder
3297daf04d [jOOQ/jOOQ#9425] Diff views (comments) 2019-11-04 12:25:17 +01:00
Lukas Eder
ff944b54bd [jOOQ/jOOQ#9425] Diff views (replacement) 2019-11-04 12:21:40 +01:00
Lukas Eder
3a97c27b1a [jOOQ/jOOQ#9425] Diff views 2019-11-04 12:10:45 +01:00
Knut Wannheden
5560943bfc [jOOQ/jOOQ#9482] Add [pro] tag that went missing 2019-11-01 08:47:23 +01:00
Lukas Eder
350c19ce6e [jOOQ/jOOQ#2370] [jOOQ/jOOQ#8528] Correctly interpret CREATE VIEW
So far, there was no way for the jOOQ runtime meta model to remember what SELECT statement was used in the creation of a view. We now have this model in TableOptions, so we can start using it, e.g. in the interpreter.
2019-10-31 17:27:30 +01:00
Lukas Eder
a73ec779a3 [jOOQ/jOOQ#2370] [jOOQ/jOOQ#8528] Move TableType into TableOptions 2019-10-31 17:10:21 +01:00
Lukas Eder
de6b977d51 [jOOQ/jOOQ#2370] [jOOQ/jOOQ#8528] Add org.jooq.TableOptions
... and interpret CREATE TEMPORARY TABLE .. ON COMMIT flags
2019-10-31 17:06:12 +01:00
Lukas Eder
4e0fedd5a4 [jOOQ/jOOQ#2370] [jOOQ/jOOQ#8528] Interpret DROP TEMP TABLE 2019-10-31 16:25:42 +01:00
Lukas Eder
faad3f34a3 [jOOQ/jOOQ#2370] [jOOQ/jOOQ#6412] Cleanup 2019-10-31 16:19:33 +01:00
Lukas Eder
f1024b9093 [jOOQ/jOOQ#2370] [jOOQ/jOOQ#6412] org.jooq.TableType (WIP)
- Support interpreting CREATE TEMPORARY TABLE
- Support exporting temporary tables in DDL
2019-10-31 16:16:28 +01:00
Lukas Eder
2ea1493224 [jOOQ/jOOQ#9482] Add new internal org.jooq.impl.Names class for commonly
used DSL.name() references
2019-10-31 15:53:15 +01:00
Lukas Eder
40a7e347f2 [jOOQ/jOOQ#2370] Add org.jooq.TableType (WIP) 2019-10-31 15:18:16 +01:00
Lukas Eder
67a12ec93c [jOOQ/jOOQ#2370] Add org.jooq.TableType and Table.getType() to describe the type of a table 2019-10-31 15:04:15 +01:00
Lukas Eder
bab16f8df7 [jOOQ/jOOQ#9329] Don't do this in Java 6 2019-10-31 14:18:23 +01:00
Lukas Eder
258a4b0fc2 [jOOQ/jOOQ#9099] Javadoc is being built in test modules even when not activating the release profiles 2019-10-31 13:55:46 +01:00
Lukas Eder
6293b168ac Release 3.12.3 2019-10-31 13:55:10 +01:00
Lukas Eder
02adac7e8f [jOOQ/jOOQ#9476] Add parser support for MySQL [ INNER ] JOIN without ON clause 2019-10-31 12:04:26 +01:00
Lukas Eder
bebb068d27 [jOOQ/jOOQ#9460] Support additional Settings.interpreterDialects and add an InterpreterConnectionProvider SPI 2019-10-31 11:47:22 +01:00
Lukas Eder
3d0cc51db2 [jOOQ/jOOQ#9478] Support parsing ALTER TABLE .. ALTER COLUMN .. SET NULL
syntax
2019-10-31 10:54:40 +01:00
Lukas Eder
85ce843bac [jOOQ/jOOQ#9480] CREATE SEQUENCE implementation should reuse Sequence.getDataType() in various flags 2019-10-31 10:42:13 +01:00
Lukas Eder
5a060431da [jOOQ/jOOQ#9437] Use T instead of Number, where applicable
Also, rename parameter from constant to value
2019-10-31 10:39:39 +01:00
Lukas Eder
eda9518521 [jOOQ/jOOQ#9479] Remove internal, deprecated DefaultConfiguration constructors 2019-10-31 10:24:07 +01:00
Lukas Eder
ce5fac4b74 [jOOQ/jOOQ#8194] Add a Configuration.systemConnectionProvider() SPI 2019-10-31 10:06:31 +01:00
Lukas Eder
6e654363ad [jOOQ/jOOQ#9473] Creating tables using DSLContext.ddl() converts VARBINARY columns to TEXT in MySQL 2019-10-31 09:52:14 +01:00
Lukas Eder
408412503c [jOOQ/jOOQ#9460] Add an InterpreterConnectionProvider SPI 2019-10-30 17:34:23 +01:00
Knut Wannheden
b8cbde22cc [jOOQ/jOOQ#9437] Add flag clauses to ALTER SEQUENCE to DSL API
Adds the new `AlterSequenceFlagsStep` as a supertype to
`AlterSequenceStep`, which allows setting and clearing various flags
like `MINVALUE` and `CACHE`.
2019-10-30 17:28:32 +01:00
Lukas Eder
bf15048959 [jOOQ/jOOQ#7034] Prevent StackOverflowError 2019-10-30 17:01:41 +01:00
Lukas Eder
da8abbdbb9 [jOOQ/jOOQ#9471] JDBCDatabase does not order objects alphabetically 2019-10-30 16:09:53 +01:00
Lukas Eder
c7839bfa94 [jOOQ/jOOQ#7034] Sync'ed duplicate logic between DDLDatabase and DDLMetaProvider 2019-10-30 15:34:37 +01:00
Knut Wannheden
23d7479bff [jOOQ/jOOQ#9464] jOOQ emulates ALTER TABLE IF EXISTS for MariaDB
Added back `@Support` annotations to `alterTableIfExists()` methods and
enabled corresponding integration tests for MariaDB.
2019-10-30 15:31:00 +01:00
Lukas Eder
3f4ffd72e6 [jOOQ/jOOQ#9470] FilePatter.Loader should accept Source, instead of InputStream 2019-10-30 15:30:23 +01:00
Lukas Eder
3b3294563c [jOOQ/jOOQ#7034] Fixed compilation error 2019-10-30 15:02:58 +01:00
Lukas Eder
b03bed965b [jOOQ/jOOQ#9468] SQLDialect.ASE cannot be used with a MockConnection 2019-10-30 14:56:37 +01:00
Lukas Eder
af901e4e28 [jOOQ/jOOQ#7034] Extract AbstractMetaDatabase 2019-10-30 14:46:41 +01:00
Lukas Eder
829d5220ae [jOOQ/jOOQ#8104] Add support for ALTER DATABASE with DDLDatabase 2019-10-30 12:49:55 +01:00
Knut Wannheden
73c0db1898 [jOOQ/jOOQ#9464] Remove MariaDB from @Support on alterTableIfExists() 2019-10-30 08:23:54 +01:00
Knut Wannheden
9762577470 [jOOQ/jOOQ#9463] Add @Support to methods of LoaderSourceStep 2019-10-30 07:18:49 +01:00
Knut Wannheden
0de0e54dd7 [jOOQ/jOOQ#9462] Add @Support to BatchBindStep#bind() methods 2019-10-30 07:01:09 +01:00
Knut Wannheden
98df4ec42f [jOOQ/jOOQ#9461] Add @PlainSQL annotation to DSLContext#batch() methods 2019-10-30 06:49:42 +01:00
Knut Wannheden
b52ab14560 [jOOQ/jOOQ#9362] Add Settings.interpreterDialect 2019-10-30 06:48:28 +01:00
Lukas Eder
fcbbc5103e [jOOQ/jOOQ#8528] Refactorings (WIP) 2019-10-29 17:21:17 +01:00
Lukas Eder
8f375b6cf4 [jOOQ/jOOQ#8528] Refactorings (WIP) 2019-10-29 17:15:37 +01:00