Same state for db and pojo classes