jaiew / play-jooq

A JOOQ Play 2.1 module to enable JOOQ code generation
24 stars 7 forks source link

How do I generate JOOQ models? #4

Open trollr opened 11 years ago

trollr commented 11 years ago

Hi,

i added your play-jooq plugin into my application and I use it the same way you did inside your sample application. However i get a compilation error cause the auto-generated models didn't exist when I try to build or run my application. Is it neccessary that I run my play application to auto-generate the models before I create classes that import them (e.g Helper)?

Did I miss a Step? A Dummy Guide would be really great!

jaiew commented 10 years ago

Hi @trollr,

I'm working on putting a guide together and will update you once it's available. Lukas has been kind enough that he's going to host it from the main jooq site.

In the meantime you will have to let the jooq plugin auto generate your classes first before you can use them otherwise you'll get the compilation issues you mentioned.