--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Folks,I am trying to find a way to run the jooq code generation in an automated fashion on a build server. I do not want the build to try and connect to a DB to get the schema. Is there a way to supply the schema to jooq code generator in a file or something?
At some point the developers need to check in the generated code, building against the schema built up by flyway, mybatis, ruby-activeRecord or whatever. The build system then gets the generated code along with the rest of the code, no?
Already today, you can implement your own jOOQ-Meta Database that supplies schemas, tables, columns, etc. to the code generator. This custom Database could read any sort of XML file, e.g. an external one by Flywaydb or Hibernate.How you generate that external file would then be entirely up to you.
--
Already today, you can implement your own jOOQ-Meta Database that supplies schemas, tables, columns, etc. to the code generator. This custom Database could read any sort of XML file, e.g. an external one by Flywaydb or Hibernate.How you generate that external file would then be entirely up to you.Lukas,I did not understand. Could you please point me to an example or section of jooq documentation please?
<generator> <database> <!-- The database dialect from jooq-meta. Available dialects are named org.util.[database].[database]Database. Known values are: [...] You can also provide your own org.jooq.util.Database implementation here, if your database is currently not supported or if you wish to read the database schema from a file, such as a Hibernate .hbm.xml file --> <name>org.jooq.util.oracle.OracleDatabase</name>
Hi Lukas,
I think, maybe it would be worth mentioning the issue in the documentation or faq or somewhere else (best practices?) on the project page. It seems to be causing a lot of confusion.
Regards,
Witold Szczerba
---
Sent from my mobile phone.
--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/kQO757qJPbE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.