찾다

 >  Q&A  >  본문

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_lee2813일 전647

모든 응답(0)나는 대답할 것이다

답장 없음
  • 취소회신하다