Cayenne User Documentation
JPA persistence.xml

`"persistence.xml"` file is a JPA deployment descriptor that defines properties of persistence units. We'll discuss sections that have a relation to Cayenne provider set up.

## <provider>

Cayenne provider name is `"org.apache.cayenne.jpa.Provider"`, so the provider section might look like this (note that it is optional and only needed if you have providers other than Cayenne in the environment):

    <provider>org.apache.cayenne.jpa.Provider</provider>

## <properties>

Cayenne provider specific properties are described here.

.
Copyright ©2001-2008 Apache Software Foundation