1

For a view created using psql, I want to generate source code. The below config conveyed in jooq didn’t work.

sources = true
sourcesOnViews = true

Can you please let me know your thoughts.

2
  • What's your expectation here? That you're getting the Java/jOOQ representation for your SQL source code? Commented Jun 17, 2021 at 21:31
  • Are you looking for something like this stackoverflow.com/q/14634322 Commented Jun 25, 2021 at 8:57

1 Answer 1

0

The configuration you've chosen will make sure the source code is registered in your generated code in String form. You probably expected it to produce the view code in jOOQ DSL form. You can start doing that manually starting from jOOQ 3.15 using the commercial distributions and the new SQLDialect.JAVA, or for free on the website: https://www.jooq.org/translate

A future version might offer to generate such code also as code generator output.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.