Commit Graph

7972 Commits

Author SHA1 Message Date
Lukas Eder
03ef9ce3f7 [jOOQ/jOOQ#9578] Upgrade Hibernate dependency to 5.4.9.Final 2019-11-20 15:27:45 +01:00
Lukas Eder
7d26f84235 [jOOQ/jOOQ#8528] Interpret TRUNCATE 2019-11-20 15:25:34 +01:00
Lukas Eder
b2af597638 [jOOQ/jOOQ#9505] Add org.jooq.Version to describe a database version 2019-11-20 15:18:19 +01:00
Knut Wannheden
355ab8b35d [jOOQ/jOOQ#9354] Also use MySQL workaround for MariaDB
`ALTER TABLE ... ALTER ... DROP DEFAULT` is better emulated as `ALTER
TABLE ... ALTER ... SET DEFAULT NULL` on MariaDB.
2019-11-20 14:38:01 +01:00
Knut Wannheden
2229e4ff71 [jOOQ/jOOQ#9437] Emulate ALTER SEQUENCE ... NO CACHE for PostgreSQL
PostgreSQL only understands the `CACHE` clause and `CACHE 1` effectively
means `NO CACHE`.
2019-11-20 14:10:03 +01:00
Knut Wannheden
cbcd506bdf [jOOQ/jOOQ#9437] No generics for AlterSequenceFlagsStep
Using generics here causes problems given the current signatures on
`DSLContext`, where the return type explicitly uses `BigInteger` as the
generic type parameter.
2019-11-20 12:23:34 +01:00
Knut Wannheden
ed08b6a39c Cleanup: Remove release-oss profile from pom.xml
This profile is not needed in the OSS repository, as the OSS edition is
not actually built or released from this repository.
2019-11-20 08:18:26 +01:00
Knut Wannheden
19f093a65e Cleanup: Remove jOOQ-release directory
This directory only contained files releated to the releasing of
commercial editions.
2019-11-20 08:09:33 +01:00
Knut Wannheden
2cee008369 [jOOQ/jOOQ#9565] Fix Java 6 incompatibility 2019-11-20 07:32:27 +01:00
Lukas Eder
8afc8f6f37 [jOOQ/jOOQ#8528] Added meaningful toString() impl for debugging 2019-11-19 16:58:33 +01:00
Lukas Eder
96872f256e [jOOQ/jOOQ#9514] LiquibaseDatabase should allow for passing parameters to the Liquibase 2019-11-19 16:32:02 +01:00
Lukas Eder
eacecf662c [jOOQ/jOOQ#8528] Support multiple unnamed constraints 2019-11-19 15:47:07 +01:00
Lukas Eder
65e58d756b [jOOQ/jOOQ#8528] Interpret multi constraint ADD 2019-11-19 15:40:53 +01:00
Lukas Eder
c331962a3c [jOOQ/jOOQ#8528] Interpret multi column ADD 2019-11-19 15:17:52 +01:00
Lukas Eder
2c5171cc40 [jOOQ/jOOQ#8528] Add support for ADD IF NOT EXISTS 2019-11-19 15:13:33 +01:00
Lukas Eder
cb8d3f893a [jOOQ/jOOQ#9570] Generate single ADD or DROP ALTER TABLE statements when a list of length 1 is passed 2019-11-19 15:02:14 +01:00
Lukas Eder
3b6130d929 [jOOQ/jOOQ#9425] Support additional DDLDiffConfiguration flags
Newly supported flags include:

- alterTableAddMultiple
- alterTableDropMultiple

This change also added [jOOQ/jOOQ#8528] interpretation partial support for multi-add ALTER TABLE statements
2019-11-19 14:55:03 +01:00
Lukas Eder
cc710364d6 [jOOQ/jOOQ#9571] Multi column ALTER TABLE .. ADD statement shouldn't qualify column names 2019-11-19 14:43:50 +01:00
Lukas Eder
324614fd3a [jOOQ/jOOQ#9567] Cosmetic exceptions caused by JPADatabase when using attribute converters 2019-11-19 13:00:08 +01:00
Lukas Eder
57121c96e2 [jOOQ/jOOQ#7639] Add code generation support for CHECK constraints 2019-11-19 12:26:15 +01:00
Lukas Eder
ac5fea8ec0 [jOOQ/jOOQ#9565] CheckConstraints are not exported yet 2019-11-19 11:55:27 +01:00
Lukas Eder
6c3417cdc6 [jOOQ/jOOQ#9565] Revert XMLBuilder to previous version 2019-11-19 11:48:05 +01:00
Lukas Eder
749c91bca6 [jOOQ/jOOQ#9565] Import and export InformationSchema <-> Meta 2019-11-19 11:24:15 +01:00
Lukas Eder
502cecba02 [jOOQ/jOOQ#9565] Read check clause in XMLDatabase 2019-11-19 10:35:15 +01:00
Lukas Eder
ba7a030c82 [jOOQ/jOOQ#9565] Generate check clause in XMLGenerator 2019-11-19 10:18:18 +01:00
Lukas Eder
189f850ec1 [jOOQ/jOOQ#9565] Add CheckConstraint XSD type to jooq-meta.xsd 2019-11-19 10:09:36 +01:00
Lukas Eder
653faba4f8 [jOOQ/jOOQ#9425] Diff check constraints.
This change includes a set of prerequisites that had to be implemented in order to be able to create a diff of check constraints:

- [jOOQ/jOOQ#7629] Export check constraints through DSLContext.ddl()
- [jOOQ/jOOQ#8528] Interpret check constraints in DDL
- [jOOQ/jOOQ#9562] Add org.jooq.Check as a meta model
- [jOOQ/jOOQ#9562] Add Table.getChecks()
2019-11-19 09:36:33 +01:00
Lukas Eder
38e458066f [jOOQ/jOOQ#8452] Support parsing ASC sorting in constraints 2019-11-18 12:12:16 +01:00
Lukas Eder
8b894612c3 [jOOQ/jOOQ#8452] [jOOQ/jOOQ#9561] Parse CLUSTERED / NONCLUSTERED 2019-11-18 12:03:10 +01:00
Lukas Eder
e6d1a04b23 [jOOQ/jOOQ#9557] Add support for ALTER TABLE .. DROP CONSTRAINT IF
EXISTS

- Added DDL interpreter support
2019-11-18 11:31:33 +01:00
Lukas Eder
8461680d28 [jOOQ/jOOQ#9557] Add support for ALTER TABLE .. DROP CONSTRAINT IF
EXISTS

- Added parser support
2019-11-18 11:27:19 +01:00
Lukas Eder
fa21941e6e [jOOQ/jOOQ#9557] Add support for ALTER TABLE .. DROP CONSTRAINT IF EXISTS
- Added native support
2019-11-18 11:22:23 +01:00
Lukas Eder
afac78a950 [jOOQ/jOOQ#9558] Clarify in Javadoc of selectFrom() and related methods that all Table.fields() will be fetched, not DSL.asterisk() 2019-11-18 10:38:48 +01:00
Lukas Eder
919364d615 [jOOQ/jOOQ#9498] DDLDatabase: Flyway's repatable migrations are executed to early 2019-11-15 17:10:45 +01:00
Lukas Eder
851ea9fc21 [jOOQ/jOOQ#9490] Added link to FAQ 2019-11-15 16:42:41 +01:00
Lukas Eder
33c844041c [jOOQ/jOOQ#9553] Parser cannot parse WITH in EXISTS() and other subqueries 2019-11-15 16:03:20 +01:00
Lukas Eder
cd71da22f9 [jOOQ/jOOQ#8967] Generator outputs duplicate method (not compilable) 2019-11-15 13:50:41 +01:00
Lukas Eder
00050d515f [jOOQ/jOOQ#8545] More casting of integer types to numeric 2019-11-13 17:46:43 +01:00
Lukas Eder
51f895c57b [jOOQ/jOOQ#8545] Skip test 2019-11-13 17:35:04 +01:00
Lukas Eder
61f533e989 [jOOQ/jOOQ#8545] Fixed some EXTRACT() functions for CockroachDB 2019-11-13 17:06:01 +01:00
Lukas Eder
c90824afe9 [jOOQ/jOOQ#8545] Better numeric data type handling in CockroachDB 2019-11-13 16:57:48 +01:00
Lukas Eder
cfddca49d6 Merge branch 'master' of https://github.com/jOOQ/jOOQ 2019-11-13 16:28:48 +01:00
Lukas Eder
55bf49925b [jOOQ/jOOQ#8545] Add CockroachDB support for ON CONFLICT 2019-11-13 16:28:37 +01:00
Knut Wannheden
e067565f54 [jOOQ/jOOQ#9487] Add "all-modules" profile
Using this profile it will be possible to use the
`maven-versions-plugin` to modify the Maven version of all jOOQ
projects.
2019-11-13 16:25:37 +01:00
Lukas Eder
6c60eb37d7 [jOOQ/jOOQ#9545] Parser cannot parse views with WITH 2019-11-13 15:09:34 +01:00
Knut Wannheden
5ae89a4373 [jOOQ/jOOQ#9487] Consistently use <parent> in pom.xml files
All jOOQ Maven projects now use a jOOQ <parent> project (either
`jooq-parent` or `jooq-examples`).
2019-11-13 12:27:07 +01:00
Lukas Eder
f501ea8a7f [jOOQ/jOOQ#9312] Revert accidental change 2019-11-13 12:03:29 +01:00
Knut Wannheden
1159627a41 [jOOQ/jOOQ#9487] Harmonize <version> in all Maven pom.xml files
Now all `pom.xml` files explicitly state the version in the `<version>`
element. E.g. `<version>3.13.0-SNAPSHOT</version>`. Dependencies to
other jOOQ modules are always declared using
`<version>${project.version}</version>`.
2019-11-13 11:40:52 +01:00
Lukas Eder
94d850789f [jOOQ/jOOQ#9312] Rename SQLDialect.supported() to supportedBy() 2019-11-13 10:40:45 +01:00
Lukas Eder
e77b29036e [jOOQ/jOOQ#9536] Fix ln() and exp() 2019-11-12 17:44:16 +01:00