Commit Graph

8117 Commits

Author SHA1 Message Date
Knut Wannheden
fb0a53b200 [jOOQ/jOOQ#9272] Simplify generated Schema and Catalog classes
The genereated `SchemaImpl` and `CatalogImpl` subclasses will only
declare methods like `getSchemas0()` and `getTables0()` when necessary.
I.e. when the number of returned definitions exceeds 500.
2019-12-18 17:29:01 +01:00
Knut Wannheden
9d6e8236a1 [jOOQ/jOOQ#9505] Versions extends Iterable<Version> 2019-12-18 15:43:53 +01:00
Knut Wannheden
4b3dcb8248 [jOOQ/jOOQ#9506] Added org.jooq.Versions as a result type for
VersionProvider
2019-12-18 15:38:55 +01:00
Knut Wannheden
4f658f01c3 [jOOQ/jOOQ#9663] Regenerate example code 2019-12-18 15:38:20 +01:00
Knut Wannheden
2082e1c3e9 Include all-modules profile in release builds 2019-12-18 15:37:36 +01:00
Lukas Eder
ce7096a5af [jOOQ/jOOQ#9505] Versions extends Iterable<Version> 2019-12-18 15:34:54 +01:00
Lukas Eder
ade3869e8f [jOOQ/jOOQ#9506] Added org.jooq.Versions as a result type for VersionProvider 2019-12-18 12:11:32 +01:00
Lukas Eder
350f995030 [jOOQ/jOOQ#9506] Added public Version.parents() method 2019-12-18 11:46:51 +01:00
Lukas Eder
ec1768245b [jOOQ/jOOQ#8528] Interpret SetSchema 2019-12-18 11:36:31 +01:00
Knut Wannheden
09080a6caf [jOOQ/jOOQ#8545] CockroachDB: Support STRING_AGG(... ORDER BY) 2019-12-18 08:22:57 +01:00
Knut Wannheden
64f144581e [jOOQ/jOOQ#9681] Synchronize @Support annotations in MergeUsingStep 2019-12-18 07:55:01 +01:00
Knut Wannheden
223d8c81a3 [jOOQ/jOOQ#9506] Remove MigrationResult for now 2019-12-18 07:54:36 +01:00
Lukas Eder
a5ea43923e [jOOQ/jOOQ#9506] Implement Settings.migrationRevertUntracked 2019-12-17 14:58:08 +01:00
Lukas Eder
5d0e9226ab [jOOQ/jOOQ#9506] Implement Settings.migrationAllowsUndo 2019-12-17 13:12:08 +01:00
Lukas Eder
f6870fe15c [jOOQ/jOOQ#9506] Fix migration validation
- Validate VersionProvider
- Lookup expected schemas from interpreter search path
- Init versions with interpreter search path (TODO new config)
- Stop skipping create and drop schema commands
2019-12-17 12:15:19 +01:00
Lukas Eder
7084813f39 [jOOQ/jOOQ#8870] Support Scala 2.13 2019-12-17 10:20:18 +01:00
Lukas Eder
51dc50ee6d
Merge pull request #9671 from davsclaus/osgi-fix
Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also…
2019-12-17 09:50:28 +01:00
Knut Wannheden
b07bb8148e [jOOQ/jOOQ#8545] CockroachDB: Support INSERT ... ON CONFLICT ... WHERE 2019-12-16 17:59:58 +01:00
Knut Wannheden
c19af44f92 [jOOQ/jOOQ#8545] CockroachDB: Support CREATE TABLE ... INDEX 2019-12-16 17:58:04 +01:00
Knut Wannheden
fe8a06f5df [jOOQ/jOOQ#8545] CockroachDB: Support LIST_AGG() emulation 2019-12-16 17:52:30 +01:00
Knut Wannheden
01293746f9 [jOOQ/jOOQ#9675] PosrgreSQL dialects: Support MD5() function 2019-12-16 17:45:08 +01:00
Lukas Eder
0bef99c814 [jOOQ/jOOQ#9506] org.jooq.Migration implementation
- MigrationImpl.toString() implementation for debugging
2019-12-16 14:41:10 +01:00
Lukas Eder
c33cd0bd8d [jOOQ/jOOQ#9677] Add Settings.interpreterSearchPath 2019-12-16 13:46:58 +01:00
Lukas Eder
37b11143f5 [jOOQ/jOOQ#9425] Open sourcing diff 2019-12-16 11:45:34 +01:00
Lukas Eder
c379074c33 [jOOQ/jOOQ#9651] Support parsing // as a single line comment token
... in the parser
2019-12-16 11:25:04 +01:00
Lukas Eder
89db6392ac [jOOQ/jOOQ#9651] Support parsing // as a single line comment token
... in plain SQL templatin
2019-12-16 11:08:15 +01:00
Lukas Eder
4cd3a9f8f9 [jOOQ/jOOQ#9604] Implement a default OrderProvider in the code generator 2019-12-16 10:46:50 +01:00
Claus Ibsen
3e23839e94 Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also fix the bundle to not import itself.
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
2019-12-13 08:57:30 +01:00
Lukas Eder
349b73f540 [jOOQ/jOOQ#9663] Regenerated test code 2019-12-12 18:13:14 +01:00
Lukas Eder
de72c3192b [jOOQ/jOOQ#8528] Cosmetic fix for error message 2019-12-12 17:36:50 +01:00
Lukas Eder
f1bbecc136 [jOOQ/jOOQ#9663] Add code generator support for NOT ENFORCED constraint flag
This depends on [jOOQ/jOOQ#9672] Add ConstraintDefinition
2019-12-12 17:34:44 +01:00
Lukas Eder
ce43c415c1 [jOOQ/jOOQ#8528] Prevent duplicate identities in interpreter 2019-12-12 15:48:02 +01:00
Lukas Eder
52b8980373 [jOOQ/jOOQ#9664] Parser should reject duplicate identities 2019-12-12 15:35:51 +01:00
Lukas Eder
a3115983f9 [jOOQ/jOOQ#9425] Renamed new terminology from diff() to migrateTo() 2019-12-12 15:09:01 +01:00
Lukas Eder
2be0080c6d Regenerated example code 2019-12-12 15:08:55 +01:00
Claus Ibsen
3e27644e7a Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also fix the bundle to not import itself.
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
2019-12-12 14:59:07 +01:00
Knut Wannheden
23e4dfaa86 [jOOQ/jOOQ#9667] Stop generating JAXB episode files
The Maven plugin maven-jaxb2-plugin has an option to turn this feature
off.
2019-12-12 12:19:43 +01:00
Lukas Eder
485afa0551 [jOOQ/jOOQ#9669] Move xjb files out of artifacts 2019-12-12 12:18:05 +01:00
Knut Wannheden
93346ea3c3 [jOOQ/jOOQ#9667] Ignore JAXB .episode files
The XJC .episode files are not relevant in the jOOQ build.
2019-12-12 11:46:23 +01:00
Knut Wannheden
1be45e7a30 [jOOQ/jOOQ#7511] Make ParserImpl OSS compatible 2019-12-12 10:24:42 +01:00
Knut Wannheden
ffb4ad44a9 [jOOQ/jOOQ#7511] Fix DDLInterpreter and AlterTableImpl in OSS edition 2019-12-12 09:16:43 +01:00
Lukas Eder
effc7a09d8 [jOOQ/jOOQ#7511] [jOOQ/jOOQ#9662] WIP 2019-12-11 16:14:08 +01:00
Lukas Eder
6d000bd55b [jOOQ/jOOQ#7511] [jOOQ/jOOQ#9662] WIP 2019-12-11 15:33:09 +01:00
Lukas Eder
a471e023d1 [jOOQ/jOOQ#9661] Support parsing MySQL's unnamed constraint syntax 2019-12-11 13:33:50 +01:00
Knut Wannheden
83fb81f927 [jOOQ/jOOQ#9660] Adding test dependencies back to jOOQ
The dependencies to some embedded database drivers are required by some
of the unit tests.
2019-12-11 12:17:52 +01:00
Knut Wannheden
2fd3e0b0f7 [jOOQ/jOOQ#9442] Sequence flags code generation support for Firebird 2019-12-11 12:11:40 +01:00
Knut Wannheden
b21a8c5f38 [jOOQ/jOOQ#9442] Support BigInteger for sequence flags
Java (and Scala) generator now also supports sequence flags where the
value is of type `BigInteger`.
2019-12-11 11:42:19 +01:00
Lukas Eder
35a3821efa [jOOQ/jOOQ#9660] Regenerate Derby's SYS schema without indexes 2019-12-11 11:14:07 +01:00
Lukas Eder
ff37976991 [jOOQ/jOOQ#9661] Support parsing MySQL's unnamed constraint syntax 2019-12-11 11:10:08 +01:00
Knut Wannheden
420b5ca0cb [jOOQ/jOOQ#9660] Upgrade Derby to version 10.15
Also regenerates the `SYS` schema in `jOOQ-meta` for Derby.
2019-12-11 10:38:48 +01:00