*
The moose likes Object Relational Mapping and the fly likes how to use hibernate annotations  with abstract methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how to use hibernate annotations  with abstract methods" Watch "how to use hibernate annotations  with abstract methods" New topic
Author

how to use hibernate annotations with abstract methods

Debasish Mahato
Greenhorn

Joined: Feb 09, 2010
Posts: 4
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use hibernate annotations with abstract methods