Fix heading levels in Reference Manual
This commit is contained in:
@@ -19,13 +19,12 @@ The `tx` tags deal with configuring all of those beans in Spring's comprehensive
|
||||
for transactions. These tags are covered in the chapter entitled
|
||||
<<data-access.adoc#transaction,Transaction Management>>.
|
||||
|
||||
TIP: We strongly encourag you to look at the `'spring-tx.xsd'` file that ships with the
|
||||
TIP: We strongly encourage you to look at the `'spring-tx.xsd'` file that ships with the
|
||||
Spring distribution. This file contains the XML Schema for Spring's transaction
|
||||
configuration and covers all of the various elements in the `tx` namespace, including
|
||||
attribute defaults and similar information. This file is documented inline, and, thus, the
|
||||
information is not repeated here in the interests of adhering to the DRY (Don't Repeat
|
||||
Yourself) principle.
|
||||
====
|
||||
attribute defaults and similar information. This file is documented inline, and, thus,
|
||||
the information is not repeated here in the interests of adhering to the DRY (Don't
|
||||
Repeat Yourself) principle.
|
||||
|
||||
In the interest of completeness, to use the elements in the `tx` schema, you need to have
|
||||
the following preamble at the top of your Spring XML configuration file. The text in the
|
||||
@@ -51,10 +50,11 @@ are available to you:
|
||||
<2> Specify the location (with other schema locations).
|
||||
====
|
||||
|
||||
NOTE: Often, when you use the elements in the `tx` namespace, you are also using the elements from the
|
||||
`aop` namespace (since the declarative transaction support in Spring is implemented
|
||||
by using AOP). The preceding XML snippet contains the relevant lines needed to reference the
|
||||
`aop` schema so that the elements in the `aop` namespace are available to you.
|
||||
NOTE: Often, when you use the elements in the `tx` namespace, you are also using the
|
||||
elements from the `aop` namespace (since the declarative transaction support in Spring is
|
||||
implemented by using AOP). The preceding XML snippet contains the relevant lines needed
|
||||
to reference the `aop` schema so that the elements in the `aop` namespace are available
|
||||
to you.
|
||||
|
||||
|
||||
|
||||
@@ -63,12 +63,12 @@ by using AOP). The preceding XML snippet contains the relevant lines needed to r
|
||||
|
||||
The `jdbc` elements let you quickly configure an embedded database or initialize an
|
||||
existing data source. These elements are documented in
|
||||
<<data-access.adoc#jdbc-embedded-database-support,Embedded Database Support>>
|
||||
and <<data-access.adoc#jdbc-initializing-datasource,Initializing a DataSource>>, respectively.
|
||||
<<data-access.adoc#jdbc-embedded-database-support,Embedded Database Support>> and
|
||||
<<data-access.adoc#jdbc-initializing-datasource,Initializing a DataSource>>, respectively.
|
||||
|
||||
To use the elements in the `jdbc` schema, you need to have the following preamble at the top
|
||||
of your Spring XML configuration file. The text in the following snippet references the
|
||||
correct schema so that the elements in the `jdbc` namespace are available to you:
|
||||
To use the elements in the `jdbc` schema, you need to have the following preamble at the
|
||||
top of your Spring XML configuration file. The text in the following snippet references
|
||||
the correct schema so that the elements in the `jdbc` namespace are available to you:
|
||||
|
||||
====
|
||||
[source,xml,indent=0]
|
||||
|
||||
Reference in New Issue
Block a user