• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use hibernate annotations with abstract methods

 
Debasish Mahato
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a abstract pojo that has a abstract getter . hibernate annotation for mapping the field to table column has been provided in the child class that extends this abstract class but hibernate gives error while compiling saying org.hibernate.MappingException: Duplicate property mapping .
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!