fixed: inconsistencies between entity id type and dao id typing
(int/Integer)