Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
762 B
1
Indexable
Never
<bean id="sessionFactoryID"
		class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
		<property name="configLocation">
			<value>classpath:hibernate/projects/hibernate.cfg.xml</value>
		</property>
		<property name="packagesToScan" value="com.idiada.projects.commons.domain" />
		<property name="hibernateProperties">
            <props>
                <prop key="hibernate.dialect">${hibernate.dialect}</prop>
                <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
                <prop key="hibernate.connection.datasource">${hibernate.connection.datasource.projects}</prop>
                <prop key="hibernate.legacy_limit_handler">${hibernate.legacy_limit_handler}</prop>
            </props>
        </property>
	</bean>