1. 程式人生 > >Hibernate 對映檔案配置錯誤資訊

Hibernate 對映檔案配置錯誤資訊

  • 今天寫hibernate對映檔案時,進行單元測試時,提示一下錯誤。
HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.[email protected]165b8a71] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set
into auto-commit mode.
  • 結論
    資料建表語句錯誤,是對映檔案配置錯誤。