Preheat the oven to 350 and line an 8 x 8 baking dish with parchment or foil, and set aside.
In a medium bowl, mix together the flour, baking soda, salt, oats, and sugar. Mix in the butter to form a crumbly dough. Press two thirds of the dough into the prepared baking dish. Spread the raspberry jam evenly over the top, then sprinkle the remaining dough on top.
Bake 35-40 minutes, or until lightly golden on top. Remove and let cool before slicing and serving.