File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed
documentation/src/main/docbook/manual/en-US/chapters Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 78
78
Hibernate can integrate with a <interfacename >javax.sql.DataSource</interfacename > for obtaining
79
79
JDBC Connections. Applications would tell Hibernate about the DataSource via the (required)
80
80
<literal >hibernate.connection.datasource</literal > setting which can either specify a JNDI name
81
- or would reference the actual DataSource instance.
82
-
83
- <!-- todo : pointer to JndiService
84
- For cases where a JNDI namespace is specified, be
85
- sure to read <xref linkend="bootstrap-jndi"/>.-->
81
+ or would reference the actual DataSource instance. For cases where a JNDI name is given, be sure
82
+ to read <xref linkend =" jndi" />
86
83
</para >
87
84
88
85
<note >
Original file line number Diff line number Diff line change 5
5
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
6
6
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
7
7
-->
8
- <chapter xml : id =" JNDI.xml "
8
+ <chapter xml : id =" jndi "
9
9
xml : lang =" en"
10
10
xmlns =" http://docbook.org/ns/docbook" >
11
11
<title >JNDI</title >
Original file line number Diff line number Diff line change 100
100
<section xml : id =" transactions-physical-jtaplatform" >
101
101
<title >JTA configuration</title >
102
102
103
- <!-- todo : pointer to JndiService -->
104
-
105
103
<para >
106
104
Interaction with a JTA system is consolidated behind a single contract named
107
105
<interfacename >org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform</interfacename > which
111
109
check transaction status, etc.
112
110
</para >
113
111
112
+ <note >
113
+ <para >
114
+ Generally JtaPlatform will need access to JNDI to resolve the JTA TransactionManager,
115
+ UserTransaction, etc. See <xref linkend =" jndi" /> for details on configuring access
116
+ to JNDI
117
+ </para >
118
+ </note >
119
+
114
120
<para >
115
121
Hibernate tries to discover the JtaPlatform it should use through the use of another service named
116
122
<interfacename >org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformResolver</interfacename >.
You can’t perform that action at this time.
0 commit comments