A downhole hydraulic pump apparatus for a well assembly including a rigid, elongated production tubing extending into a formation producing production fluid. The hydraulic pump apparatus includes an elongated tube and a bottom-hole assembly mounted to a lower end of the elongated tube.