HHH-6082 - Incorporate EntityManager documentation into main dev guide
This commit is contained in:
parent
9b304942cc
commit
955f21eca9
|
@ -63,11 +63,21 @@
|
||||||
are used to allow applications to manage and check the state of transactions.
|
are used to allow applications to manage and check the state of transactions.
|
||||||
<interfacename>org.hibernate.Transaction</interfacename> is Hibernate's notion of a logical
|
<interfacename>org.hibernate.Transaction</interfacename> is Hibernate's notion of a logical
|
||||||
transaction. JPA has a similar notion in the
|
transaction. JPA has a similar notion in the
|
||||||
<interfacename>javax.persistence.EntityTransaction</interfacename> interface.
|
<interfacename>javax.persistence.EntityTransaction</interfacename> interface although it is only
|
||||||
|
available when using resource-local transactions, whereas access to
|
||||||
|
<interfacename>org.hibernate.Transaction</interfacename> is always allowed.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
<interfacename>javax.persistence.EntityTransaction</interfacename> is only available when using
|
||||||
|
resource-local transactions. Hibernate allows access to
|
||||||
|
<interfacename>org.hibernate.Transaction</interfacename> regardless of environment.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<interfacename>org.hibernate.engine.transaction.spi.TransactionFactory</interfacename> is a standard
|
<interfacename>org.hibernate.engine.transaction.spi.TransactionFactory</interfacename> is a standard
|
||||||
Hibernate service. See <xref linkend="services-TransactionFactory"/> for details.
|
Hibernate service. See <xref linkend="services-TransactionFactory"/> for details.
|
||||||
|
|
Loading…
Reference in New Issue