| <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="persistenceUnit"> | |
| <class>com.acme.base.domain.GenericEntity</class> | |
| <class>com.acme.base.globmsg.domain.GlobalMessage</class> | |
| <class>com.acme.logs.domain.Log</class> | |
| <class>com.acme.logs.domain.LogPrefix</class> | |
| <class>com.acme.logs.domain.MessageFrequency</class> | |
| <properties> | |
| <property name="hibernate.hbm2ddl.auto" value="update" /> | |
| <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true,SchemaAction='add')" /> | |
| </properties> | |
| </persistence-unit> | |
| </persistence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment