java - hibernate查询特别慢,日志出现几个warn
ringa_lee
ringa_lee 2017-04-18 10:55:46
0
0
642

在使用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_lee
ringa_lee

ringa_lee

répondre à tous(0)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal