The document discusses various topics related to persistence in Scala, including:
- Setting focus on the persistence layer and introducing some of the many alternatives.
- Thinking carefully about the choices made regarding persistence.
- How Scala extends and improves upon concepts from Java, such as null safety with Option types, extension methods, and powerful collections.
av og til er data bare data uten oppførsel\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
enum Genre\nDuration - int-wrapper\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Genre - enum mappes automatisk :)\ntabeller defineres som verdier/objekter/singletons i schema\nkunne brukt case-klasser\nKeyedEntity[Int] - bare convenience, ikke et krav, men om man bruker genererte nøkler så får man ekstra\n