• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unknown state or association field

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put the following code in the Company entity bean.


The OC4J display: "oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Unknown state or association field [comp_no] of class [com.uts.entity.Company]" when I run the program.

Does anyone know how to solve it?

Thanks,
Jack
 
arbit tyagi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why the hell cant I see other replies ... it sucks ..
 
liviu munteanu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just check if you have a field named comp_no on class com.uts.entity.Company.

Could be a typo.

Liviu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic