Digest for jooq-user@googlegroups.com - 2 updates in 1 topic

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Digest for jooq-user@googlegroups.com - 2 updates in 1 topic

http://groups.google.com/group/jooq-user/topics mailing list
[hidden email]: Oct 30 05:54PM -0700

Thanks for taking the time to write this up.
 
I did do the globalTableReferences thing. It at least eliminates the
annoyance I was feeling whenever I wrote some JOOQ code - I *knew* I was
using thing inconsistently but I didn't want to setup a static analysis
tool. I didn't really care which one was used (though it was confusing and
annoying at first when figuring out that it didn't matter).
 
When I tried to do the globalObjectReferences instead, I ran into a problem
with Sequences - the global object ref is the *only* specific code
reference JOOQ generates.
 
One thing I did do in my own project structure was to factor out the JOOQ
generated code to its own Gradle sub-project that my server depends on.
This helps me quickly filter out all the JOOQ internal references when I'm
scanning the results in my IDE.
 
I have "pojos=false", so now I do searches by looking for:
- Table.EXAMPLE
- Example() ctor
- ExampleRecord
 
This works well enough for me.
Thanks for your help.
 
 
Lukas Eder <[hidden email]>: Oct 31 10:01AM +0100


> When I tried to do the globalObjectReferences instead, I ran into a
> problem with Sequences - the global object ref is the *only* specific code
> reference JOOQ generates.
 
Yes, that's the sledge hammer. There's also <globalTableReferences/>...
 
 
> generated code to its own Gradle sub-project that my server depends on.
> This helps me quickly filter out all the JOOQ internal references when I'm
> scanning the results in my IDE.
 
That's certainly a good idea. Also, special package namespaces can help to
do that, visually. Depending on how the IDE works, of course.
 
Thanks,
Lukas
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].