error: org.hibernate.exception.JDBCConnectionException: could not execute query using scroll
为什么出这个问题,我用的是HIBERNATE+SPRING+STRUTS
在applicationContext.xml中我配置了<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
<prop key="hibernate.cglib.use_reflection_optimizer">true</prop>
<prop key="hibernate.jdbc.use_scrollable_resultset">true</prop>
<prop key="hibernate.generate_statistics">true</prop>
<prop key="hibernate.transaction.auto_close_session">true</prop>
<prop key="hibernate.show_sql">true</prop>
</props>
</property>在我本机没有出错,在服务器上报的错
为什么出这个问题,我用的是HIBERNATE+SPRING+STRUTS
在applicationContext.xml中我配置了<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
<prop key="hibernate.cglib.use_reflection_optimizer">true</prop>
<prop key="hibernate.jdbc.use_scrollable_resultset">true</prop>
<prop key="hibernate.generate_statistics">true</prop>
<prop key="hibernate.transaction.auto_close_session">true</prop>
<prop key="hibernate.show_sql">true</prop>
</props>
</property>在我本机没有出错,在服务器上报的错
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货