3 ms·
Using Mongo certainly didn't help, we're in the same situation ourselves and having various regrets over different aspects of it... What do you use to interfac
by michel-slm 11y ago
Using Mongo certainly didn't help, we're in the same situation ourselves and having various regrets over different aspects of it...
What do you use to interface with SQL on the Scala side? Squeryl?
- daxfohl 11y agoJDBC. I tried a few libraries and found they all provide either too much or too little. It's not so hard to write your own wrapper around it to make JDBC more friendly. Plus then you get to use features specific to your DB rather than just the lowest common denominator. Another thing that helped was to use underscore_naming for any case-class in Scala that maps directly to a query, so it's easier to identify them.
- daxfohl 11y agoJust out of curiosity, have you run into the "how did (our / users') (password / private key) get into the ABC data record that gets returned on XYZ API call?" regret (even though it's not displayed by the GUI, still it's transmitted)? I'm thinking it's a total potential for exploit on web apps backed by mongodb and any dynamic language.