#9849 Replace to DBAPI functions #step3
#9849 replace to DBAPO func #step4