Advertisement
hackmate

Untitled

May 5th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE hibernate-configuration PUBLIC
  3. "-//Hibernate/Hibernate Configuration DTD//EN"
  4. "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  5. <hibernate-configuration>
  6. <session-factory>
  7. <!-- JDBC Database connection settings -->
  8. <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  9. <property name="connection.url">jdbc:mysql://localhost:3306/hb_student_tracker?useSSL=false</property>
  10. <property name="connection.username">hbstudent</property>
  11. <property name="connection.password">hbstudent</property>
  12.  
  13. <!-- JDBC connection pool settings ... using built-in test pool -->
  14. <property name="connection.pool_size">1</property>
  15.  
  16. <!-- Select our SQL dialect -->
  17. <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
  18.  
  19. <!-- Echo the SQL to stdout -->
  20. <property name="show_sql">true</property>
  21.  
  22. <!-- Set the current session context -->
  23. <property name="current_session_context_class">thread</property>
  24. </session-factory>
  25. </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement