To make the crust: With an electric mixer, beat cream cheese and butter until well combined. Add flour and mix until dough forms a ball. Pat into a 9-inch pie pan. Chill.
Preheat the oven to 350 degrees F.
To make the filling: With an electric mixer, cream butter and sugar. Add egg yolks. Slowly add water, vanilla, and vinegar with the mixer on medium speed. Add flour and cornmeal. Pour into prepared crust and bake for 45 minutes or until set. Chill overnight.