Hello.

I've been using JOOQ with Spring for a few months now and everything was 
great until I upgraded the project to the latest Spring Boot version. 
(2.3.5 RELEASE to 2.4.0)

With the latest Spring release comes the latest JOOQ release (3.13.5 to 
3.14.4)

I am facing the problem when I try to store a record. (Exception at the end 
of the post)
Important thing to note is that this only happens when I am *not* using 
autoconfiguration.
With JooqAutoConfiguration class enabled, everything works as expected.
Another important factor is the database. I am using MariaDB, tested with 
10.1.38 and 10.5.x (docker latest).

What I had tried:
1. Downgraded JOOQ version to 3.13.x - worked as expected
2. Downgraded JOOQ version to 3.14.0 - same error
3. Used different DB (postgres) - worked as expected

So it seems to me that there has been some change in 3.14.x that broke the 
simplest (manual) DSL configuration for MariaDB (This configuration works 
with older version and with postgres).  

I have made a simple project which showcases the problem. 
GitHub <https://github.com/shimunmatic/jooq-test>

If you want to test the project:
1. jdbc url (pom and application.yml) has to be changed to point to your db 
(or you can create test db with docker, this way URL stays the same:
docker run --name mariadb -e MYSQL_DATABASE=db_test -e 
MYSQL_ROOT_PASSWORD=password -d -p 3306:3306 mariadb:latest)
2. change java version to the one you have, 15 was used. (tested on JDK 11 
too)

Does anybody know if I am missing something in the DSL configuration or is 
this a bug?

Thanks,
Shimun


-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/4331e492-4137-4875-8110-6d1c2ff56a48n%40googlegroups.com.

Reply via email to