Try to get association key for OneToOne relationship from the inverse mapping.
add generated files to .gitignore