Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
ea6d9f33
Commit
ea6d9f33
authored
Sep 21, 2019
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.x'
Closes gh-18298
parents
451703f3
0efee9e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
QuartzDataSourceInitializerTests.java
...utoconfigure/quartz/QuartzDataSourceInitializerTests.java
+2
-2
tables_**_comments.sql
...ramework/boot/autoconfigure/quartz/tables_**_comments.sql
+2
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/quartz/QuartzDataSourceInitializerTests.java
View file @
ea6d9f33
...
...
@@ -65,8 +65,8 @@ class QuartzDataSourceInitializerTests {
@Test
void
commentPrefixCanBeCustomized
()
{
this
.
contextRunner
.
withUserConfiguration
(
TestConfiguration
.
class
).
withPropertyValues
(
"spring.quartz.jdbc.comment-prefix=
##
"
,
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_
@@platform@@
.sql"
)
"spring.quartz.jdbc.comment-prefix=
**
"
,
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_
**_comments
.sql"
)
.
run
(
this
::
assertThatDataSourceHasBeenInitialized
);
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/quartz/tables_
h2
.sql
→
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/quartz/tables_
**_comments
.sql
View file @
ea6d9f33
##
This
is
a
test
script
to
check
custom
comment
prefix
is
taken
into
account
**
This
is
a
test
script
to
check
**
is
treated
as
a
comment
prefix
when
prefix
is
customized
CREATE
TABLE
QRTZ_TEST_TABLE
(
SCHED_NAME
VARCHAR
(
120
)
NOT
NULL
,
CALENDAR_NAME
VARCHAR
(
200
)
NOT
NULL
);
##
Another
comment
**
Another
comment
COMMIT
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment