Lukas Eder
a48c24009a
Avoid CVE-2021-23463 from outdated H2 reference in other examples
2021-12-16 16:28:44 +01:00
Lukas Eder
b702b36439
Remove outdated jOOQ-javaee-example
...
It's not part of the jOOQ-examples build, and the various dependency versions are heavily outdated. It's not even called JavaEE anymore, but JakartaEE now. If someone asks for it, we can create a new example...
2021-12-16 16:17:19 +01:00
Lukas Eder
da302ef7b8
[ jOOQ/jOOQ#9077 ] Use Configuration, not Component
2021-12-16 15:54:17 +01:00
Lukas Eder
14e5358824
[ jOOQ/jOOQ#9077 ] Add a Spring Boot example, which modifies the Settings
...
for jOOQ
2021-12-16 15:51:12 +01:00
Lukas Eder
c1dd20a2e0
[ #12733 ] Upgrade examples to log4j 2.16.0
...
Also, downgrade the log4j build to the JDK 8 one to prevent the slf4j troubles presented here: http://www.slf4j.org/faq.html#changesInVersion200
2021-12-14 08:43:56 +01:00
Lukas Eder
d07c1ad2e5
[ jOOQ/jOOQ#12733 ] Update log4j to 2.15.0 because of CVE-2021-44228
2021-12-10 16:08:32 +01:00
Lukas Eder
00e8e9a504
Update Flyway in jOOQ-flyway-example
2021-12-07 15:59:15 +01:00
Lukas Eder
9e940cccc6
[ jOOQ/jOOQ#6492 ] Added support for XML based meta data, and GenerationOption
2021-12-04 16:50:14 +01:00
Lukas Eder
6a96121bff
[ jOOQ/jOOQ#9641 ] Migrate JPA
2021-12-02 21:40:49 +01:00
Lukas Eder
ab03dda749
Re-generated example code
2021-11-22 09:27:09 +01:00
Lukas Eder
083b3063db
[ jOOQ/jOOQ#12644 ] Upgrade Spring Boot example to Spring Boot 2.6
2021-11-22 09:26:22 +01:00
Lukas Eder
c04b183435
[ jOOQ/jOOQ#12639 ] Fixed typo
2021-11-19 09:18:41 +01:00
Lukas Eder
de274b5f3f
Added missing (?) junit test dependency
2021-11-04 11:14:36 +01:00
Lukas Eder
466b0aeaee
Use CURRENT_TIMESTAMP instead of CURTIME
2021-10-25 09:25:35 +02:00
Lukas Eder
3f38845132
Use CURRENT_TIMESTAMP instead of CURTIME
...
In MariaDB, `UNIX_TIMESTAMP(CURTIME(4))` yields `NULL`, not a meaningful value. It's better to work with `TIMESTAMP` anyway, than with `TIME` types, just in case the benchmark is run at midnight
2021-10-25 09:24:10 +02:00
Lukas Eder
8bbf080a87
[ jOOQ/jOOQ#6551 ] Restore transitive junit dependency
2021-09-07 13:28:34 +02:00
Lukas Eder
0921b2331d
Added readme to testcontainers examples
2021-09-01 13:36:03 +02:00
Lukas Eder
ab919e1753
Configure testcontainers dependencies in parent pom.xml
2021-08-31 13:10:55 +02:00
Lukas Eder
f79d4fc717
[ jOOQ/jOOQ#12367 ] Removed unnecessary dependencies again
...
The Junit dependency is required in the jOOQ-testcontainers-example (it
seems), because there we're using the TC JDBC driver. This isn't the
case in this example here.
2021-08-31 11:21:12 +02:00
Lukas Eder
3b86e130cf
[ jOOQ/jOOQ#12367 ] Add another jOOQ testcontainers example that includes using Flyway
2021-08-30 18:22:31 +02:00
Lukas Eder
3a73dfe389
Avoid using var in example
2021-08-19 11:21:29 +02:00
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