This commit is contained in:
zhuangqian 2016-11-24 19:02:38 +08:00
parent de41f59917
commit 8f191859a2
2 changed files with 121 additions and 118 deletions

View File

@ -21,11 +21,6 @@
<!-- 注册sqlmanager(主库) --> <!-- 注册sqlmanager(主库) -->
<bean id="sqlManager" class="org.beetl.sql.ext.spring4.SqlManagerFactoryBean"> <bean id="sqlManager" class="org.beetl.sql.ext.spring4.SqlManagerFactoryBean">
<property name="sqlLoader">
<bean class="org.beetl.sql.core.ClasspathLoader">
<property name="sqlRoot" value="/beetlsql"></property>
</bean>
</property>
<property name="nc"> <property name="nc">
<bean class="org.beetl.sql.core.DefaultNameConversion"></bean> <bean class="org.beetl.sql.core.DefaultNameConversion"></bean>
</property> </property>
@ -42,6 +37,14 @@
<property name="dbStyle"> <property name="dbStyle">
<bean class="org.beetl.sql.core.db.MySqlStyle"></bean> <bean class="org.beetl.sql.core.db.MySqlStyle"></bean>
</property> </property>
<property name="sqlLoader">
<bean class="org.beetl.sql.core.ClasspathLoader">
<property name="sqlRoot" value="/beetlsql"></property>
<property name="dbs">
<bean class="org.beetl.sql.core.db.MySqlStyle"></bean>
</property>
</bean>
</property>
<property name="configLocation" value="classpath:/config/beetlsql.properties"></property> <property name="configLocation" value="classpath:/config/beetlsql.properties"></property>
</bean> </bean>