unblock org.hibernate.Session

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      After we unblocked org.hibernate.SessionFactory, the next step is naturally to do the same thing for org.hibernate.Session, which is also related to transaction demarcation for the usual SessionFactory usage is to create a Session within a transaction.

      Note that Session could be created without issue but jdbc connection and transaction will be created lazily when it is used for any real work, e.g.

       

      sessionFactory.inTransaction(session -> { 
              ... 
      });

       

        There are no Sub-Tasks for this issue.

            Assignee:
            Nathan Xu
            Reporter:
            Tom Selander
            None
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: