Announcement Announcement Module
Collapse
No announcement yet.
migrating away from hibernate callback: equalivent. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • migrating away from hibernate callback: equalivent.

    hi i am trying to follow spring standard and use injection of sessionFactory.

    I am trying to find equalivent to these methods.

    executeWithNativeSession -->

    executeWithNewSession --> sessionFactory.openSession();

    execute --> sessionFactory.getCurrentSession();

    thanks.

  • #2
    Also in addition.

    deleteAll -> for loop and delete indivdual.

    saveOrUpdateAll --> for loop and save or update indivdual.

    Comment

    Working...
    X