Chapter 28. Project compatibility extension

Table of Contents

Description
Including in a project
Usage

Description

Since version 4.1 Cayenne doesn't allow to load project XML files from previous versions as this can lead to unexpected errors in runtime. This module allows to use project files from older versions performing their upgrade on the fly (without modifying files). This can be useful when using Cayenne models from third-party libraries in your app.

Note

You should prefer explicit project upgrade via Cayenne Modeler.

Including in a project

Maven

<dependency>
    <groupId>org.apache.cayenne</groupId>
    <artifactId>cayenne-project-compatibility</artifactId>
    <version>4.1.M1</version>
</dependency>

Gradle

compile 'org.apache.cayenne:cayenne-project-compatibility:4.1.M1'

Usage

This module doesn't require any additional setup.