added getPdo method for db servcie