protected static void populateVehiclesCompanies() { UnitOfWork uow = acquireUnitOfWork(); uow.registerNewObject(InheritanceModelExamples.companyExample1()); uow.registerNewObject(InheritanceModelExamples.companyExample2()); uow.registerNewObject(InheritanceModelExamples.companyExample3()); uow.commit(); }