67,513
社区成员
发帖
与我相关
我的任务
分享
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref local="dataSource"/>
</property>
<property name="mappingResources">
<list>
<value>com/guomai/lx/vo/TU.hbm.xml</value>
<value>com/guomai/lx/vo/User.hbm.xml</value>
<value>com/guomai/lx/vo/LX.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.jdbc.batch_size">20</prop>
<!--<prop key="hibernate.hbm2ddl.auto">update</prop>-->
</props>
</property>
</bean>