Fix @Jorm primaryKey default value
Don't use deprecated methods