Files
spring-data-examples/jdbc/jooq
Jens Schauder d57068b410 #395 - Correcting handling of immutable properties.
If properties are final they need to have a matching argument in the persistence constructor or a matching "Wither".
Otherwise trying to set them results in an exception.

Id Properties additionally need a Wither if a generated Id from the database is supposed to get set.
2018-08-22 10:07:20 +02:00
..
2018-08-02 16:44:51 +02:00

== Spring Data JDBC with jOOQ

The `JooqMethods` class demonstrates how to access a database with jOOQ in combination with Spring Data JDBC.
The domain model is based on the basic JDBC example for comparison.
Another interesting aspect of this code could be the jOOQ configuration in the `pom.xml` file.

To execute the tests, execute:
[indent=0]
----
	$ mvn test
----

The code generator is automatically run when executing the tests.
If you want to rerun the code generator manually, just execute the following command:
[indent=0]
----
	$ mvn clean generate-sources
----