-
Notifications
You must be signed in to change notification settings - Fork 5
MySQLOptimizations
Evgeniy Sinev edited this page Sep 2, 2015
·
2 revisions
- jdbc url
new parameters: useInformationSchema=true noAccessToProcedureBodies=true
jdbc:mysql://localhost/jdbcprocdb?autoReconnect=false&characterEncoding=utf8&useInformationSchema=true&noAccessToProcedureBodies=true
- add new strategy
<bean id="daoMethodInfoFactory" class="com.googlecode.jdbcproc.daofactory.DaoMethodInfoFactory">
<property name="jdbcTemplate" ref="jdbcTemplate" />
<property name="metaLoginInfoService" ref="metaLoginInfoService" />
<property name="callableStatementGetStrategyFactory" value="#{ new com.googlecode.jdbcproc.daofactory.impl.dbstrategy.impl.CallableStatementGetStrategyFactoryIndexImpl() }" />
<property name="callableStatementSetStrategyFactory" value="#{ new com.googlecode.jdbcproc.daofactory.impl.dbstrategy.impl.CallableStatementSetStrategyFactoryIndexImpl() }" />
</bean>
-
jdbc-proc version >=1.1-2
-
mysql driver 5.1.22-3