Uploaded image for project: 'Hibernate ODM'
  1. Hibernate ODM
  2. HIBERNATE-10

unblock org.hibernate.Session

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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@mongodb.com Nathan Xu
            Reporter:
            tom.selander@mongodb.com Tom Selander
            None
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: