public class TMSVersionHibernateDao extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TMSVersionHibernateDao.GetVersionWork |
| Modifier and Type | Field and Description |
|---|---|
static String |
LEGACY_TABLE_NAME |
static String |
TABLE_NAME |
| Constructor and Description |
|---|
TMSVersionHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createTMSSchema(org.hibernate.boot.Metadata metadata) |
static void |
deleteAll(org.hibernate.Session session) |
static void |
dropTMSSchema(org.hibernate.boot.Metadata metadata) |
static org.nuiton.version.Version |
getVersion(org.hibernate.cfg.Configuration hibernateConfiguration,
org.hibernate.Session session,
String tableName) |
static TMSVersion |
readVersion(org.hibernate.Session session) |
static TMSVersion |
saveVersion(org.hibernate.Session session,
String version) |
static void |
update(org.hibernate.Session session,
TMSVersion version) |
public static final String LEGACY_TABLE_NAME
public static final String TABLE_NAME
public static TMSVersion readVersion(org.hibernate.Session session) throws TopiaException
TopiaExceptionpublic static void createTMSSchema(org.hibernate.boot.Metadata metadata)
public static void dropTMSSchema(org.hibernate.boot.Metadata metadata)
public static TMSVersion saveVersion(org.hibernate.Session session, String version) throws TopiaException
TopiaExceptionpublic static void update(org.hibernate.Session session,
TMSVersion version)
throws TopiaException
TopiaExceptionpublic static void deleteAll(org.hibernate.Session session)
throws TopiaException
TopiaExceptionpublic static org.nuiton.version.Version getVersion(org.hibernate.cfg.Configuration hibernateConfiguration,
org.hibernate.Session session,
String tableName)
Copyright © 2004–2016 CodeLutin. All rights reserved.