File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use hibernate annotations with abstract methods

 
Debasish Mahato
Greenhorn
Posts: 4
  • 0
  • 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 .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic