Beispiel #1
0
 /** Mark the current schema version. */
 protected void finish(CurrentSchemaVersion curr, ReviewDb db) throws OrmException {
   curr.versionNbr = versionNbr;
   db.schemaVersion().update(Collections.singleton(curr));
 }
 /** Construct a new, unconfigured instance. */
 public static CurrentSchemaVersion create() {
   final CurrentSchemaVersion r = new CurrentSchemaVersion();
   r.singleton = new CurrentSchemaVersion.Key();
   return r;
 }