Persistent domain in Scala or Java...

#1

Hi Folks,

I am starting a new project which will be primarily written in Scala.  I need to choose a persistence mechanism for the domain model.  I have the option to write the domain in Java if that provides access to richer transparent persistence support.

My preference would be JPA.  Are there strong JPA-like libraries for Scala, or should I be considering Scala-specific persistence or using Java for the domain to take advantage of JPA / ObjectDB etc.

All input greatly appreciated,

Kind regards, Robin.

#2

You may be able to use ObjectDB with Scala, at least with some limitations.

See also a relevant forum post: Using Scala collections with ObjectDB.

ObjectDB Support

Reply