This question already has an answer here:
I'm going to be travelling from the USA to Romania via Frankfurt. I require a visa for Romania, and would need a visa for Germany also, if I were to go through immigration there.
I noticed Romania allows entry for holders of multiple entry Schengen visas. So I was wondering if I needed to go through immigration at Frankfurt (since Romania is EU but non-Schengen), in which case I could just apply for a multiple entry Schengen visa, or if I would be airside through transit, in which case I would apply for a Romanian visa.