Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='utf-8'?>
- <!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD//EN"
- "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
- <hibernate-configuration>
- <session-factory>
- <!-- Database connection settings -->
- <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
- <property name="connection.url">jdbc:mysql://localhost:3306/htmlindex</property>
- <property name="connection.username">root</property>
- <property name="connection.password">joanna</property>
- <!-- Echo all executed SQL to stdout -->
- <property name="show_sql">false</property>
- <!-- Drop and re-create the database schema at startup -->
- <property name="hibernate.hbm2ddl.auto">create</property>
- <!-- Mappings -->
- <mapping resource="pl/edu/agh/ki/bd/htmlIndexer/model/Sentence.hbm.xml" />
- <mapping resource="pl/edu/agh/ki/bd/htmlIndexer/model/ProcessedUrl.hbm.xml"/>
- </session-factory>
- </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement