• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Doesnot generate Annotation

 
sardar waqas ahmed
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am using hibernate 3 and by using hibernate code generation tolls i generate hbm file and entity classes. the problem is that no annotation on entity class is generated by hibernate.can anyone tell me why annotation is skipped by hibernate i am usning MYSql eclipse hellios

thanks in advance
 
Haris Tasawar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what kind of annotations...are you talking about join annotations??? as in primary and foreign key annotations
 
Haris Tasawar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never had that kind of problem before, check your database and then again try to build the hibernate hbm and class files using hibernate tools
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!