Have to live with it. But in Scala, this fact should be used properly. Even if there's a var
, hide it, and have reasonable methods ("getter/setter") for accessing. Especially the setter, so all updates go to db.
Well, all this sounds like Java 1996... I know, I know.