public interface AutoversionDatabaseConfig
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the autoversioned db
|
String |
getSchema(long version)
Returns the classpath resource with the db schema or null if none found (previous is latest)
|
long |
getSchemaVersion(javax.persistence.EntityManager em)
Returns the current version of the schema
|
void |
setSchemaVersion(javax.persistence.EntityManager em,
long version)
Sets the new schema version
|
String getName()
long getSchemaVersion(javax.persistence.EntityManager em)
void setSchemaVersion(javax.persistence.EntityManager em,
long version)
em - String getSchema(long version)
version - 0 to nCopyright © 2013. All Rights Reserved.