super.start();
setupSchemaVersion(version);
}
protected void setupSchemaVersion(int version) {
SchemaMigration migration = new SchemaMigration();
migration.setVersion(version);
EntityManager manager = createEntityManager();
try {
manager.getTransaction().begin();
manager.persist(migration);
manager.getTransaction().commit();