Oops, ended up passing that to the ctor rather than a toggly method.

This commit is contained in:
Michael Bayne
2012-02-02 18:30:56 +00:00
parent 020e7911ba
commit 03ee53194b
@@ -54,7 +54,7 @@ public class PersistenceContext
/** Map {@link TableGenerator} instances by name. */
public Map<String, TableGenerator> tableGenerators = Maps.newHashMap();
/** Used by {@link #setCanMigrate}. */
/** Used by {@link PersistenceContext#PersistenceContext(CanMigrate)}. */
public static enum CanMigrate {
/** Schema migrations are allowed (the default). */
ALLOWED,