Support property placeholders in @Sql script paths
Prior to this commit, paths configured via the scripts attribute in
@Sql were required to be final paths without dynamic placeholders;
however, being able to make script paths dependent on the current
environment can be useful in certain testing scenarios.
This commit introduces support for property placeholders (${...}) in
@Sql script paths which will be replaced by properties available in
the Environment of the test's ApplicationContext.
Closes gh-33114
This commit is contained in:
@@ -0,0 +1 @@
|
||||
INSERT INTO user VALUES('Dilbert 1');
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO user VALUES('Dilbert 2');
|
||||
Reference in New Issue
Block a user