1
0
-1

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 ?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi there,

      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.

      Thanks!

      Best Regards
      Julian


        CommentAdd your comment...