jooq/jOOQ-examples/jOOQ-spark-chart-example
Lukas Eder 854375dbcf [jOOQ/jOOQ#7789] Revert change
The jOOQ 3.12 Open Source Edition will continue to support Java 8. The only things we gain from the JDK 11 dependency is:

- Updated logic for reflection when mapping into proxied default methods (that stuff has changed completely in JDK 9). This is a regression, which we can live with. The workaround is to write a custom
- Explicit dependency on the JDK 9  API, for which we provide a Java 8 compatible alternative via reactive streams anyway.
- JDBC 4.3 compatibility (mostly sharding). We currently don't use that yet.

We're not even using  internally, outside of a few integration tests. So, we'll postpone the JDK 11 *requirement* (while supporting it nonetheless) to a later release, e.g. 3.13. We'll observe market share shifts. Currently Java 11's market share is a bit of a disappointment, so making it a requirement might be premature.
2019-07-26 15:18:18 +02:00
..
src/main Release 3.11.0 2018-06-07 16:45:37 +02:00
.gitignore
LICENSE.txt [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:14:26 +01:00
pom.xml [jOOQ/jOOQ#7789] Revert change 2019-07-26 15:18:18 +02:00
README.md Update README.md 2016-06-30 18:08:12 +02:00

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

Description

This example uses

  1. Flyway for database installation
  2. Spark Java as a web server
  3. chart.js as an HTML5 charting library
  4. jOOQ for reporting

The whole thing then looks like this:

animation

Installation

To install and run this example, simply check it out and follow these steps

  1. Create a "Sakila" database on your PostgreSQL instance
  2. Edit src/main/resources/config.properties and configure your database instance
  3. Run the following commands
$ pwd
/path/to/checkout/dir
$ cd jOOQ-examples/jOOQ-spark-chart-example
...
$ mvn clean install
...