Commit Graph

8686 Commits

Author SHA1 Message Date
Lukas Eder
bcd7a2ab4f [jOOQ/jOOQ#10227] Global UDT, Index, Identity, references are generated
as static, not static final
2020-05-29 11:09:00 +02:00
Lukas Eder
0d48acfc1d [jOOQ/jOOQ#681] Add interpreter support for DOMAINS (WIP)
This change includes:

- Support interpreting ALTER DOMAIN
- Fix a Java 6 compilation problem
2020-05-29 11:08:49 +02:00
Lukas Eder
c1cdf24406 [jOOQ/jOOQ#681] [jOOQ/jOOQ#10230] Interpreter support for DOMAINS (WIP)
This change includes:

- Support interpreting DROP DOMAIN .. CASCADE
2020-05-28 18:23:33 +02:00
Lukas Eder
e8c7e5e423 [jOOQ/jOOQ#681] [jOOQ/jOOQ#10230] Interpreter support for DOMAINS (WIP)
This change includes:

- [jOOQ/jOOQ#10230] Let DataType extend Named
- Support interpreting DROP DOMAIN .. RESTRICT
2020-05-28 18:01:16 +02:00
Lukas Eder
8e15f27682 [jOOQ/jOOQ#681] Add interpreter support for DOMAINS (WIP)
This change includes:

- Support interpreting CREATE DOMAIN .. CHECK
- Support interpreting DROP DOMAIN
- Improved DomainImpl and added DomainDataType
2020-05-28 16:50:47 +02:00
Lukas Eder
cf993c0b67 [jOOQ/jOOQ#681] Add interpreter support for DOMAINS (WIP)
This change includes:

- DDLExportConfiguration instructions
- DDLFlag.DOMAIN and Meta.ddl() export implementation
- Meta.getDomains() and Schema.getDomains() API
- Interpreter implementation (WIP)
2020-05-28 15:36:27 +02:00
Lukas Eder
8ce30181c5 [jOOQ/jOOQ#10210] Whitespace fix 2020-05-28 12:29:23 +02:00
Lukas Eder
4c6c2d5e2c [jOOQ/jOOQ#10210] Fixed CockroachDB regression 2020-05-28 12:28:05 +02:00
Lukas Eder
16b3fda0a8 [jOOQ/jOOQ#10210] Improved API generation
- Generate code for CreateSequenceImpl
- Generate code for DropSequenceImpl
- Added new arg@wrap attribute
- Added convenience for no arg clauses
2020-05-28 12:16:26 +02:00
Lukas Eder
ce73ad314a [jOOQ/jOOQ#10210] Improved support for flags in DDL 2020-05-28 11:05:04 +02:00
Lukas Eder
c766fcdbfb [jOOQ/jOOQ#10210] Improved API generation
- Generate AlterSchemaImpl and DropSchemaImpl
- Step Javadoc improvement
2020-05-27 22:22:39 +02:00
Lukas Eder
19c2b28237 [jOOQ/jOOQ#10210] Improved API generation
- Generate CreateSchemaImpl
- Don't change API to be immutable (yet)
- Generate () accessors for Interpreter
2020-05-27 22:04:23 +02:00
Lukas Eder
cd67be658d [jOOQ/jOOQ#10210] Improved API generation
- Restored member pad size in generated code
2020-05-27 19:57:56 +02:00
Lukas Eder
fbc4b335af [jOOQ/jOOQ#10210] Improved API generation
- Removed SuppressWarnings rawtypes when there are no generic types
- Removed SuppressWarnings unchecked when generic types use wildcards
- Removed SuppressWarnings hiding when there are no step args
2020-05-27 19:49:00 +02:00
Lukas Eder
07f9ad9ed8 [jOOQ/jOOQ#10210] Improved API generation
- Removed unneeded XXX: QueryPart API section
2020-05-27 19:22:09 +02:00
Lukas Eder
387d6c5b16 [jOOQ/jOOQ#10210] Re-generate DropDatabaseImpl 2020-05-27 19:17:35 +02:00
Lukas Eder
fe43228433 [jOOQ/jOOQ#10210] Re-generate AlterDatabaseImpl 2020-05-27 19:12:00 +02:00
Lukas Eder
7ad7b46fce [jOOQ/jOOQ#681] Add support for type DOMAINs (WIP)
- Added org.jooq.Domain
- Add DSL API to construct domain references
- Add code generator support for domains
- Add DDL support for domains (CREATE, ALTER, DROP)
- Add parser support
- Add dialect support (H2, PostgreSQL, SQL Server)
2020-05-27 19:02:19 +02:00
Lukas Eder
1c89a690ad [jOOQ/jOOQ#10210] Re-generate CreateDatabaseImpl 2020-05-27 19:02:08 +02:00
Lukas Eder
2d62a406c4 [jOOQ/jOOQ#681] Add support for type DOMAINs (WIP)
- Added org.jooq.Domain
- Add DSL API to construct domain references
- Add code generator support for domains
- Add DDL support for domains (CREATE, ALTER, DROP)
- Add parser support
- Add dialect support (H2, PostgreSQL, SQL Server)
2020-05-27 17:58:16 +02:00
Lukas Eder
a55b83664d [jOOQ/jOOQ#10223] AUTO_INCREMENT columns fail to parse if they are preceded by a column with DEFAULT 2020-05-25 11:29:24 +02:00
Lukas Eder
05ff3d33f1 [jOOQ/jOOQ#10220] Support parsing CHECK constraints without parentheses 2020-05-25 10:42:59 +02:00
Lukas Eder
3273600a25 [jOOQ/jOOQ#10153] Datetime arithmetic support 2020-05-21 17:39:22 +02:00
Lukas Eder
351696e42e [jOOQ/jOOQ#2132] [jOOQ/jOOQ#10153] Support more EXTRACT() date parts 2020-05-21 15:49:52 +02:00
Lukas Eder
f6c5ed5461 [jOOQ/jOOQ#10153] Add support for HANA array bind variables 2020-05-21 13:46:12 +02:00
Lukas Eder
8a0766e888 [jOOQ/jOOQ#10153] Emulate GROUP BY () in HANA using GROUPING SETS (()) 2020-05-21 12:31:40 +02:00
Lukas Eder
fa703430da [jOOQ/jOOQ#10215] Stop emulating GROUP BY () in PostgreSQL 9.5+ 2020-05-21 12:20:56 +02:00
Lukas Eder
a673e72e20 [jOOQ/jOOQ#10210] Fix PostgreSQL implementation in OSS edition 2020-05-21 09:40:34 +02:00
Lukas Eder
cd2200295f [jOOQ/jOOQ#10210] Fixed CREATE DATABASE IF NOT EXISTS for SQL Server 2020-05-20 17:51:44 +02:00
Lukas Eder
4210f567b9 [jOOQ/jOOQ#9775] Added quantifier support with value lists 2020-05-20 17:24:03 +02:00
Lukas Eder
c29f2dbac7 [jOOQ/jOOQ#10210] Support CREATE, ALTER, DROP DATABASE 2020-05-20 15:42:17 +02:00
Lukas Eder
4971d8aad9 [jOOQ/jOOQ#9775] Support parsing Firebird ROWS .. TO syntax 2020-05-20 15:42:09 +02:00
Lukas Eder
325e5b15d3 [jOOQ/jOOQ#10210] Support CREATE, ALTER, DROP DATABASE 2020-05-20 15:38:14 +02:00
Lukas Eder
b990568f42 Whitespace change 2020-05-20 10:06:09 +02:00
Lukas Eder
72b166509e [jOOQ/jOOQ#10207] Ignore secondary identity columns 2020-05-20 10:05:55 +02:00
Lukas Eder
937a34e0f6 [jOOQ/jOOQ#10205] Fixed the NPE 2020-05-19 17:14:59 +02:00
Lukas Eder
0f08489f68 [jOOQ/jOOQ#10203] Bad Javadoc generated for Tables.java in the default
schema
2020-05-19 14:01:10 +02:00
Lukas Eder
5c3906e48c [jOOQ/jOOQ#10203] Bad Javadoc generated for Tables.java in the default schema 2020-05-19 13:48:44 +02:00
Lukas Eder
e66abac092 [jOOQ/jOOQ#10191] Cannot generate into(E) overload in Scala 2020-05-19 12:28:16 +02:00
Lukas Eder
1e7f4d3c73 [jOOQ/jOOQ#5422] Avoid whitespace before colon : in Scala 2020-05-19 10:53:53 +02:00
Lukas Eder
8598e8116b [jOOQ/jOOQ#10191] Allow for overriding generic method in Scala
Scala seems to erase generic types more completely, which means the generated Record.into() method overrides the AbstractRecord.into(), unlike in Kotlin and Java.
2020-05-19 10:23:55 +02:00
Lukas Eder
398e506180 [jOOQ/jOOQ#3285] Fix OSS edition 2020-05-19 10:11:29 +02:00
Lukas Eder
698b8b8004 [jOOQ/jOOQ#10191] Fix embeddable records 2020-05-18 16:24:08 +02:00
Lukas Eder
247d1ff0c2 [jOOQ/jOOQ#10191] Better formatting of empty arg list 2020-05-18 15:33:02 +02:00
Lukas Eder
8dc3bb491c [jOOQ/jOOQ#6248] Better formatting of no args functions 2020-05-18 10:45:12 +02:00
Lukas Eder
565ad6a83c [jOOQ/jOOQ#10197] Implicit join constructor shouldn't be generated on table valued functions 2020-05-15 16:29:29 +02:00
Lukas Eder
1980caa901 [jOOQ/jOOQ#6248] Fixed TVF in Kotlin 2020-05-15 16:21:32 +02:00
Lukas Eder
6d91c8a292 [jOOQ/jOOQ#6248] Scratch that In / Out idea. It isn't sound. 2020-05-15 16:08:00 +02:00
Lukas Eder
3714fcbb4b [jOOQ/jOOQ#6248] Fixed an initialisation problem 2020-05-15 13:45:10 +02:00
Lukas Eder
b7c51aa287 [jOOQ/jOOQ#3285] Fixed <tableValuedFunctions> = false 2020-05-15 11:33:27 +02:00