jooq/jOOQ-examples/jOOQ-spring-guice-example
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
..
src [jOOQ/jOOQ#11196] Drop support for Java 6 and 7 2021-01-08 12:35:47 +01:00
.gitignore ... when will it ever stop? Whitespace changes... 2014-06-06 16:02:15 +02:00
LICENSE.txt [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:14:26 +01:00
pom.xml Release 3.15.0-SNAPSHOT 2020-10-20 10:20:20 +02:00
README.md Fixed readme 2015-05-26 16:33:36 +02:00

Thanks for downloading jOOQ. Please visit http://www.jooq.org for more information.

This example was inspired by Marcin's nice blog post: http://blog.uws.ie/2013/04/using-jooq-with-spring-transactions/

And by this jOOQ User Group thread here: https://groups.google.com/forum/#!topic/jooq-user/L9lqjxXxv5s

To install and run this example, simply check it out and run the following Maven command

$ pwd
/path/to/checkout/dir
$ cd jOOQ-examples/jOOQ-spring-guice-example
...
$ mvn clean install