Update the Character class so it doesn't crash when using SQLite - Made it more Scala-y