Commit Graph

8097 Commits

Author SHA1 Message Date
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
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
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
Lukas Eder
d8b63da46c [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 calling default methods. We have to use the Java 9+ logic via meta-reflection.
2019-12-10 11:05:00 +01:00
Lukas Eder
5f3f2e101c The example code shouldn't use var yet 2019-12-10 10:29:27 +01:00
Lukas Eder
131ed5fbfd [jOOQ/jOOQ#9648] ArrayIndexOutOfBoundsException if query has a single or double quote char in vendor specific comment 2019-12-10 09:57:55 +01:00
Lukas Eder
40ef8cda06 [jOOQ/jOOQ#9425] DDLDiffConfiguration.dropTableCascade() support
- Enhanced IN/OUT parameter that wraps the existing List<Query> and allows for passing around additional context information
- Prevent FKs from being dropped twice
2019-12-09 13:21:56 +01:00
Lukas Eder
f7e2229f53 [jOOQ/jOOQ#9382] Added DDL interpretation support 2019-12-09 12:20:52 +01:00
Lukas Eder
41263129d2 [#9382] Add support for Oracle's ALTER TABLE .. DROP UNIQUE (<columns>) syntax 2019-12-09 11:55:25 +01:00
Lukas Eder
a78679b0fa [jOOQ/jOOQ#9636] Add Settings.locale() as a default for renderLocale()
and other locales
2019-12-06 17:48:37 +01:00
Lukas Eder
007d25fb76 [jOOQ/jOOQ#8528] Cache interpreted objects for better bi-directionality 2019-12-06 17:48:12 +01:00
Lukas Eder
e8e2218673 [jOOQ/jOOQ#9636] Add Settings.locale() as a default for renderLocale() and other locales 2019-12-06 11:32:07 +01:00
Lukas Eder
d5ecab1e71 [jOOQ/jOOQ#9633] Add a new Settings.interpreterNameLookupCaseSensitivity
- Default is now ParseNameCase.UPPER_IF_UNQUOTED ([jOOQ/jOOQ#9238])
- Made ParseNameCase logic reusable for ParserImpl and DDLInterpreter
- DDLInterpreter MutableNamed model now uses inner classes to share
  Configuration instance access
- Case insensitive comparisons now use Settings.renderLocale()
  TODO: [jOOQ/jOOQ#9636]
2019-12-06 11:15:19 +01:00
Lukas Eder
b5b5bc4f6b [jOOQ/jOOQ#9633] Add a new Settings.interpreterNameLookupCaseSensitivity
(WIP, see new TODOs)
2019-12-05 20:49:29 +01:00