搜尋

首頁  >  問答  >  主體

java - hibernate查詢特別慢,日誌出現幾個warn

在使用hibernate涉及查詢時總是特別慢,登錄與查詢結果都是。登錄要好幾秒才能登上
提示的warn


2017-04-12 18:23:24,868 WARN  [http-nio-8080-exec-9] stax.LocalXmlResourceResolver (LocalXmlResourceResolver.java:75) - HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead.  Support for obsolete DTD/XSD namespaces may be removed at any time.
2017-04-12 18:23:25,273 WARN  [http-nio-8080-exec-9] stax.LocalXmlResourceResolver (LocalXmlResourceResolver.java:75) - HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead.  Support for obsolete DTD/XSD namespaces may be removed at any time.
2017-04-12 18:23:25,648 WARN  [http-nio-8080-exec-9] stax.LocalXmlResourceResolver (LocalXmlResourceResolver.java:75) - HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead.  Support for obsolete DTD/XSD namespaces may be removed at any time.
2017-04-12 18:23:26,063 WARN  [http-nio-8080-exec-9] stax.LocalXmlResourceResolver (LocalXmlResourceResolver.java:75) - HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead.  Support for obsolete DTD/XSD namespaces may be removed at any time.
2017-04-12 18:23:26,451 WARN  [http-nio-8080-exec-9] internal.DriverManagerConnectionProviderImpl (DriverManagerConnectionProviderImpl.java:76) - HHH000402: Using Hibernate built-in connection pool (not for production use!)

在這一部分就用了挺久了,查找了許多方法一直沒解決

ringa_leeringa_lee2805 天前643

全部回覆(0)我來回復

無回覆
  • 取消回覆