Consistent use of <pre class="code">
Issue: SPR-8108
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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">
|
||||
* <bean id="dataSourceRouter" class="org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter">
|
||||
* <property name="targetDataSources">
|
||||
* <map>
|
||||
@@ -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">
|
||||
* <bean id="dataSourceRouter" class="org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter">
|
||||
* <property name="targetDataSources">
|
||||
* <map>
|
||||
@@ -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">
|
||||
* <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
|
||||
* <property name="allowCustomIsolationLevels" value="true"/>
|
||||
* </bean></pre>
|
||||
|
||||
Reference in New Issue
Block a user