ch.inftec.ju.testing.db.AbstractBaseDbTest-persistence.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8" ?> <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="Derby ju-testing"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>ch.inftec.ju.testing.db.data.entity.Team</class> <class>ch.inftec.ju.testing.db.data.entity.Player</class> <class>ch.inftec.ju.testing.db.data.entity.TestingEntity</class> <properties> <property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect"/> <property name="hibernate.hbm2ddl.auto" value="create" /> <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver" /> </properties> </persistence-unit> </persistence>