• Post Reply Bookmark Topic Watch Topic
  • New Topic

broken column mapping  RSS feed

 
Veeresh Hosur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using hibernate to access the two tables. In one my of hbm.xml file i have defined one-to-one mapping to access the other table. During this time i am getting Org.Hibernate.MappingException:brokenColumn for: Table1.id of com.myapp.Tabel1. What must be the reason for this?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us your mapping? And can you show us the exception message?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!