It seems like referencedColumnName element can be missing in @OneToOne @JoinColumn too. What confusing me is when I point out the referencedColumnName I encounter an error because the referenced column is generated with a wrong type.
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop