Hibernate pojo file issues

Posted by Truezplaya on Stack Overflow See other posts from Stack Overflow or by Truezplaya
Published on 2010-04-25T11:49:27Z Indexed on 2010/04/25 11:53 UTC
Read the original article Hit count: 292

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about mysql