support custom primary key sql type for Entity