Well, all the software I saw in my life allowed me to make it use any 
database I like as a source. I am surprised jooq doesn't offer an easy way 
to do that.

A customer may want to name the database for my product "alpha" or 
"product". He might want to put data for my product into already created 
database with some data of his and why should he change the name of his  own 
database just for my product to work.

All products for MySQL usually allow providing database name from some sort 
configuration file. 

There is also a notion of some default database in mysql, which is setup by 
"USE" SQL statement and after it you may completely omit database name from 
queries. In this case if there is no database name in SQL query, it will be 
defaulted to the one, ереф has been setup by 'USE' statement.

Reply via email to