Preheat oven to 175°C.
In a bowl mix together flour, corn flour, salt, baking powder and baking soda.
In another bowl, cream together butter and vanilla.
Add condensed milk and beat until incorporated.
In the same tin, add milk and vinegar and mix until it curdles.
Now add the milk and flour alternately to the butter mixture and mix well to form a thick batter without lumps.
Grease and dust a 9" * 13" tray.
Pour the batter into the tray and level it with the back of a spoon or a spatula.
Bake in the preheated oven for 25 minutes or until a tooth pick inserted comes out clean.
Remove from oven and place the tray on a wire rack and allow it to stand for 10 minutes.
Now flip the cake onto the wire rack and allow it to cool completely.
Once cool, wrap the cake in two or three layers of cling wrap and place it in the same baking tray and place it in the freezer.
Let it freeze for 4 hours or until firm to touch.
Remove the cake from the freezer and with a long bread knife, trim off the edges and cut it into two layers.
Apply jam on one layer and place the other on top.
Wrap it again with cling wrap and freeze it again until firm.
Wile the cake is freezing get the ganache ready.