Commit Graph

824 Commits

Author SHA1 Message Date
Lukas Eder
9fe0bd8769 [jOOQ/jOOQ#8028] Added issue link to code 2020-06-09 15:56:23 +02:00
Lukas Eder
ec914b6e14 [jOOQ/jOOQ#10227] Avoid public visibility if possible 2020-06-04 11:45:03 +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
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
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
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
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
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
7c8a8f5d36 [jOOQ/jOOQ#3285] Add support for HSQLDB table-valued functions 2020-05-15 11:18:13 +02:00
Lukas Eder
123d979ecd [jOOQ/jOOQ#10196] GeneratorWriter should auto-indent generated code 2020-05-14 14:01:42 +02:00
Lukas Eder
916fac56b6 [jOOQ/jOOQ#10195] GenerationTool should execute SHUTDOWN on HSQLDB connections 2020-05-14 11:03:42 +02:00
Lukas Eder
66346d35f1 [jOOQ/jOOQ#6248] WIP 2020-05-13 14:35:54 +02:00
Lukas Eder
37ec8d3a34 [jOOQ/jOOQ#6248] WIP 2020-05-13 10:27:35 +02:00
Lukas Eder
6b0ea7fe4e [jOOQ/jOOQ#10090] Add a <generatedAnnotationDate/> flag to allow for turning off generating @​Generated.date() 2020-04-20 11:42:56 +02:00
Lukas Eder
c2df94da47 [jOOQ/jOOQ#10013] Add <constructorPropertiesAnnotation/> to generate @ConstructorProperties on pojos and records 2020-03-31 11:27:08 +02:00
Lukas Eder
5380ed5ec1 [jOOQ/jOOQ#10007] "constant string too long" in generated code when view
source code exceeds 64KB
2020-03-30 14:37:11 +02:00
Lukas Eder
f3ff999494 Whitespace change 2020-03-18 13:33:31 +01:00
Lukas Eder
d1e4adcfb4 [jOOQ/jOOQ#6456] Remove extra newline in POJOs 2020-03-13 13:10:19 +01:00
Lukas Eder
75177c06bf [jOOQ/jOOQ#9959] Code generator should produce TIMESTAMP(precision) calls instead of TIMESTAMP.precision(precision) 2020-03-13 12:18:47 +01:00
Lukas Eder
c0490c5f4b [jOOQ/jOOQ#9903] Changing getJavaClassName() for Mode.ENUM in DefaultGeneratorStrategy generates invalid code 2020-03-02 11:18:49 +01:00
Lukas Eder
e87b2eaa21 [jOOQ/jOOQ#6456] Generate comments also on POJOs 2020-02-28 16:11:29 +01:00
Knut Wannheden
c56c8c28d1 [jOOQ/jOOQ#6456] POJO setter/getter Javadoc generation 2020-02-28 15:03:54 +01:00
Lukas Eder
4a63527e41 [jOOQ/jOOQ#9849] Compilation error in generated code for check constraints containing bad escape sequences 2020-02-21 10:39:39 +01:00
Lukas Eder
b5306ca559 Cosmetic fixes 2020-02-14 10:44:55 +01:00
Lukas Eder
330dac76de Release 3.14.0-SNAPSHOT 2020-02-12 11:29:19 +01:00
Lukas Eder
32c536328c [jOOQ/jOOQ#9819] Add support for INFORMATION_SCHEMA.VIEWS in jooq-meta.xsd 2020-02-11 16:06:16 +01:00
Lukas Eder
20f3fce616 [jOOQ/jOOQ#9805] Generate view source code with generated views 2020-02-11 15:17:24 +01:00
Lukas Eder
b0aab86afa [jOOQ/jOOQ#9801] Make TableOptions available through InformationSchema 2020-02-10 12:26:31 +01:00
Lukas Eder
92de670f5d [jOOQ/jOOQ#9807] Apply Configuration.onError flag also to SQL errors from AbstractDatabase 2020-02-07 10:33:51 +01:00
Lukas Eder
800c2a44d7 [jOOQ/jOOQ#9799] Make TableOptions available through code generation 2020-02-06 15:36:00 +01:00
Lukas Eder
70fec238a0 [jOOQ/jOOQ#9796] Generated annotation should produce HTTPS link to jOOQ website 2020-02-06 11:04:31 +01:00
Lukas Eder
3af4c5f6ec [jOOQ/jOOQ#9758] Generated constraint names should not be table prefixed
in meta data (PostgreSQL fix)
2020-01-24 14:14:54 +01:00
Lukas Eder
5691ad7cb2 [jOOQ/jOOQ#9758] Generated constraint names should not be table prefixed in meta data 2020-01-24 14:02:48 +01:00
Knut Wannheden
8e613d14a9 [jOOQ/jOOQ#8953] Generate Internal#createQueue() call into Queues.java
The code generator will now generate a call to the new
`Internal#createQueue()` factory method instead of directly calling the
`QueueImpl` constructor.
2020-01-22 17:34:15 +01:00
Knut Wannheden
9e403efc7c [jOOQ/jOOQ#8953] No generic type parameter in generated createSequence()
In the generated `Sequences.java` files the generic type parameter in
the `Internal#createSequence()` calls can be omitted.
2020-01-22 17:25:29 +01:00
Lukas Eder
c2eb2e0dc7 [jOOQ/jOOQ#9734] Add <nonnullAnnotation/> and <nullableAnnotation/> 2020-01-15 16:13:42 +01:00
Lukas Eder
2323b2a3e1 [jOOQ/jOOQ#9733] Add <generatedNonnullAnnotationType/> and <generatedNullableAnnotationType/> 2020-01-15 14:26:27 +01:00
Lukas Eder
54e8a53628 [jOOQ/jOOQ#9732] Change default value of <generatedAnnotation/> to
"false"
2020-01-15 13:57:20 +01:00
Lukas Eder
45097fd05d [jOOQ/jOOQ#8677] Log warning when file based databases have invalid <jdbc/> configurations 2020-01-14 17:23:57 +01:00
Lukas Eder
cff813a73e [jOOQ/jOOQ#9727] Add configuration/basedir to resolve relative paths in
code generator
2020-01-14 15:41:37 +01:00