de.infoasset.platform.documentation
Class SchemaMigrationDoc

java.lang.Object
  extended by de.infoasset.platform.documentation.SchemaMigrationDoc

public class SchemaMigrationDoc
extends java.lang.Object

Schema Migration if the Data Model has Changed

When an application evolves over time, the data model has to change. This happens by changing the Asset classes in the Java code (see AssetPart1Doc). On application start (see RunTriciaDoc), Tricia compares the data model defined by the asset classes and the existing persistent data model in the database (see ObjectRelationalMappingDoc ). If it detects a difference between both models, it creates an SQL script and stores it in the config directory of the application. It is recommended to check this script carefully and to modify it if necessary before executing it manually.


Constructor Summary
SchemaMigrationDoc()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaMigrationDoc

public SchemaMigrationDoc()