Go to content

ScalaIO - Renato Cavalcanti - Implementing the Active Slick

In a Scala/Slick we deal with data and persistence in a totally different way if compared with the OOP/ORM world. Our model are immutable structures (case classes and tuples), nullable columns are mapped to Options, relations are expressed by id references instead of object associations. In this talk we'll show how to implement an type-safe Active Record Pattern using Slick and how to promote your database rows to first-class citizens and embrace a totally different way of modeling.

October 23, 2014