Class TMSVersionDAO
java.lang.Object
org.nuiton.topia.migration.mappings.TMSVersionDAO
TMSVersion DAO helper.
- Since:
- 2.3.4
- Author:
- tchemit <chemit@codelutin.com>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TMSVersioncreate(TopiaContext tx, String version) static voidcreateTable(org.hibernate.boot.Metadata metatada) static voidstatic voiddropTable(org.hibernate.boot.Metadata metatada) static TMSVersionget(TopiaContext tx) static org.nuiton.version.VersiongetVersion(TopiaContext tx, String tableName) static voidupdate(TopiaContext tx, TMSVersion version)
-
Field Details
-
LEGACY_TABLE_NAME
- See Also:
-
TABLE_NAME
- See Also:
-
LEGACY_MAPPING
-
-
Constructor Details
-
TMSVersionDAO
public TMSVersionDAO()
-
-
Method Details
-
get
- Throws:
TopiaException
-
createTable
public static void createTable(org.hibernate.boot.Metadata metatada) -
dropTable
public static void dropTable(org.hibernate.boot.Metadata metatada) -
create
- Throws:
TopiaException
-
update
- Throws:
TopiaException
-
deleteAll
- Throws:
TopiaException
-
getVersion
-