How can I connect to a MySQL database using Scala? -


I am working on a small project where I want to parse some data, and then put it into the database . I am not working with lift, and I can not find a standard way to do this.

I'm writing the questions myself, but I'm not sure how to connect with DB really.

You can use - standard means of talking to Java from the database you will need a proper driver . Provides some useful classes around JDBC and will be useful.

If you want a high level API that takes out some boilerplate, check out

If you want an ORM (object-relational mapping), then one Good choice.

I have used all three in Scala with success.


Comments