Persisting Collections with Squeryl

orm, scala, squeryl

Solution

You maybe should consider writing your own type. Package customtypes can be a goood startpoint.

Problem

How can I persist a collections field (e.g. `List[String]` or `Set[Int]`) with Squeryl? What's the best way to encode it such that Squeryl won't create an association table?

Original source