deason hace 4 años
padre
commit
3cc1db4d22
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/java/cn/com/qmth/examcloud/bridge/BridgeApp.java

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/bridge/BridgeApp.java

@@ -19,10 +19,10 @@ import org.springframework.context.annotation.Configuration;
 public class BridgeApp {
 
     static {
-        String runtimeLevel = System.getProperty("log.commonLevel");
-        if (null == runtimeLevel) {
+        if (System.getProperty("log.commonLevel") == null) {
             System.setProperty("log.commonLevel", "INFO");
         }
+        System.setProperty("hibernate.dialect.storage_engine", "innodb");
     }
 
     /**