• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate oneToOne points to same class

 
amnon amnn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i have :

i can't get it to work , i've tried mappedby and join column allso when i use it like above it says that referer can't be null but it's not null it holds a valid user (i inserted one into db manualy) .
and when try to use other ways it says unknow on userName on refererr_username ... what am i doing wrong ?
allso tried @onetoone with nothing else still no luck ...
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic