You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dialect is set as null in AbstractField.cast (link to code). Then sometimes it causes the wrong dialect to be used leading to error "Type class java.lang.Long is not supported in dialect null".
Steps to reproduce the problem
N/A
jOOQ Version
3.9.18
Database product and version
Postgresql 15.2
Java Version
17
JDBC / R2DBC driver name and version (include name if unofficial driver)
org.postgresql:postgresql:42.7.3
The text was updated successfully, but these errors were encountered:
Can you provide a minimal reproducer? We offer a template for reproducers here, though a simpler reproducer may suffice: https://github.com/jOOQ/jOOQ-mcve
The error message hints at a race condition, where jOOQ internals aren't initialised yet when you call the cast() method. This doesn't have anything to do with the dialect being null there, IMO.
Expected behavior
Dialect to be passed and used when using cast.
Actual behavior
Dialect is set as null in AbstractField.cast (link to code). Then sometimes it causes the wrong dialect to be used leading to error "Type class java.lang.Long is not supported in dialect null".
Steps to reproduce the problem
N/A
jOOQ Version
3.9.18
Database product and version
Postgresql 15.2
Java Version
17
JDBC / R2DBC driver name and version (include name if unofficial driver)
org.postgresql:postgresql:42.7.3
The text was updated successfully, but these errors were encountered: