Notice: This site is now in read-only mode and will no longer be updated.
Please visit our new and improved Knowledge Base at https://kb.joget.org/ for the latest content and updates.
Hi, I'm trying to saving data in custom table as described in Using Hibernate Entity and Dao in Plugin When getting current session line (session = sf.getCurrentSession) is invoking than i'm getting java.lang.NoClassDefFoundError: org/hibernate/SessionFactory Caused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactory not found by <plugin name>
The same situation when im using sample plugin from the article
Any ideas why ? Some breaking changes in core ?
Any other ideas how to get/create hibernate session ?
The sample plugin was outdated and was meant for an older version of the platform. The article Using Hibernate Entity and Dao in Plugin has been updated with a new example.
Hi,
I'm trying to saving data in custom table as described in Using Hibernate Entity and Dao in Plugin
When getting current session line (session = sf.getCurrentSession) is invoking than i'm getting java.lang.NoClassDefFoundError: org/hibernate/SessionFactory
Caused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactory not found by <plugin name>
The same situation when im using sample plugin from the article
Any ideas why ? Some breaking changes in core ?
Any other ideas how to get/create hibernate session ?