Commit Graph

408 Commits

Author SHA1 Message Date
Lukas Eder
bb8d9ff6fd Fix maven-compiler-plugin in jOOQ-testcontainers-example 2021-08-19 09:58:28 +02:00
Lukas Eder
9b766561e8 Remove scala from the jOOQ-flyway-example
The scala compilation fails, and it isn't really that important for the
example...
2021-08-19 09:54:14 +02:00
Lukas Eder
2f242b563c [jOOQ/jOOQ#12206] Better formatting 2021-07-15 16:30:03 +02:00
Lukas Eder
a253577055 [jOOQ/jOOQ#12206] Add an R2DBC example project to our examples 2021-07-15 16:25:13 +02:00
Lukas Eder
934c0bed14 Remove the jOOQ-spring-guice-example
The example no longer works on JDK 17, probably because guice is outdated. I'm not convinced this example provides too much value, so let's just remove it.
2021-07-15 15:42:52 +02:00
Lukas Eder
675fd804e7 Remove scala from the jOOQ-flyway-example
The scala compilation fails, and it isn't really that important for the example...
2021-07-15 15:39:19 +02:00
Lukas Eder
b0a8e61929 [jOOQ/jOOQ#12120] Spring Boot example should use
@SpringBootApplication(exclude = { R2dbcAutoConfiguration.class })
2021-07-07 20:13:57 +02:00
Lukas Eder
d80ccddec0 [jOOQ/jOOQ#12110] Move Sakila database to own repository 2021-07-06 09:42:43 +02:00
Lukas Eder
c67e718892 Release 3.16.0-SNAPSHOT 2021-07-05 17:30:40 +02:00
Lukas Eder
471a4ce183 Improve comment, better println 2021-06-25 10:00:31 +02:00
Lukas Eder
57e3a84f57 [jOOQ/jOOQ#6551] Add a testcontainers example 2021-06-24 16:38:48 +02:00
Lukas Eder
59adfbf947 [jOOQ/jOOQ#12023] JSONB equals, hashCode, toString() should be formatting agnostic 2021-06-22 14:21:25 +02:00
Lukas Eder
65560c96a2 Updated the jOOQ-spark-chart-example generated code 2021-06-18 09:57:57 +02:00
Lukas Eder
a0adea2e63 [jOOQ/jOOQ#7789] Support Java 8 only in Professional and Enterprise
Edition
2021-06-10 16:13:32 +02:00
Lukas Eder
20b8c2f5ef Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=572909 2021-04-16 14:29:42 +02:00
Lukas Eder
2c5080ffaf [jOOQ/jOOQ#11346] Fixed kotlin example 2021-02-02 21:44:24 +01:00
Lukas Eder
619bb92702 [jOOQ/jOOQ#11194] Fixed formatting regression 2021-01-14 17:38:38 +01:00
Lukas Eder
9f6d867417 Re-generated example code 2021-01-14 17:19:20 +01:00
Lukas Eder
918f91b028 [jOOQ/jOOQ#11196] Drop support for Java 6 and 7
Runtime library - language usage

- Removed [java-8] tags
- Removed F functional interfaces
- Removed Meta.Predicate functional interfaces
- Converted anonymous classes to lambdas
- Removed some explicit final keywords where effectively final works
- Removed Java 6 Jenkinsfile
- try-with-resources
- Merged some catch blocks
- Get rid of type witnesses where possible

Runtime library - JDK API usage

- Prefer Collection.sort() over Collections.sort()
- Use Map.computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Map::computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Comparator::comparing and Comparator::thenComparing
- Use Stream API where not performance critical
- Replaced Map::entrySet iterations by Map::forEach
- Use ResultQuery::collect
- Map::putIfAbsent

Code generation

- Generate lambda for LazySchema's LazySupplier

Unrelated

- Applied a few IntelliJ inspections
- Remove unnecessary explicit array creation
2021-01-08 12:35:47 +01:00
Lukas Eder
ba18c30c1e Re-generated code 2020-12-14 12:45:22 +01:00
Lukas Eder
66e86da28e [jOOQ/jOOQ#11066] Tests failed for jooq-spring-boot-example 2020-12-09 16:51:30 +01:00
Lukas Eder
685f2fdbe8 Re-generated example code 2020-12-09 15:53:14 +01:00
Lukas Eder
519e9ae501 [jOOQ/jOOQ#11066] Fixed jooq-jpa-example pom.xml dependencies 2020-12-09 15:53:08 +01:00
Lukas Eder
20a60f6f38 [jOOQ/jOOQ#10972] Downgrade ErrorProne again 2020-11-19 11:09:12 +01:00
Lukas Eder
8076b700f3 [jOOQ/jOOQ#10972] Upgraded error prone and other dependencies 2020-11-18 16:54:52 +01:00
Lukas Eder
49f646a33c Re-generated example code 2020-11-04 11:42:53 +01:00
Lukas Eder
7cff2cae7e Release 3.15.0-SNAPSHOT 2020-10-20 10:20:20 +02:00
Lukas Eder
c4bb6cb967 Upgrade junit to 4.13.1, use managed versions where available 2020-10-13 12:07:56 +02:00
Lukas Eder
58ee7b5ade
Merge pull request #10731 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-spark-example/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-spark-example
2020-10-13 10:31:30 +02:00
Lukas Eder
33e861d61f
Merge pull request #10732 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-academy/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-academy
2020-10-13 10:31:01 +02:00
Lukas Eder
1cb6d1bdd8
Merge pull request #10733 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-javafx-example/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-javafx-example
2020-10-13 10:28:43 +02:00
dependabot[bot]
a4ad6dae38
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-oracle-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:46:06 +00:00
dependabot[bot]
b77dae3814
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-javafx-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:45:07 +00:00
dependabot[bot]
e080252d29
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-academy
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:40:41 +00:00
dependabot[bot]
63430f67d0
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-spark-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:39:22 +00:00
Lukas Eder
640e49ac78 Re-generated example code 2020-10-05 12:17:05 +02:00
Lukas Eder
b32d747387 Removed some redundant managed version numbers from pom.xml files 2020-09-09 15:59:03 +02:00
Lukas Eder
a35a6c052f [jOOQ/jOOQ#10554] Re-generated example code 2020-09-02 14:37:09 +02:00
Lukas Eder
9d5c87d35a [jOOQ/jOOQ#10534] <enumConverter/> and <lambdaConverter/> don't work in ScalaGenerator and KotlinGenerator 2020-08-28 10:59:46 +02:00
Lukas Eder
47d5276038 [jOOQ/jOOQ#2530] Kotlin code generation fixes 2020-08-20 11:23:32 +02:00
Lukas Eder
11e9ec7eac Regenerated example code 2020-07-15 15:39:57 +02:00
Lukas Eder
8f9c389132 [jOOQ/jOOQ#8553] Add support for foreign keys referencing unique key
columns in different order than in the unique key definition

- Added new runtime meta API
- Added interpreter and org.jooq.Meta support
- Added code generation support
2020-06-30 16:28:25 +02:00
Lukas Eder
c7438a7b5e [jOOQ/jOOQ#6244] Adapted Kotlin example code 2020-06-30 13:01:04 +02:00
Lukas Eder
9707e1ebd3 [jOOQ/jOOQ#10331] Split jOOQ-meta-extensions into jOOQ-meta-extensions-hibernate and jOOQ-meta-extensions-liquibase
This fixes [jOOQ/jOOQ#10268] Unrelated Liquibase error when using jooq-meta-extensions with Spring Boot
2020-06-30 12:50:29 +02:00
Lukas Eder
824e689f19 [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API
- Generic type variable returning methods don't need to be annotated
- Annotated some SPIs
- Annotated Result, Cursor, and many other types
- Enhance AnnotationTest to validate jOOQ API without Support annotation
- Add InstrumentationTests to assert correctness of jOOQ-test-agent
- Don't expect annotations on XJC generated code
- Exclude default methods for now (Byte Buddy bug?)
- [jOOQ/jOOQ#10294] Remove methods from RenderContext and BindContext
2020-06-19 11:53:35 +02:00
Lukas Eder
2592960afe [jOOQ/jOOQ#10280] The method name is Meta.snapshot() 2020-06-16 12:23:52 +02:00
Lennart Jonsson
2ec2de548a Add empty comment after stmt in trigger. This makes it possible to run script from clp without changing stmt terminator 2020-06-08 09:45:06 +02:00
Lukas Eder
ec914b6e14 [jOOQ/jOOQ#10227] Avoid public visibility if possible 2020-06-04 11:45: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