public interface AutoversionDatabaseConfig
| Modifier and Type | Method and Description |
|---|---|
String |
getSchema(long version)
Returns the classpath resource with the db schema or null if none found (previous is latest)
Example: String.format("/schema/schema%03d.sql", version); 3 = schema003.sql
|
Class<? extends VersionInterface> |
getVersionEntity()
Returns the concrete version tracker entity, defined by the application
|
String getSchema(long version)
version - 0 to nClass<? extends VersionInterface> getVersionEntity()
Copyright © 2013. All Rights Reserved.