Commit Graph

8108 Commits

Author SHA1 Message Date
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
Lukas Eder
4da8a11f92 [jOOQ/jOOQ#8528] Don't allow duplicate column names in tables 2019-12-11 09:52:39 +01:00
Lukas Eder
a5aac20b8c [jOOQ/jOOQ#8528] Unused annotation 2019-12-10 16:06:23 +01:00
Lukas Eder
23e94bf403 [jOOQ/jOOQ#8528] Fix duplicate constraint names 2019-12-10 15:37:43 +01:00
Lukas Eder
d60e67abc6 [jOOQ/jOOQ#9434] Fixed DDLExportConfiguration.respectConstraintOrder 2019-12-10 14:57:40 +01:00
Lukas Eder
b7b8d5bb28 [jOOQ/jOOQ#9653] Meta.ddl() loses Schema and Constraint Name.quoted() information 2019-12-10 13:14:04 +01:00
Lukas Eder
94d2595130 [jOOQ/jOOQ#9425] Diff for cross schema FKs
In order to better reuse diff logic, the lambdas are now extracted as
members.
2019-12-10 12:56:23 +01:00
Lukas Eder
38cc7d4733 [jOOQ/jOOQ#8528] Fix interpretation of DROP SCHEMA .. CASCADE
When there are inbound foreign keys into a schema that is being dropped with CASCADE, those foreign keys have to be deleted first
2019-12-10 12:18:32 +01:00
Lukas Eder
c9e2c764fb [jOOQ/jOOQ#9533] Fixed syntax error 2019-12-10 11:55:54 +01:00
Lukas Eder
3bfb0c9756 [jOOQ/jOOQ#9157] [jOOQ/jOOR#57] Try again
When running the Java 8 distribution's code of jOOR on Java 9,
CACHED_LOOKUP_CONSTRUCTOR is null because we're not allowed to access
that from JDK 9+. This means we can no longer use it in reflection
logic, e.g. when implementing in-memory compilation. We have to use the
Java 9+ logic via meta-reflection.
2019-12-10 11:29:45 +01:00