Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

broken column mapping

 
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