Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue in hbm files  RSS feed

prasad kakani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Techies,

I am facing some problem with hbm files. There are 3 tables and respective hbm files.

screentable - columns - screenid(PK),screencode
columntable - columns - columnid(PK),screenid,columncode
columnlangtable -columns - columnid(PK,FK),columnlabel.

From these tables i need to get the columnlabel and columncode from these table after join operation. These are class files and hbm files i have written.
private int screenId,screencode;
private Columntable columntable ;

------------------------- --
private int columnid,screenid,columncode;
//getter and setter methods.
private int columnid,private string columnlabel;

When i try to run this application i am getting org.hibernate.PropertyNotFoundException: Could not find a getter for columnid in class com.exm.Screentable.It is looking into the Screentable ,but it should actually look into the ColumnLangtable where as it already defined..

Can you suggest me what am i doing wrong over here?


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!