Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use hibernate annotations with abstract methods  RSS feed

 
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 .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!