Search in sources :

Example 1 with EventHookSystem

use of org.eclipse.persistence.testing.models.events.EventHookSystem in project eclipselink by eclipse-ee4j.

the class FeatureTestModel method addRequiredSystems.

@Override
public void addRequiredSystems() {
    addRequiredSystem(new EmployeeSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.aggregate.AggregateSystem());
    addRequiredSystem(new InheritanceSystem());
    addRequiredSystem(new InsuranceSystem());
    addRequiredSystem(new OwnershipSystem());
    addRequiredSystem(new LegacySystem());
    addRequiredSystem(new EventHookSystem());
    addRequiredSystem(new ProjectSystem());
    addRequiredSystem(new IdentitySystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.collections.CollectionsSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.mapping.MappingSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.sequencing.SequenceTestSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.tests.queries.report.ReportQuerySystem());
    addRequiredSystem(new org.eclipse.persistence.testing.tests.queries.options.QueryOptionSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.bigbad.BigBadSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.vehicle.VehicleSystem());
    // Force field names to upper case for custom SQL tests on postgres.
    if (getSession().getPlatform().isPostgreSQL()) {
        getSession().getPlatform().setShouldForceFieldNamesToUpperCase(true);
    }
}
Also used : ProjectSystem(org.eclipse.persistence.testing.models.multipletable.ProjectSystem) InheritanceSystem(org.eclipse.persistence.testing.models.inheritance.InheritanceSystem) org.eclipse.persistence.testing.tests.queries.options(org.eclipse.persistence.testing.tests.queries.options) InsuranceSystem(org.eclipse.persistence.testing.models.insurance.InsuranceSystem) EventHookSystem(org.eclipse.persistence.testing.models.events.EventHookSystem) EmployeeSystem(org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)

Example 2 with EventHookSystem

use of org.eclipse.persistence.testing.models.events.EventHookSystem in project eclipselink by eclipse-ee4j.

the class SimultaneousTestsModel method addRequiredSystems.

@Override
public void addRequiredSystems() {
    addRequiredSystem(new EmployeeSystem());
    addRequiredSystem(new EventHookSystem());
    addRequiredSystem(new UOWSystem());
}
Also used : EventHookSystem(org.eclipse.persistence.testing.models.events.EventHookSystem) UOWSystem(org.eclipse.persistence.testing.tests.unitofwork.UOWSystem) EmployeeSystem(org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)

Aggregations

EmployeeSystem (org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)2 EventHookSystem (org.eclipse.persistence.testing.models.events.EventHookSystem)2 InheritanceSystem (org.eclipse.persistence.testing.models.inheritance.InheritanceSystem)1 InsuranceSystem (org.eclipse.persistence.testing.models.insurance.InsuranceSystem)1 ProjectSystem (org.eclipse.persistence.testing.models.multipletable.ProjectSystem)1 org.eclipse.persistence.testing.tests.queries.options (org.eclipse.persistence.testing.tests.queries.options)1 UOWSystem (org.eclipse.persistence.testing.tests.unitofwork.UOWSystem)1