While I have you, is there any simple way to speed up the code generation phase in the maven plugin? mvn test can take a while doing the generation each time. I only have one schema, does adding:
<outputSchemaToDefault>true</outputSchemaToDefault> Save me any time? Anything else I can look at? I'm not generating beans or anything like that. On Mon, Jun 1, 2015 at 10:25 AM, Lukas Eder <[email protected]> wrote: > > > 2015-06-01 19:06 GMT+02:00 Robert DiFalco <[email protected]>: > >> Yes, exactly that is the problem. Yeah it was just like three lines of >> code to move the sqlContext.select to the constructor save it as getSQL in >> the DAO singleton ctor and then just use resultQuery instead in the actual >> code. Writing warm-up code was actually more tedious but I'll see if I can >> do it in a more logical way. These aren't benchmarked unit tests so I'm not >> using JMH. And I didn't want to have to pre-run queries for every single >> unit test in this Test class (there is a lot of coverage). It's just some >> IPC system tests where I had to check out timeouts, waits, errors, and I >> want to keep the "expect" timeout as short as possible so they will run >> fast. >> >> Thanks for the input. >> > > OK, I guess you've found the optimal solution, then :) > > Cheers, > Lukas > > -- > You received this message because you are subscribed to a topic in the > Google Groups "jOOQ User Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jooq-user/7jqbm98_Ga8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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.
