SimplePushVariant sp = new SimplePushVariant();
sp.setDeveloper("me");
sp.setName("SimplePush");
// stash the ID:
this.simplePushVariantID = sp.getVariantID();
variantDao.create(sp);
// register the variants with the Push Application:
pa.getVariants().add(av);
pa.getVariants().add(sp);
pushApplicationDao.update(pa);