Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UUID not working with JOOQ and PostgreSQL

Whenever I try to set or retrieve a field of UUID type, I get the following error from JOOQ: "Not supported by dialect : Type class java.util.UUID is not supported in dialect null"

Everything else works great and as far as I can tell the dialect is properly set to Postgres. Any idea what's going on?

like image 387
jorlow Avatar asked Dec 31 '25 17:12

jorlow


1 Answers

You're using jOOQ 2.6.4. java.util.UUID types are only supported from jOOQ 3.0 onwards:

  • https://github.com/jOOQ/jOOQ/issues/1624
  • http://www.jooq.org/notes#3.0.0

But while you're at it, you might want to upgrade to the very latest version (which is 3.4.1, at the time I have provided this answer)

like image 198
Lukas Eder Avatar answered Jan 02 '26 10:01

Lukas Eder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!