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