Schema definition in Squeryl using Scala Case Classes
While reading http://squeryl.org/schema-definition.html page of Squeryl project, I noticed case classes are rarely use in the schema definit开发者_StackOverflow中文版ions. I was wondering if using case classes to model schema definitions is not recommended ? I would use case classes for pattern matching ...
Case classes are fine. The documentation probably doesn't use them often simply because entities aren't required to be case classes. By the way, in the future you are more likely to get a quick response to your Squeryl related questions from the Google Group.
精彩评论