Lukas Eder
b2a20cc2eb
[ jOOQ/jOOQ#9238 ] Add a new Settings.parseNameCase
...
Implemented all cases except DEFAULT
2019-11-25 11:22:52 +01:00
Lukas Eder
bf127abe88
[ jOOQ/jOOQ#9589 ] Added parser support
2019-11-25 09:45:06 +01:00
Lukas Eder
7c3f5a0109
[ jOOQ/jOOQ#9589 ] Fix regression
2019-11-25 09:36:54 +01:00
Knut Wannheden
66670b5470
[ jOOQ/jOOQ#9588 ][ jOOQ/jOOQ#9589 ] Use H2 BITNOT(), LSHIFT(), and RSHIFT()
...
No need to emulate `bitNot()`, `shr()`, and `shl()` anymore in H2
1.4.200.
2019-11-23 21:26:43 +01:00
Lukas Eder
8d01407974
[ jOOQ/jOOQ#9586 ] Add MigrationListener SPI
2019-11-21 23:27:50 +01:00
Lukas Eder
e51acdedc7
[ jOOQ/jOOQ#9506 ] Add CHANGELOG.SQL_COUNT column
2019-11-21 20:22:20 +01:00
Lukas Eder
f7fe559711
[ jOOQ/jOOQ#9506 ] Add CHANGELOG.SQL and CHANGELOG.STATUS columns
2019-11-21 20:12:18 +01:00
Lukas Eder
a306211890
[ jOOQ/jOOQ#9506 ] Insert CHANGELOG record prior to migration
...
- Insert the record already before migrating, then update
- Added more TODOs
2019-11-21 19:40:51 +01:00
Lukas Eder
83da9e2c23
[ jOOQ/jOOQ#9506 ] [ jOOQ/jOOQ#9583 ]
...
- [jOOQ/jOOQ#9506 ] Add org.jooq.Migration to describe a migration
between two org.jooq.Version
- [jOOQ/jOOQ#9583 ] Add a VersionProvider SPI
2019-11-21 18:08:09 +01:00
Lukas Eder
9bbc6c848a
[ jOOQ/jOOQ#9505 ] Added Version.root()
2019-11-21 15:27:34 +01:00
Lukas Eder
dfe0464c43
[ jOOQ/jOOQ#9584 ] Add Source.readString()
2019-11-21 14:53:23 +01:00
Lukas Eder
cdc48737b2
[ jOOQ/jOOQ#9584 ] Cosmetic fixes
2019-11-21 14:01:44 +01:00
Lukas Eder
b383030db2
[ jOOQ/jOOQ#9584 ] Add Source.readString()
2019-11-21 13:16:03 +01:00
Lukas Eder
4652fb2c08
Organise code in DSL API / QueryPart API sections
2019-11-21 10:57:09 +01:00
Lukas Eder
01e36257d3
Merge branch 'master' of https://github.com/jOOQ/jOOQ
2019-11-21 10:46:32 +01:00
Lukas Eder
10a444fb7c
[ jOOQ/jOOQ#9505 ] Make sure only versions with a common ancestor are merged
2019-11-21 10:46:22 +01:00
Knut Wannheden
0c6fcefd0a
[ jOOQ/jOOQ#9438 ] Use Sequence#getStartWith() for ALTER SEQUENCE RESTART
...
If the given `Sequence` has a non-`null` value for `getStartWith()` this
will be used in the `ALTER SEQUENCE ... RESTART` emulation instead of
just `1`.
2019-11-21 10:35:35 +01:00
Lukas Eder
e57125eaa9
[ jOOQ/jOOQ#9580 ] Add DDLExportConfiguration.defaultSequenceFlags
2019-11-21 10:24:49 +01:00
Knut Wannheden
17334b5f6b
[ jOOQ/jOOQ#9505 ] Remove @Internal from VersionImpl (as package private)
2019-11-21 09:59:07 +01:00
Knut Wannheden
1dc26e84b6
[ jOOQ/jOOQ#9514 ] Make LiquibaseDatabase Java 6 compatible
2019-11-21 09:34:13 +01:00
Knut Wannheden
f5e5fb71a1
[ jOOQ/jOOQ#9425 ] Support sequence flag changes in Diff
...
`Diff` now emits `ALTER SEQUENCE` statements for differences in the
flags of a given sequence.
2019-11-21 09:24:40 +01:00
Lukas Eder
d8bf2b48d8
[ jOOQ/jOOQ#7752 ] Parser sequence refactoring
2019-11-20 22:07:16 +01:00
Lukas Eder
d7b57bd296
[ jOOQ/jOOQ#8528 ] Inconsistent exception thrown
2019-11-20 21:27:18 +01:00
Lukas Eder
e4b873fa38
[ jOOQ/jOOQ#9505 ] Java 6 fix
2019-11-20 21:16:22 +01:00
Lukas Eder
c506e17629
Merge branch 'master' of https://github.com/jOOQ/jOOQ
2019-11-20 17:47:38 +01:00
Lukas Eder
7d256dd2ba
[ jOOQ/jOOQ#9505 ] Correctly apply interleaved DML (WIP)
...
- This may not be correct in the OSS edition yet
- This may not be correct when branching, yet
2019-11-20 17:47:26 +01:00
Knut Wannheden
c41dac548d
[ jOOQ/jOOQ#7752 ] Support ALTER SEQUENCE flags in parser
2019-11-20 16:54:41 +01:00
Knut Wannheden
9aeb540011
[ jOOQ/jOOQ#7752 ] Support ALTER SEQUENCE flags in DDL interpreter
...
Note: The RESTART clause has no effect.
2019-11-20 15:45:46 +01:00
Lukas Eder
060c18b3ba
[ jOOQ/jOOQ#8528 ] Ignore DML statements in interprete
2019-11-20 15:39:43 +01:00
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