See gh-20020
This commit is contained in:
Johnny Lim
2020-02-04 00:20:06 +09:00
committed by Stephane Nicoll
parent 05e7cd6f2b
commit b67ece48e4
7 changed files with 18 additions and 19 deletions

View File

@@ -107,7 +107,7 @@ public class CacheAutoConfiguration {
@Override
public void afterPropertiesSet() {
Assert.notNull(this.cacheManager.getIfAvailable(),
() -> "No cache manager could be auto-configured, check your configuration (caching " + "type is '"
() -> "No cache manager could be auto-configured, check your configuration (caching type is '"
+ this.cacheProperties.getType() + "')");
}

View File

@@ -183,8 +183,7 @@ class HibernateJpaConfiguration extends JpaBaseConfiguration {
// containers (e.g. JBoss EAP 6) wrap it in the superclass LinkageError
if (!isUsingJndi()) {
throw new IllegalStateException(
"Unable to set Hibernate JTA platform, are you using the correct " + "version of Hibernate?",
ex);
"Unable to set Hibernate JTA platform, are you using the correct version of Hibernate?", ex);
}
// Assume that Hibernate will use JNDI
if (logger.isDebugEnabled()) {