org.nuiton.topia.migration.mappings
Class TMSVersionDAO
java.lang.Object
org.nuiton.topia.migration.mappings.TMSVersionDAO
public class TMSVersionDAO
- extends Object
TMSVersion DAO helper.
- Since:
- 2.3.4
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEGACY_TABLE_NAME
public static final String LEGACY_TABLE_NAME
- See Also:
- Constant Field Values
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
LEGACY_MAPPING
public static final String LEGACY_MAPPING
TMSVersionDAO
public TMSVersionDAO()
get
public static TMSVersion get(TopiaContext tx)
throws TopiaException
- Throws:
TopiaException
createTable
public static void createTable(org.hibernate.cfg.Configuration configuration)
dropTable
public static void dropTable(org.hibernate.cfg.Configuration configuration)
create
public static TMSVersion create(TopiaContext tx,
String version)
throws TopiaException
- Throws:
TopiaException
update
public static void update(TopiaContext tx,
TMSVersion version)
throws TopiaException
- Throws:
TopiaException
deleteAll
public static void deleteAll(TopiaContext tx)
throws TopiaException
- Throws:
TopiaException
getVersion
public static org.nuiton.util.Version getVersion(TopiaContext tx,
String tableName)
Copyright © 2004-2010 CodeLutin. All Rights Reserved.