public class TMSVersionPersister extends Object
TMSVersion.
Created on 3/22/15.| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.cfg.Configuration |
legacyVersionConfiguration
Configuration hibernate ne mappant que l'entite version de l'ancien systeme de migration.
|
protected Boolean |
legacyVersionTableExist
Un drapeau pour savoir si la table version (de l'ancien service Manual) existe en base.
|
protected org.hibernate.cfg.Configuration |
versionConfiguration
Configuration hibernate ne mappant que l'entite version.
|
protected Boolean |
versionTableExist
Un drapeau pour savoir si la table version existe en base.
|
| Constructor and Description |
|---|
TMSVersionPersister(org.hibernate.cfg.Configuration versionConfiguration,
org.hibernate.cfg.Configuration legacyVersionConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createTableIfRequired() |
protected void |
deleteLegacyTable() |
protected org.nuiton.util.version.Version |
getVersion(TopiaContext tx) |
boolean |
isLegacyVersionTableExist() |
boolean |
isVersionTableExist() |
protected void |
persistVersion(TopiaContext tx,
org.nuiton.util.version.Version version) |
void |
saveVersion(TopiaContext tx,
org.nuiton.util.version.Version version) |
protected final org.hibernate.cfg.Configuration versionConfiguration
protected final org.hibernate.cfg.Configuration legacyVersionConfiguration
protected Boolean versionTableExist
protected Boolean legacyVersionTableExist
public TMSVersionPersister(org.hibernate.cfg.Configuration versionConfiguration,
org.hibernate.cfg.Configuration legacyVersionConfiguration)
public boolean isLegacyVersionTableExist()
public boolean isVersionTableExist()
public void saveVersion(TopiaContext tx, org.nuiton.util.version.Version version) throws TopiaException
TopiaExceptionprotected org.nuiton.util.version.Version getVersion(TopiaContext tx) throws TopiaException
TopiaExceptionprotected void persistVersion(TopiaContext tx, org.nuiton.util.version.Version version) throws TopiaException
TopiaExceptionprotected void createTableIfRequired()
protected void deleteLegacyTable()
Copyright © 2004–2015 CodeLutin. All rights reserved.