Author Topic: Getting exception when extending by AbstractEntity  (Read 3798 times)

shahidpa

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Getting exception when extending by AbstractEntity
« on: October 05, 2011, 05:01:59 am »
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...!

shahidpa

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Getting exception when extending by AbstractEntity
« Reply #1 on: October 09, 2011, 11:42:18 pm »
Fixed the issue.
I just removed declare annotation from getter method and declare on property.

astrologerdev11

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Getting exception when extending by AbstractEntity
« Reply #2 on: June 17, 2012, 01:29:22 am »
Nice and quite useful post. Keep up the good work!

raybackjoe

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • http://www.cilldarasports.ie/
Re: Getting exception when extending by AbstractEntity
« Reply #3 on: March 03, 2013, 03:32:26 am »
I just removed declare annotation from getter system and declare on home.