Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. <property name="connection.driver_class">org.postgresql.Driver</property>
  2. <property name="connection.url">jdbc:postgresql://172.23.73.61:5432/test_s</property>
  3. <property name="connection.username">postgres</property>
  4. <property name="connection.password">admin</property>
  5.  
  6. <!-- JDBC connection pool (use the built-in) -->
  7. <property name="connection.pool_size">10</property>
  8.  
  9. <!-- SQL dialect -->
  10. <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  11.  
  12. <!-- Enable Hibernate's current session context -->
  13. <property name="current_session_context_class">thread</property>
  14.  
  15. <!-- Disable the second-level cache -->
  16. <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
  17.  
  18. <!-- Echo all executed SQL to stdout -->
  19. <property name="show_sql">true</property>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement