deason vor 4 Jahren
Ursprung
Commit
c5e00fa429
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/main/java/cn/com/qmth/examcloud/ws/WebSocketApp.java

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/ws/WebSocketApp.java

@@ -14,10 +14,10 @@ import org.springframework.context.annotation.Configuration;
 public class WebSocketApp {
 
     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");
     }
 
     /**