In Europe, who owns the copyright of a photograph? The subject or the photographer?

If a company writes down my personal information do they now own it?