Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <session-factory>
- <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
- <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
- <!-- Assume test is the database name -->
- <property name="hibernate.connection.url">jdbc:mysql://localhost/foampile</property>
- <property name="hibernate.connection.username">root</property>
- <property name="hibernate.connection.password"></property>
- <!-- List of XML mapping files -->
- <mapping resource="SiteRecord.hbm.xml"/>
- </session-factory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement