hiroxpepe/examproject — comment on commit 842023535e4e996a7923a614baaefac0eccf9d2d
File: exam-data-jpa/src/main/scala/com/hiroxpepe/entity/Person.scala line 26
By akihiro4chawon:

If you declare `val serialVersionUID: Long`, you'll get `serialVersionUID` as a variable instance.
However, `serialVersionUID` must be static as you already know.

In scala, you can use `scala.SerivalVersionUID` annotation to specify it.
http://www.scala-lang.org/api/current/scala/SerialVersionUID.html

Note that, in case you want to declare static fields other than serivalVersionUID,
you can create a companion object where you can declare static fields of the companion class.