File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate wrong number of column. should be 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate wrong number of column. should be 1" Watch "Hibernate wrong number of column. should be 1" New topic
Author

Hibernate wrong number of column. should be 1

Clauber Ferreira
Greenhorn

Joined: Jun 29, 2009
Posts: 1
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate wrong number of column. should be 1