Skip to content

Commit

Permalink
more files
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Jefferson committed Mar 1, 2013
1 parent e549226 commit 8fd45da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
version="1.0">

<persistence-unit name="MyTest">
<!-- Add all of your model classes here -->
<class>mydomain.model.Person</class>
<exclude-unlisted-classes />
<properties>
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:nucleus"/>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<property name="javax.persistence.jdbc.user" value="sa"/>
<property name="javax.persistence.jdbc.password" value=""/>
<!-- Update these datastore details if different -->
<property name="javax.jdo.option.ConnectionURL" value="jdbc:h2:mem:nucleus"/>
<property name="javax.jdo.option.ConnectionDriverName" value="org.h2.Driver"/>
<property name="javax.jdo.option.UserName" value="sa"/>
<property name="javax.jdo.option.Password" value=""/>

<property name="datanucleus.autoCreateSchema" value="true"/>
<property name="datanucleus.autoCreateColumns" value="true"/>
Expand Down

0 comments on commit 8fd45da

Please sign in to comment.