August 2018
Intermediate to advanced
380 pages
10h 2m
English
The model is represented by a single Scala file. It contains case classes that model our database. Notice that here, we are using plain Scala case classes without any other augmentations. If you are familiar with libraries for the Java-like Hibernate, you will know that there is an entire class of libraries for so-called object-relational mapping (ORM). These libraries intend to provide a seamless mapping of object-oriented concepts to the database schema. The main idea is to be able to manage the database, query it, and update it without the need to perform SQL statements explicitly. Such libraries aim to provide you with an object-oriented API that allows performing these operations while abstracting the underlying SQL engine.
Such ...