Commit Graph

8701 Commits

Author SHA1 Message Date
Lukas Eder
ec914b6e14 [jOOQ/jOOQ#10227] Avoid public visibility if possible 2020-06-04 11:45:03 +02:00
Lukas Eder
a70c894114 [jOOQ/jOOQ#7900] Added H2 implementation for DATEDIFF(part, d1, d2) 2020-06-04 11:44:48 +02:00
Lukas Eder
8d6ae219dc [jOOQ/jOOQ#681] Changed Domain.checks() to Domain.getChecks() 2020-06-04 08:56:27 +02:00
Lukas Eder
850c54fd46 [jOOQ/jOOQ#681] AbstractDatabase fails to produce domains per schema 2020-06-04 08:42:08 +02:00
Lukas Eder
df3d194d67 [jOOQ/jOOQ#10229] Constructor.getParameterCount() was added in Java 8 2020-06-03 20:05:25 +02:00
Lukas Eder
d0763a9d3e [jOOQ/jOOQ#681] Added HSQLDB support for domains 2020-06-03 17:23:47 +02:00
Lukas Eder
f95bc28eba [jOOQ/jOOQ#681] Fix ALTER DOMAIN .. DROP CONSTRAINT IF EXISTS for PG 2020-06-03 16:56:05 +02:00
Lukas Eder
ccacc5fac4 [jOOQ/jOOQ#681] Implemented Diff for DOMAINs 2020-06-03 16:48:33 +02:00
Lukas Eder
cfab2b59d0 [jOOQ/jOOQ#681] Restored InformationSchema element order 2020-06-03 12:04:43 +02:00
Lukas Eder
c08eb79daf [jOOQ/jOOQ#681] Added InformationSchema support for domains 2020-06-03 11:46:59 +02:00
Lukas Eder
a976a5996e [jOOQ/jOOQ#10229] Convert should be able to convert types into any type with a single argument constructor 2020-05-29 16:54:51 +02:00
Lukas Eder
596ef0cb33 [jOOQ/jOOQ#10235] Fix generation of arrays and Any type 2020-05-29 16:42:51 +02:00
Lukas Eder
3966646d36 [jOOQ/jOOQ#681] Fixed Support annotations on ALTER DOMAIN 2020-05-29 16:18:03 +02:00
Lukas Eder
8f6657813e [jOOQ/jOOQ#10235] jOOQ-kotlin-example should use new KotlinGenerator
This also fixes array generation in Kotlin
2020-05-29 15:56:04 +02:00
Lukas Eder
6b75127bba [jOOQ/jOOQ#681] DOMAIN support
This change includes:

- Support CREATE / ALTER / DROP DOMAIN in Firebird
- Fix a regression in CREATE SEQUENCE
2020-05-29 15:39:47 +02:00
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