Search in sources :

Example 1 with IndirectListSystem

use of org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem in project eclipselink by eclipse-ee4j.

the class ComplexUpdateAndUnitOfWorkTestModel method addRequiredSystems.

@Override
public void addRequiredSystems() {
    addRequiredSystem(new OwnershipSystem());
    addRequiredSystem(new IndirectListSystem());
    addRequiredSystem(new EmployeeSystem());
    addRequiredSystem(new InsuranceSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.models.mapping.MappingSystem());
    addRequiredSystem(new org.eclipse.persistence.testing.tests.unitofwork.UOWSystem());
    addRequiredSystem(new InheritanceSystem());
}
Also used : InsuranceSystem(org.eclipse.persistence.testing.models.insurance.InsuranceSystem) InheritanceSystem(org.eclipse.persistence.testing.models.inheritance.InheritanceSystem) IndirectListSystem(org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem) org.eclipse.persistence.testing.tests.unitofwork(org.eclipse.persistence.testing.tests.unitofwork) EmployeeSystem(org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)

Example 2 with IndirectListSystem

use of org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem in project eclipselink by eclipse-ee4j.

the class TransparentIndirectionModel method addRequiredSystems.

@Override
public void addRequiredSystems() {
    addRequiredSystem(new IndirectListSystem());
    addRequiredSystem(new IndirectMapSystem());
    addRequiredSystem(new IndirectSetSystem());
    addRequiredSystem(new CustomIndirectContainerSystem());
    addRequiredSystem(new BidirectionalRelationshipSystem());
}
Also used : CustomIndirectContainerSystem(org.eclipse.persistence.testing.models.transparentindirection.CustomIndirectContainerSystem) IndirectListSystem(org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem) IndirectMapSystem(org.eclipse.persistence.testing.models.transparentindirection.IndirectMapSystem) BidirectionalRelationshipSystem(org.eclipse.persistence.testing.models.transparentindirection.BidirectionalRelationshipSystem) IndirectSetSystem(org.eclipse.persistence.testing.models.transparentindirection.IndirectSetSystem)

Example 3 with IndirectListSystem

use of org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem in project eclipselink by eclipse-ee4j.

the class UnitOfWorkClientSessionTestModel method addRequiredSystems.

@Override
public void addRequiredSystems() {
    // H2 has locking issue with multiple connections.
    if (getSession().getPlatform().isH2()) {
        throw new TestWarningException("H2 has locking issue with multiple connections");
    }
    addRequiredSystem(new OwnershipSystem());
    addRequiredSystem(new IndirectListSystem());
    addRequiredSystem(new EmployeeSystem());
    addRequiredSystem(new InsuranceSystem());
    addRequiredSystem(new MappingSystem());
    addRequiredSystem(new UOWSystem());
    addRequiredSystem(new InheritanceSystem());
}
Also used : InsuranceSystem(org.eclipse.persistence.testing.models.insurance.InsuranceSystem) MappingSystem(org.eclipse.persistence.testing.models.mapping.MappingSystem) OwnershipSystem(org.eclipse.persistence.testing.models.ownership.OwnershipSystem) InheritanceSystem(org.eclipse.persistence.testing.models.inheritance.InheritanceSystem) IndirectListSystem(org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem) TestWarningException(org.eclipse.persistence.testing.framework.TestWarningException) EmployeeSystem(org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)

Aggregations

IndirectListSystem (org.eclipse.persistence.testing.models.transparentindirection.IndirectListSystem)3 EmployeeSystem (org.eclipse.persistence.testing.models.employee.relational.EmployeeSystem)2 InheritanceSystem (org.eclipse.persistence.testing.models.inheritance.InheritanceSystem)2 InsuranceSystem (org.eclipse.persistence.testing.models.insurance.InsuranceSystem)2 TestWarningException (org.eclipse.persistence.testing.framework.TestWarningException)1 MappingSystem (org.eclipse.persistence.testing.models.mapping.MappingSystem)1 OwnershipSystem (org.eclipse.persistence.testing.models.ownership.OwnershipSystem)1 BidirectionalRelationshipSystem (org.eclipse.persistence.testing.models.transparentindirection.BidirectionalRelationshipSystem)1 CustomIndirectContainerSystem (org.eclipse.persistence.testing.models.transparentindirection.CustomIndirectContainerSystem)1 IndirectMapSystem (org.eclipse.persistence.testing.models.transparentindirection.IndirectMapSystem)1 IndirectSetSystem (org.eclipse.persistence.testing.models.transparentindirection.IndirectSetSystem)1 org.eclipse.persistence.testing.tests.unitofwork (org.eclipse.persistence.testing.tests.unitofwork)1