Hello Lukas,

On Sun, Oct 16, 2011 at 5:28 PM, Lukas Eder <[email protected]> wrote:

>
> If I understand you correctly, you'd like to use spring DBRE for
> database reverse-engineering (schema data -> XML), and then jOOQ to
> generate source code (XML -> Java). Is that right?


The idea was to separate introspection phase and code generation phase in
jooq-maven-plugin.
It may be useful, if you do not want keep generated code on source control
(like in jooq-meta)
and do not want access database connection during build process.

In introspection phase (for example, using development profile)
jooq-maven-plugin generates xml file, that contains database metadata.
You can keep in this file on source control  (for example, in
src/main/jooq) and manually change it.
Code generation phase uses it as model and generates code (into
target/generated-sources/jooq).

Best regards,
Sergey

Reply via email to