Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<beans profile="dev">
<bean id="mySessionFactoryBean" class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
<property name="dataSource" ref="myHSQLDataSourceBean"/>
<property name="mappingLocations" value="classpath*:**/*.hbm.xml"/>
<property name="hibernateProperties">
<value>
hibernate.hbm2ddl.auto = create-drop
</value>
</property>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment