Advertisement
Guest User

Untitled

a guest
Jan 21st, 2016
32
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 3.0//EN"
  4. "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  5.  
  6. <hibernate-configuration>
  7. <session-factory>
  8.  
  9. <!-- Connection settings -->
  10. <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
  11. <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/</property>
  12. <property name="hibernate.connection.username">postgres</property>
  13. <property name="hibernate.connection.password">admin</property>
  14.  
  15. <!-- SQL dialect -->
  16. <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  17.  
  18. <!-- Print executed SQL to stdout -->
  19. <property name="show_sql">true</property>
  20.  
  21. <!-- Drop and re-create all database on startup -->
  22. <property name="hibernate.hbm2ddl.auto">update</property>
  23.  
  24. <!-- Annotated entity classes -->
  25. <mapping class="com.min.captain.darts.player.Player"/>
  26.  
  27. </session-factory>
  28. </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement