deason 4 年 前
コミット
c5e00fa429
1 ファイル変更2 行追加2 行削除
  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");
     }
 
     /**