File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 .
 
wood burning stoves
 
subject: how to use hibernate annotations with abstract methods
 
Similar Threads
Inheritance / Association in Hibernate
Hibernate 2.1 mapping
Problem using Oracle stored procedure with Hibernate
Hibernate mapping:Bean class & MySQL DB View
xdoclet and hibernate