Consistent use of <pre class="code">

Issue: SPR-8108
This commit is contained in:
Juergen Hoeller
2013-05-07 21:31:26 +02:00
parent 1ca943c681
commit 2a44228b98
59 changed files with 87 additions and 90 deletions

View File

@@ -24,7 +24,7 @@ import org.springframework.jdbc.datasource.init.ResourceDatabasePopulator;
* A builder that provides a convenient API for constructing an embedded database.
*
* <p>Usage example:
* <pre>
* <pre class="code">
* EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder();
* EmbeddedDatabase db = builder.setType(H2).addScript("schema.sql").addScript("data.sql").build();
* db.shutdown();

View File

@@ -41,7 +41,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
* DataSources are defined as individual Spring beans with names
* "myRepeatableReadDataSource", "mySerializableDataSource" and "myDefaultDataSource":
*
* <pre>
* <pre class="code">
* &lt;bean id="dataSourceRouter" class="org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter"&gt;
* &lt;property name="targetDataSources"&gt;
* &lt;map&gt;
@@ -57,7 +57,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
* names for a standard JNDI lookup. This allows for a single concise definition
* without the need for separate DataSource bean definitions.
*
* <pre>
* <pre class="code">
* &lt;bean id="dataSourceRouter" class="org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter"&gt;
* &lt;property name="targetDataSources"&gt;
* &lt;map&gt;
@@ -74,7 +74,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
* (By default, JtaTransactionManager will only accept a default isolation level
* because of the lack of isolation level support in standard JTA itself.)
*
* <pre>
* <pre class="code">
* &lt;bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"&gt;
* &lt;property name="allowCustomIsolationLevels" value="true"/&gt;
* &lt;/bean&gt;</pre>