Polishing

This commit is contained in:
Juergen Hoeller
2017-11-21 16:34:08 +01:00
parent 9f1d8517ba
commit 0cc644f61f
9 changed files with 41 additions and 31 deletions

View File

@@ -3147,7 +3147,7 @@ framework.
c:loginAction-ref="loginAction" />
<bean id="loginAction" class="com.example.LoginAction"
c:username="\#{request.getParameter('user')}"
c:username="#{request.getParameter('user')}"
c:password="#{request.getParameter('pswd')}"
scope="request">
<aop:scoped-proxy />
@@ -3602,8 +3602,8 @@ scripts against a `DataSource`.
public void databaseTest {
ResourceDatabasePopulator populator = new ResourceDatabasePopulator();
populator.addScripts(
new ClassPathResource("test-schema.sql"),
new ClassPathResource("test-data.sql"));
new ClassPathResource("test-schema.sql"),
new ClassPathResource("test-data.sql"));
populator.setSeparator("@@");
populator.execute(this.dataSource);
// execute code that uses the test schema and data