Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate oneToOne points to same class

amnon amnn
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 ...
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!