diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-14 16:42:01 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-14 16:57:16 +0200 |
commit | cea5b223198330fa8ee49139d12e068e60eef616 (patch) | |
tree | f90a2f2e2a49afa705093646da9f00a8c693f292 /sonar-core | |
parent | 52381e82419a894011d765f072807ca64719a33f (diff) | |
download | sonarqube-cea5b223198330fa8ee49139d12e068e60eef616.tar.gz sonarqube-cea5b223198330fa8ee49139d12e068e60eef616.zip |
SONAR-2359 Most of properties sonar.jdbc.* should not be required when JDBC datasource is loaded from JNDI
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/jpa/session/AbstractDatabaseConnector.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/jpa/session/AbstractDatabaseConnector.java b/sonar-core/src/main/java/org/sonar/jpa/session/AbstractDatabaseConnector.java index 3dcc9908278..3ba4cbc5d47 100644 --- a/sonar-core/src/main/java/org/sonar/jpa/session/AbstractDatabaseConnector.java +++ b/sonar-core/src/main/java/org/sonar/jpa/session/AbstractDatabaseConnector.java @@ -24,6 +24,7 @@ import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sonar.api.database.DatabaseProperties; +import org.sonar.api.utils.Logs; import org.sonar.jpa.dialect.Dialect; import org.sonar.jpa.dialect.DialectRepository; import org.sonar.jpa.entity.SchemaMigration; @@ -106,6 +107,7 @@ public abstract class AbstractDatabaseConnector implements DatabaseConnector { throw new DatabaseException(databaseVersion, SchemaMigration.LAST_VERSION); } if (upToDate) { + Logs.INFO.info("Initializing Hibernate"); factory = createEntityManagerFactory(); operational = true; } |