deason %!s(int64=4) %!d(string=hai) anos
pai
achega
c5e00fa429
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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");
     }
 
     /**