Hi there,

I started with JOOQ 2-3 days ago, by first watching a video from GeeCON '14 
by Lukas, where at the end he explained that JOOQ is meant for systems that 
are schema first where model is already defined. I totally liked the 
possibility that JOOQ gives you when it comes to querying your data. 

I soon realized that there is some work related to generating the stubs 
from annotated classes, tho it is meant to be done only once when 
application should start to use JOOQ. I didn't find a way of regenerating 
the classes again later when the model has changed, since the generate goes 
after the compilation phase and maven couldn't let me regenerate everything 
before I cleanup "missing" stubs. In QueryDSL, they embedded the generating 
in process phase I believe and they way of doing the generation is probably 
overcoming this problem because of that, since it is a part of process 
phase, where you dont have problem of running the compilation phase without 
these stubs.

My questions would be, is there a support like this already created? Did 
the approach change after '14? 

I am asking this since I would like to embed JOOQ in a code generator that 
I am developing with my friends, which gives you opportunity to generate 
code out of specification you create (similar tool to JHipster). Since the 
tool that we are building gives you opportunity to change the model all the 
time, if there isnt any support, I would generate stubs with tool, that 
would follow the model as well. 

Thanks,

Branko.


-- 
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