Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate wrong number of column. should be 1

 
Clauber Ferreira
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people i need your help

i have an error at the relationship between two tables


Table Maquina
------------------
cod_status (FK)
cod_situacao (FK)

table Situacao
-----------------
cod_status (PK)
cod_situacao (Pk)





it's not working, see the log error

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic