Permalink
Browse files

Added persistence config for the statistics db

  • Loading branch information...
1 parent b3987d4 commit 5c5bfe57732d01c4cd03ef6bed1766086dc557a9 @wakaleo wakaleo committed Feb 8, 2012
Showing with 13 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +12 −0 thucydides-core/src/main/resources/META-INF/persistence.xml
View
@@ -1,3 +1,4 @@
+test*.db
.project
.settings
target
@@ -0,0 +1,12 @@
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
+ version="2.0">
+ <persistence-unit name="db-manager">
+ <class>net.thucydides.core.statistics.model.TestRun</class>
+ <properties>
+ <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider"/>
+ <property name="hibernate.id.new_generator_mappings" value="true"/>
+ </properties>
+ </persistence-unit>
+</persistence>

0 comments on commit 5c5bfe5

Please sign in to comment.