-
Notifications
You must be signed in to change notification settings - Fork 32
Enable Batoo JPA
hceylan edited this page Jan 30, 2013
·
4 revisions
Enabling Batoo JPA
To use Batoo JPA in your project you need to set the provider to org.batoo.jpa.core.BatooPersistenceProvider
.
Below is a sample persistence.xml
with provider set to Batoo JPA.
<?xml version="1.0" encoding="UTF-8"?>
<persistence-unit name="default">
<provider>org.batoo.jpa.core.BatooPersistenceProvider</provider>
<class>org.batoo.jpa.core.test.Foo</class>
<class>org.batoo.jpa.core.test.Bar</class>
<properties>
<property name="org.batoo.jpa.ddl" value="DROP" />
</properties>
</persistence-unit>
If you would like to use Batoo JPA with JBoss 7.0, check out Batoo JPA on JBoss 7.0.