On 5 April 2013 17:37, Lukas Eder <[email protected]> wrote: > But this doesn't mean that it's necessarily a bad idea for the jOOQ > DSL to provide this "with(configuration)" method in the static > factory... > > >
OK, imagine you cannot just connect to database and write things like: SELECT * FROM BOOK WHERE PUBLISHED_IN = 2011 ORDER BY TITLE but instead you have each and every time describe the way to the database: CONNECT TO ORACLE@URL..... AS USER X WITH PASSWORD Y SELECT * FROM BOOK WHERE PUBLISHED_IN = 2011 ORDER BY TITLE and then again: CONNECT TO ORACLE@URL..... AS USER X WITH PASSWORD Y SELECT * FROM BOOK WHERE PUBLISHED_IN = 2011 ORDER BY TITLE this is what it looks like when each time you starts with with(myDatabaseConfigurationObject) .select(....) .from(....) Regards, Witold Szczerba -- 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/groups/opt_out.
