Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <!DOCTYPE hibernate-configuration PUBLIC
  2. "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  3. "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  4.  
  5. <hibernate-configuration>
  6.  
  7. <session-factory>
  8.  
  9. <!-- JDBC Database connection settings -->
  10. <property name="connection.driver_class">com.mysql.cj.jdbc.Driver</property>
  11. <property name="connection.url">jdbc:mysql://127.0.0.2:3306/got?useSSL=false&amp;serverTimezone=UTC</property>
  12. <property name="connection.username">user</property>
  13. <property name="connection.password">password</property>
  14.  
  15. <!-- JDBC connection pool settings ... using built-in test pool -->
  16. <property name="connection.pool_size">1</property>
  17.  
  18. <!-- Select our SQL dialect -->
  19. <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
  20.  
  21. <!-- Echo the SQL to stdout -->
  22. <property name="show_sql">true</property>
  23.  
  24. <!-- Set the current session context -->
  25. <property name="current_session_context_class">thread</property>
  26.  
  27. </session-factory>
  28.  
  29. </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement