refactored PDOEntityAdaptor to PDOAdaptor.