Hello Spring Boot Team,
I migrated today from JOOQ 3.13.1 (org.jooq
: jooq
, jooq-meta
and jooq-codegen
) to spring-boot-starter-jooq
from the spring-boot-starter-parent
2.2.5.RELEASE, This caused the problem that I had to adjust my configuration because the codegen-plugin suddenly generated java.sql.*
types instead of java.time.*
types.
Is this an opinionated default?
This helped: https://www.jooq.org/doc/3.13/manual/code-generation/codegen-advanced/codegen-config-generate/codegen-generate-java-time-types/
Comment From: snicoll
@tamaro-skaljic I am not sure what you're reporting here. What do you mean by "adjust my configuration"?
Comment From: tamaro-skaljic
@snicoll Either I would have had to rewrite my code to use java.sql. instead of java.time., or I would have had to change something in my pom.xml.
<generate>
<javaTimeTypes>true</javaTimeTypes>
</generate>
Comment From: snicoll
@tamaro-skaljic Maven plugin configuration is unrelated to the concept of starter so I am afraid that doesn't really help me understand what is there to improve.
The way I understood your report, you mentioned that you were using explicit dependencies and then switch to spring-boot-starter-jooq
. That doesn't have anything to do with the maven configuration. What am I missing?
Comment From: tamaro-skaljic
@snicoll Well, the dependencies are written to the pom.xml as well as the configuration of the JOOQ code-gen Maven plugin. However, I just replaced the explicit dependencies with the Spring Boot JOOQ Starter (which consists of several dependencies, including JOOQ's) and the next build failed because the code generator did something different, even though the versions should work the same, didn't they?
Comment From: snicoll
Rather than guessing we’ll need a small sample that reproduces the problem you’ve described. No code in text but a zip or a link to a github repo.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.