Announcement Announcement Module
Collapse
No announcement yet.
no rollback in transaction problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Glad it works.

    Comment


    • #17
      So it doesn't work totaly

      I get this problem :

      Code:
      ERROR  [main] AssertionFailure              - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
      org.hibernate.AssertionFailure: null id in org.esco.sarapis.db.entity.common.Login entry (don't flush the Session after an exception occurs)
      It arrives when i get a duplicate entry or a null entry error that i managed...

      Do you see the problem ?

      Comment


      • #18
        Do you think that i should replace all @transaction by the new management of transaction that was described in my last post ?

        Comment


        • #19
          Finaly this solution gave me many problems... I found a better solution...

          I added @Transactional on my DAO methods with propagation to Requires_New for persist and without options for other methods (expect read-only for search request). And it works very well now.

          Comment

          Working...
          X