It's admirable and fun to think about, for sure, but how much use does that feature actually get?
It's admirable and fun to think about, for sure, but how much use does that feature actually get?
(Lukas from jOOQ here)
Surprisingly, that feature gets quite a bit of use. There are two use-cases (among many others) why our customers choose jOOQ:
- They're using a test database (e.g. H2) and a production database (e.g. Oracle), and things still work very nicely, while staying close to SQL
- They're using a client database (e.g. HSQLDB) and a server database (e.g. SQL Server), and can easily replicate without needing to remember subtle syntax differences all the time.
- They're selling complex products that run on as many databases as DB2, MySQL, Oracle, SQL Server, Sybase and they want to use SQL, because their queries have an average of 10 joins each.
ORMs just add a thick layer of fluff over an otherwise (mostly) portable language, where I'm concerned. I rather keep it simple between DBs and apps. If there is gross SQL in the app, make a view or function in the database. It isn't rocket surgery but you do need experienced staff to get it right.