1 / 5

HISTORISATION

HISTORISATION. REGLES D’HISTORISATION. Si l’on veut historiser une table T de l’application, il faut créer une table historique dont le nom correspond à la table T precedé de H_ Exemple la table « CONTRAT_GEL » est historisée dans « H_CONTRAT_GEL »

caspar
Télécharger la présentation

HISTORISATION

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HISTORISATION

  2. REGLES D’HISTORISATION • Si l’on veut historiser une table T de l’application, il faut créer une table historique dont le nom correspond à la table T precedé de H_ Exemple la table « CONTRAT_GEL » est historisée dans « H_CONTRAT_GEL » • La table historique doit contenir un champ de plus correspondant à la date d’historisation

  3. Le nom des tables à historiser se trouvent dans le fichier xml : HistoriqueServiceXML.xml • Certains nom de tables sont précédés du mot « MULTIBASE » qui correspond à la balise du fichier PacacsEnv.xml de la base pluri-annuelle. • La table dont on veut historiser le contenu doit être ajoutée au fichier xml sous la forme : <TABLE NOM=«[MULTIBASE].nom de la table»/>

  4. PARTICULARITES • L’appel du service historise les données de toutes les tables consignées dans HistoriqueServiceXML.xml • L’historisation du dossier positionne le champ premierPassage à faux et le champ status à KO de la table TRAITEMENT_POUR_DOSSIER • Si la table à historiser ne contient pas le numero pacage on fait la jointure avec la table SURFACE_CONTROLE

  5. VUE GENERALE historiseDossier(Dossier dossier, Date dhHisto) HistoriqueService.java HistoriqueServiceXML.xml HistoriqueDB.java DB DB Pluri-annuelle pacacs

More Related