Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
- "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
- <hibernate-configuration>
- <session-factory>
- <property name="connection.url">jdbc:postgresql://localhost:5432/musicflow</property> <!-- BD Mane -->
- <property name="connection.driver_class">org.postgresql.Driver</property> <!-- DB Driver -->
- <property name="connection.username">postgres</property> <!-- DB User -->
- <property name="connection.password">lookatme</property> <!-- DB Password -->
- <property name="dialect">org.hibernate.dialect.PostgreSQL95Dialect</property> <!-- DB Dialect -->
- <property name="hbm2ddl.auto">update</property> <!-- create / create-drop / update -->
- <property name="show_sql">true</property> <!-- Show SQL in console -->
- <property name="format_sql">true</property> <!-- Show SQL formatted -->
- <mapping class="music.documents.musicflow.entities.Label"/>
- <mapping class="music.documents.musicflow.entities.Artist"/>
- </session-factory>
- </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement