Buying a house can be a net loss over the years, if you're not located in a major city. Especially in East Germany, house prices are declining. See this graphic [1]. Everything yellow basically doesn't yield any returns. Housing prices in orange and red areas decline over the years.
But even in green areas, there are so many knobs you can turn to make buying or renting more feasible than the other. It boils down to lifestyle decision: Do you want to live in your own house or not? If you prefer to rent: Are you willing to save money by other means? Because buying a house works for many people simply because they're forced to "save" a certain percentage of their income every month.
I prefer renting, because of the flexibility. I put quite a bit of money in stocks instead.
[1]: http://cdn3.spiegel.de/images/image-726182-galleryV9-uttw-72...