I'm really enjoying using JOOQ but I have a question about static queries that I use over and over again.
I'm not sure why I need to parse these every time they are executed because they never change. I was thinking that in my DAO constructor I would just create them once with #getSQL and then use ResultQuery with saved the string. Of course doing that I lose all the type bindings. I thought that I should be able to save ResultQuery objects instead and reuse them but I think (and I'm not sure why) that they are tied to the connection. Or am I missing something? Is there a way to cache the type safe queries without any database connection context? Thanks! -- 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.
