Skip to content

Commit

Permalink
Add comment explaining why the dialect is being set for MS SQL server…
Browse files Browse the repository at this point in the history
… only.
  • Loading branch information
Kilemonn committed Jul 2, 2024
1 parent 1571651 commit 3bc7f5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class MicrosoftSqlMultiQueueTest: SqlMultiQueueTest()
"spring.datasource.username=$username",
"spring.datasource.password=$password",

// We have to explicitly set the dialect here since without it spring is unable to determine
// the dialect to use when we run all tests.
"spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect"
).applyTo(configurableApplicationContext.environment)
}
Expand Down

0 comments on commit 3bc7f5f

Please sign in to comment.