Hello, 

I'm not sure if this has been already asked, but I couldn't find it ( maybe 
my search terms are different ). 

I have the following setup, one *commons* project and several 
sub-projects.  

Each sub-project has an own database and schema. Some entities ( like the 
User ) are defined in the commons project.

I use jOOQ for all the sub-projects. Each Subproject has its own Records, 
Keys, Tables-class generated. 
The problem I face is, that all sub-projects also generated all the 
commonly defined tables ( like UserRecord ). 

Is it possible to share the Records classes with jOOQ such that I generated 
them in *commons* once and reuse them in each sub-project. 

That way I can also write type-safe queries in the *commons* code ( as a 
workaround I write queries like this: 
dsl.selectFrom(DSL.table("user")).fetchOne(); 
) 
 
Thank you, 
Kiru

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to