Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

jOOQ open source version – can no longer generate source from a schema?

Am I reading the pricing page correctly?

I thought when I looked at that "footnote 8", it was telling me that the open source version no longer will generate code from a DB schema.

But the doco code generation section says the open source version supports it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

If I did read the pricing page wrong, what is "Java (to generate jOOQ code) [8]" trying to communicate?

>Solution :

That page lists the supported SQLDialect values. The thing you’re referring to specifically is SQLDialect.JAVA, which can be used to translate SQL to "Java code" (i.e. jOOQ code). You can try it for free here: https://www.jooq.org/translate

E.g. with this input:

SELECT first_name, last_name
FROM actor
ORDER BY id DESC

And this meta data:

CREATE TABLE actor (
  id INT PRIMARY KEY,
  first_name TEXT,
  last_name TEXT
)

You get this output:

select(
  ACTOR.FIRST_NAME,
  ACTOR.LAST_NAME
)
.from(ACTOR)
.orderBy(ACTOR.ID.desc())

Nothing was removed from the jOOQ Open Source Edition. Something was added to the other editions.

See the original jOOQ 3.15 feature request here:

And known issues here:

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading