views:

17

answers:

0

Hi all

I am currently using netbeans for a project. I have created my db using MySQL Workbench.

I have two relationships that are one to one. However once I create the POJOs using netbeans hibernate mapping files tools they are being created as one to many. I have tried reversing the db within workbench and the relationships are shown as one to ones.

Has anyone had a similar problem?

Cheers in advanced