Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hibernate and Scala [closed]

I have been toying with Scala and I was wondering if anyone had had any experience with using hibernate and mysql as a persistent store for scala objects? Does it work out of the box or is there a lot to do?

like image 890
UberAlex Avatar asked Sep 29 '09 20:09

UberAlex


1 Answers

Most of the time, Scala + Hibernate works quite well, with minor bumps which could be overcome easily. For exmaple, when dealing with collections, Hibernate requires the use of java.util interfaces. But you could import scala.collection.jcl.Conversions._ if you want to tap on Scala's more powerful library.

You may want to check out Frank Sommers' post for more information.

like image 98
shaolang Avatar answered Oct 01 '22 23:10

shaolang