Created
October 21, 2014 18:06
-
-
Save mariofts/01a9fadc2d9e3bf4c778 to your computer and use it in GitHub Desktop.
SessionFactoryConfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> | |
<property name="hibernateProperties"> | |
<props> | |
<prop key="hibernate.connection.url">jdbc:mysql://localhost/fj27</prop> | |
<prop key="hibernate.connection.driver_class">com.mysql.jdbc.Driver</prop> | |
<prop key="hibernate.connection.username">root</prop> | |
<prop key="hibernate.connection.password"></prop> | |
<prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop> | |
<prop key="hibernate.show_sql">true</prop> | |
<prop key="hibernate.format_sql">true</prop> | |
<prop key="hibernate.hbm2ddl.auto">update</prop> | |
</props> | |
</property> | |
<property name="packagesToScan" value="br.com.caelum.estoque" /> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment