Getting exception when extending by AbstractEntity



  • Hi All,

    I am working on junos space sdk. We have small application on junos sdk which works fine. But when we extend the entity class by  net.juniper.jmp.metadata.AbstractEntity, jboss throw an Exception as follows

    javax.persistence.PersistenceException: org.hibernate.PropertyNotFoundException: Could not find a setter for property dedupQueryStr in class vnd.ess.bookmanagement.jpa.BookEntity
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)

    Please help me…!



  • I just removed declare annotation from getter system and declare on home.



  • Nice and quite useful post. Keep up the good work!



  • Fixed the issue.
    I just removed declare annotation from getter method and declare on property.


 

46
Online

38.4k
Users

12.7k
Topics

44.5k
Posts