net.sf.basedb.core.data
Class SchemaVersionData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.SchemaVersionData
- All Implemented Interfaces:
- IdentifiableData
public class SchemaVersionData
- extends BasicData
This class holds information about the current schema version of the database.
It contains only one record. All modifications to the database which requires some
update script action on the data bumps the version number with one.
- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
- Hibernate: class
- table="`SchemaVersion`" lazy="false"
schemaVersion
private int schemaVersion
build
private int build
SchemaVersionData
public SchemaVersionData()
getSchemaVersion
public int getSchemaVersion()
- The current schema version.
- Hibernate: property
- column="`schema_version`" type="int" not-null="true"
setSchemaVersion
public void setSchemaVersion(int schemaVersion)
getBuild
public int getBuild()
- The build number.
- Hibernate: property
- column="`build`" type="int" not-null="true"
setBuild
public void setBuild(int build)