You can face this problem during Java Hibernate application development:
Failed to create sessionFactory object.org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
Exception in thread "main" java.lang.NullPointerException
Solution:
The most common mistake is that you have you have
missed any one getXXXX() or setXXXX() methods.
So check again your code and make the missed getXXXX() or setXXXX() methods.
Failed to create sessionFactory object.org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
Exception in thread "main" java.lang.NullPointerException
Solution:
The most common mistake is that you have you have
missed any one getXXXX() or setXXXX() methods.
So check again your code and make the missed getXXXX() or setXXXX() methods.
thank very much it was very useful for me :)
ReplyDeleteThanks A lot
ReplyDelete