Hi,

First off, thank you for the response. I should have also mentioned
that I am pretty new to Java, so I am unsure on how to do certain Java
related things.

>
> What would be the use-case for such interfaces (especially for the
> tables)? I can add a feature-request when I understand the goal...

We are integrating jOOQ generated classes into an existing codebase,
and I have a need to pass around record and/or table objects. In order
to provide mock implementations we would like to pass around
references to interfaces (like IPost) instead of references to class
objects (like Post).

> Note that you can already let jOOQ generate "implements" clauses in
> generated classes, as documented 
> here:http://www.jooq.org/manual/META/AdvancedConfiguration/
>
> Using a custom generator strategy, you can define
> getJavaClassImplements() for every generated artefact.
>

This is one of those java things I don't quite understand how to do. I
can create the .java file with the above mentioned code, but then I am
a little lost on what to do with it. I'm guessing I need to somehow
create a jar file, and include that on the classpath when I execute
jOOQ. Is that correct?

Also, it doesn't appear like the getJavaClassImplements is documented
anywhere. Any help, or examples of what should be implemented would be
appreciated.

Thanks again,

Greg

Reply via email to