Change AbstractDb adapter to the more accurate AbstractEntity.