我的控制台应用程序在执行期间挂起。这是我的配置:cfg.setProperty("hibernate.connection.driver_class","com.mysql.jdbc.Driver");cfg.setProperty("hibernate.connection.url","jdbc:mysql://localhost:3306/db?user=db&password=db");cfg.setProperty("hibernate.connection.username","db");cfg.setProperty("hibernate.connection.passwo