class CompositePersistence implements Persistence<O, A> {

    @Override
    public SimpleAttribute<O, A> getPrimaryKeyAttribute() {
        return primaryPersistence.getPrimaryKeyAttribute();
    }

    public  CompositePersistence(Persistence<O, A> primaryPersistence, Persistence<O, A> secondaryPersistence, List<? extends Persistence<O, A>> additionalPersistences);

}