Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\misc\CodeTemplates\KM_JKM Oracle Consistent (Update Date).xml
<?xml version="1.0" encoding="ISO-8859-1"?> <SunopsisExport> <Object class="com.sunopsis.dwg.dbobj.SnpTrt"> <Field name="ExtVersion" type="java.lang.String"><![CDATA[10.1.3.2]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-08-01 14:05:14.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="IndJrnMethod" type="java.lang.String"><![CDATA[C]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IFolder" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IProject" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="IState" type="com.sunopsis.sql.DbInt"><![CDATA[24001]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="ITxtTrtTxt" type="com.sunopsis.sql.DbInt"><![CDATA[31715000]]></Field> <Field name="KimMultiDserver" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KmDefault" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KmSrcTechno" type="java.lang.String">null</Field> <Field name="KmTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LChecksum" type="com.sunopsis.sql.DbInt"><![CDATA[4916]]></Field> <Field name="LCode" type="java.lang.String">null</Field> <Field name="OrdFolder" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="TrtName" type="java.lang.String"><![CDATA[JKM Oracle Consistent (Update Date)]]></Field> <Field name="TrtType" type="java.lang.String"><![CDATA[KJ]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31715000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[COMPONENT NAME: JKM Oracle Consistent (Update Date) COMPONENT VERSION: 10.1.3.2 AUTHOR: Oracle COMPATIBILITY: ODI 10.1.3.5.0 and above DESCRIPTION This KM provides consistent journalization based on a Last_Update_Date column on the source tables. This column must be updated on the source table with the system date by any application inserting or updating rows. The KM will then detect the created and modified records based on the value of this date. Optionally, deletes will be detected thanks to a trigger that will be fired only on Delete statements. Because this KM does not rely on any capture mechanism to detect the changes, the source system performances are not degraded. REQUIREMENTS - Required privilege on the connection user: DBA role - Required privilege on the work schema: SELECT ANY TABLE must be directly granted to the user (not via a role) - All the source tables must have a column maintaining the last update date. The name of this column must be identical for all the source columns. - The column storing the last update date must be indexed for better performances. - The column storing the last update date must be of one of the following data types: DATE or TIMESTAMP. - The column storing the last update date must be loaded with the system date of the RDBM (sysdate, systimestamp) and not with the system date of the client application. - All the source tables must have a primary key defined in the ODI repository. BASIC CONFIGURATION 1. Configure Consistent CDC as described in the ODI documentation. 2. Set the UPDATE_DATE_COL_NAME option with the name of the column that stores the last update date. 3. Set the VALIDATE option to Yes. 4. Start Journalization. 5. Create a subscriber on the CDC Set. 6. Start consuming the changed data. OPTIONS (Refer to Option descriptions for more information on each option) - UPDATE_DATE_COL_NAME(*): Name of the column on the source tables that stores the last update date. - ENABLE_CAPTURE_FOR_DELETE: Allows to deactivate the capture of Deletions for better performance. - COMPATIBLE: Allows to optimize the generated code for a specific version of the database. - VALIDATE: Validates KM options. LIMITATIONS Changed data might be captured multiple times because the capture needs to be restarted from the date of the last uncommitted transaction on source tables when the previous extend window was performed. This KM does not capture changes on the primary key values. When using this KM in a RAC environment, the system time of all the instances must be synchronized.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Edit Command]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[I_TXT_TRT_TXT]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_TRT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31716000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1895000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[10]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[LAST_DATE]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[UPDATE_DATE_COL_NAME]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Name of the update date column]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[V]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31716000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Enter the name of the column that holds the last update date. This column must exist on any journalized table. Its data type must be either DATE or TIMESTAMP and should be indexed for better performance. It is the responsibility of all the applications that modify the source tables to maintain this column with the system date when the Update or the Insert took place. It must be set using sysdate or systimestamp in order to ensure consistency of the dates within the database. If the system date of the client application is used, there is a risk to lose some changes if both systems are not synchronized. This option is mandatory.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[User Exit help]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[I_TXT_UE_HELP]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_USER_EXIT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31717000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1896000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[20]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[ENABLE_CAPTURE_FOR_DELETE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Enable/Disable Capture of Deletions]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31717000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Set this option to NO if you are not interested in capturing the Deletions on the source tables. This will improve the overall performances of the KM. When this option is set to YES, a trigger is created on the source table and some extra steps are generated to compute consistency for deletes.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31718000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1897000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[30]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[9]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[COMPATIBLE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[RDBMS version]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[V]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31718000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[This option affects the use of PURGE key word and the way statistics are collected: Values PURGE STATS 10 Yes DBMS_STATS 9 No DBMS_STATS 8 No ANALYZE]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31720000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[31719000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1898000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[40]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[VALIDATE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Validate KM options]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31719000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[This option generates an extra validation step during development. Validations performed are: - validation of KM option COMPATIBLE - validation of RDBMS version of staging database This option should be turned off for all production use in particular for high-frequency execution. There is not added value in production, only processing overhead.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[4000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[4000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Text value]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[I_TXT_VALUE]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_USER_EXIT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31720000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[This option generates an extra validation step during development. The performed validations are: - validation of KM option COMPATIBLE - validation of RDBMS version of the database This option should be turned off for all production use, in particular for high-frequency execution. There is not added value in production, only processing overhead.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:53.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32134000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32133000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[470]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Register J$ Table in CDC Objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32133000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> ( FULL_TABLE_NAME, CDC_OBJECT_TYPE, FULL_OBJECT_NAME, DB_OBJECT_TYPE ) values ( /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>', /* CDC_OBJECT_TYPE */ 'JRN_FULL_NAME', /* FULL_OBJECT_NAME */ '<%=odiRef.getJrnInfo("JRN_FULL_NAME")%>', /* DB_OBJECT_TYPE */ 'TABLE' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Target Technology]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[DEF_I_TXT]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_LINE_TRT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32134000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_NAME")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_NAME' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Source Technology]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[COL_I_TXT]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_LINE_TRT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32136000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32135000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[480]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create JV$ view]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32135000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create or replace view <%=odiRef.getJrnInfo("JRN_FULL_VIEW")%> /* This view is created in the work physical schema of the current Data server */ as select decode(TARG.ROWID, null, 'D', 'I') <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_FLAG, <%=odiRef.getInfo("DEST_DATE_FCT")%> <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_DATE, /* For V3 compatibility */ JRN.CDC_SUBSCRIBER <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_SUBSCRIBER, /* Renamed for V3 compatibility */ <%=odiRef.getColList("", "JRN.[COL_NAME]\t" + odiRef.getInfo("DEST_COL_ALIAS_WORD") + " [COL_NAME]", ",\n\t", "", "PK")%>, <%=odiRef.getColList("", "TARG.[COL_NAME]\t" + odiRef.getInfo("DEST_COL_ALIAS_WORD") + " [COL_NAME]", ",\n\t", "", "NOT PK")%> from (select <%=odiRef.getColList("", "JRN.[COL_NAME]", ",\t", "", "PK")%>,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS, max(JRN.WINDOW_ID) WINDOW_ID from <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> JRN, <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> SUB where SUB.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and JRN.WINDOW_ID > SUB.MIN_WINDOW_ID and JRN.WINDOW_ID <= SUB.MAX_WINDOW_ID_DEL group by <%=odiRef.getColList("", "JRN.[COL_NAME]", ",\t", "", "PK")%>,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS) JRN, <%=odiRef.getJrnInfo("FULL_TABLE_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TARG where <%=odiRef.getColList("", "JRN.[COL_NAME]\t= TARG.[COL_NAME] (+)", "\nand\t", "", "PK")%> and not ( TARG.ROWID is not null and JRN.WINDOW_ID > JRN.MAX_WINDOW_ID_INS ) ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32136000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_VIEW")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32138000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32137000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[490]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Register view in CDC Objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32137000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> ( FULL_TABLE_NAME, CDC_OBJECT_TYPE, FULL_OBJECT_NAME, DB_OBJECT_TYPE ) values ( /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>', /* CDC_OBJECT_TYPE */ 'JRN_FULL_VIEW', /* FULL_OBJECT_NAME */ '<%=odiRef.getJrnInfo("JRN_FULL_VIEW")%>', /* DB_OBJECT_TYPE */ 'VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32138000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_VIEW")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32140000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32139000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[540]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create data view]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32139000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create or replace view <%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%> /* This view is created in the work physical schema of the current Data server */ as select decode(TARG.ROWID, null, 'D', 'I') <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_FLAG, sysdate <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_DATE, /* For V3 compatibility */ PKS.CDC_SUBSCRIBER <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> JRN_SUBSCRIBER, /* Renamed for V3 compatibility */ <%=odiRef.getColList("", "PKS.[COL_NAME]\t" + odiRef.getInfo("DEST_COL_ALIAS_WORD") + " [COL_NAME]", ",\n\t", "", "PK")%>, <%=odiRef.getColList("", "TARG.[COL_NAME]\t" + odiRef.getInfo("DEST_COL_ALIAS_WORD") + " [COL_NAME]", ",\n\t", "", "NOT PK")%> from ( select SUB.CDC_SUBSCRIBER, <%=odiRef.getColList("", "JRN.[COL_NAME]", ",\n\t", "", "PK")%> from <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> JRN, <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> SUB where (JRN.WINDOW_ID > SUB.MIN_WINDOW_ID or JRN.WINDOW_ID is null) and SUB.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' union select SUB.CDC_SUBSCRIBER, <%=odiRef.getColList("", "TARG.[COL_NAME]", ",\n\t", "", "PK")%> from <%=odiRef.getJrnInfo("FULL_TABLE_NAME")%> TARG, <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> SUB, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> CDCTAB where TARG.<%=odiRef.getOption("UPDATE_DATE_COL_NAME")%> >= CDCTAB.CDC_LAST_DATE and SUB.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDCTAB.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDCTAB.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' ) PKS, <%=odiRef.getJrnInfo("FULL_TABLE_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TARG where <%=odiRef.getColList("", "PKS.[COL_NAME]\t= TARG.[COL_NAME] (+)", "\nand\t", "", "PK")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32140000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_DATA_VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32142000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32141000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[550]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Register data view in CDC Objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32141000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> ( FULL_TABLE_NAME, CDC_OBJECT_TYPE, FULL_OBJECT_NAME, DB_OBJECT_TYPE ) values ( /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>', /* CDC_OBJECT_TYPE */ 'JRN_FULL_DATA_VIEW', /* FULL_OBJECT_NAME */ '<%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%>', /* DB_OBJECT_TYPE */ 'VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32142000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_DATA_VIEW' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:56.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32144000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32143000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[560]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create trigger for Deletes]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32143000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[triggerCmd = """ create or replace trigger <%=odiRef.getJrnInfo("JRN_FULL_TRIGGER")%> after delete on <%=odiRef.getJrnInfo("FULL_TABLE_NAME")%> for each row declare <%=odiRef.getColList("", "V_[COL_NAME]\t[DEST_CRE_DT];", "\n\t", "", "PK")%> begin <%=odiRef.getColList("", "V_[COL_NAME] := :old.[COL_NAME];", "\n\t\t", "", "PK")%> insert into <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> ( WINDOW_ID, <%=odiRef.getColList("", "[COL_NAME]", ",\n\t\t", "", "PK")%> ) values ( /* WINDOW_ID */ NULL, <%=odiRef.getColList("", ":old.[COL_NAME]", ",\n\t\t\t", "", "PK")%> ); end; """ # Create the statement myStmt = myCon.createStatement() # Execute the trigger creation myStmt.execute(triggerCmd) myStmt.close() myStmt = None # Commit, just in case myCon.commit()]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32144000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_TRIGGER")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_TRIGGER' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32146000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32145000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[570]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Register trigger in CDC Objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32145000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> ( FULL_TABLE_NAME, CDC_OBJECT_TYPE, FULL_OBJECT_NAME, DB_OBJECT_TYPE ) values ( /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>', /* CDC_OBJECT_TYPE */ 'JRN_FULL_TRIGGER', /* FULL_OBJECT_NAME */ '<%=odiRef.getJrnInfo("JRN_FULL_TRIGGER")%>', /* DB_OBJECT_TYPE */ 'TRIGGER' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32146000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_TRIGGER")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_TRIGGER' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32147000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[580]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Unregister subscriber]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32147000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delCmd = """ delete from <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDC.CDC_SUBSCRIBER = ? """ # Prepare the delete prepDelStmt = myCon.prepareStatement(delCmd) # Execute it for each subscriber for sbs in lstSbs: prepDelStmt.setString(1, sbs) nbRows = prepDelStmt.executeUpdate() prepDelStmt.close() # Commit the updates myCon.commit()]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32148000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[590]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Delete table from the set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32148000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDC.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32149000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[600]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Delete tables from the set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32149000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32150000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[610]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Declare table in Set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32150000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> ( CDC_SET_NAME, FULL_TABLE_NAME, FULL_DATA_VIEW, RETRIEVE_DATA, REFRESH_ROW_COUNT, CDC_LAST_DATE, CDC_CURRENT_DATE ) values ( /* CDC_SET_NAME */ '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>', /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>', /* FULL_DATA_VIEW */ '<%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%>', /* RETRIEVE_DATA */ NULL, /* REFRESH_ROW_COUNT */ 'update <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> SUBS set SUBS.CDC_ROW_COUNT = (select SUBS.CDC_ROW_COUNT + count(*) from <%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%> where JRN_SUBSCRIBER = ''$$SUBSCRIBER_NAME$$'') where CDC_SET_NAME = ''<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>'' and CDC_SUBSCRIBER=''$$SUBSCRIBER_NAME$$''', sysdate, sysdate )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32151000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[620]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Unregister all subscribers]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32151000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32152000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[640]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Delete CDC Set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32152000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32153000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[650]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop temp table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32153000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop table <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "purge" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:57.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32154000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[660]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Lock CDC Set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32154000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* Mandatory to prevent OdiRetrieveData or other Extend window in parallel */ update <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC set CDC.CUR_WINDOW_ID = CDC.CUR_WINDOW_ID + 2, CDC.CUR_WINDOW_ID_INS = CDC.CUR_WINDOW_ID + 1, CDC.CUR_WINDOW_ID_DEL = CDC.CUR_WINDOW_ID + 2 where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32155000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[D]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[670]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Store Current Date]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32155000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[update <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> set CDC_CURRENT_DATE = ( select nvl(min(TR.start_date), sysdate) from gv$transaction TR, gv$session SE, gv$lock LK, all_objects OB where TR.addr = SE.taddr and SE.sid = LK.sid and LK.id1 = OB.object_id and OB.owner || '.' || OB.object_name = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>') where CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32172000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[120]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create table list table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32172000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create table <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> ( CDC_SET_NAME <%=odiRef.getDataType("DEST_VARCHAR" , "255")%> not null, /* Name of the CDC Set (ODI model code following the Local Mask syntax) */ FULL_TABLE_NAME <%=odiRef.getDataType("DEST_VARCHAR", "255")%> not null, /* Complete name of the journalized table */ FULL_DATA_VIEW <%=odiRef.getDataType("DEST_VARCHAR", "255")%> not null, /* Complete name of the journalizing data view */ RETRIEVE_DATA <%=odiRef.getDataType("DEST_VARCHAR", "2000")%> null, /* Command to execute to retrieve the journal data (used by the OdiRetrieveJournalData tool) */ REFRESH_ROW_COUNT <%=odiRef.getDataType("DEST_VARCHAR", "2000")%> null, /* Command to execute to refresh the row count (used by the OdiRefreshRowCount tool) */ CDC_LAST_DATE DATE, CDC_CURRENT_DATE DATE, constraint PK_SNP_CDC_TBL primary key (FULL_TABLE_NAME) )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32173000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[150]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create CDC Objects table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32173000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create table <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> ( FULL_TABLE_NAME <%=odiRef.getDataType("DEST_VARCHAR", "255")%> not null, /* Complete name of the journalized table */ CDC_OBJECT_TYPE <%=odiRef.getDataType("DEST_VARCHAR", "35")%> not null, /* Type of the object in the CDC framework */ FULL_OBJECT_NAME <%=odiRef.getDataType("DEST_VARCHAR", "255")%> not null, /* Complete name of the object */ DB_OBJECT_TYPE <%=odiRef.getDataType("DEST_VARCHAR", "35")%> null, /* RDBMS type of the object (ex : TABLE, VIEW, TRIGGER) */ constraint PK_SNP_CDC_OBJ primary key (FULL_TABLE_NAME, CDC_OBJECT_TYPE) )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32174000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[160]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Declare CDC Set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32174000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> ( CDC_SET_NAME, CUR_WINDOW_ID, CUR_WINDOW_ID_DEL, CUR_WINDOW_ID_INS, RETRIEVE_DATA, REFRESH_ROW_COUNT ) values ( /* CDC_SET_NAME */ '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>', /* CUR_WINDOW_ID */ -1, /* CUR_WINDOW_ID_DEL */ -1, /* CUR_WINDOW_ID_INS */ -1, /* RETRIEVE_DATA */ NULL, /* REFRESH_ROW_COUNT */ 'update <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> set CDC_ROW_COUNT = 0 where CDC_SUBSCRIBER = ''$$SUBSCRIBER_NAME$$'' and CDC_SET_NAME = ''<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>''' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32156000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[D]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[680]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Extend consistency window (inserts)]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32156000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* Compute Window Id for each table of the CDC Set from children to parents */ /* This computes consistency regarding Inserts and Updates */ /* Since there are no triggers, the J$ table is populated by the extend window step... */ insert into <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> ( WINDOW_ID, <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "PK")%> ) select /* WINDOW_ID */ CDCSET.CUR_WINDOW_ID + 1, <%=odiRef.getColList("", "TARG.[COL_NAME]", ",\n\t", "", "PK")%> from <%=odiRef.getJrnInfo("FULL_TABLE_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TARG, <%=odiRef.getJrnInfo("CDC_SET_TABLE" )%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDCSET, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> CDCTAB where TARG.<%=odiRef.getOption("UPDATE_DATE_COL_NAME")%> >= CDCTAB.CDC_LAST_DATE and CDCSET.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDCTAB.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDCTAB.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32157000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[690]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Extend consistency window (deletes)]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32157000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* Compute Window Id for each table of the CDC Set from parents to children */ /* This computes consistency regarding Deletes */ update <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> JRN set JRN.WINDOW_ID = ( select CDC.CUR_WINDOW_ID_DEL + 2 from <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' ) where JRN.WINDOW_ID is null]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32158000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[D]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[700]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Release Current Date]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32158000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[update <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> set CDC_LAST_DATE = CDC_CURRENT_DATE where CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String"><![CDATA[1]]></Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32159000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[710]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Unlock CDC Set]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32159000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* commit */]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32160000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[730]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Unlock subscriber]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32160000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[updCmd = """ update <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> SUBS set SUBS.MIN_WINDOW_ID = SUBS.MAX_WINDOW_ID_INS where SUBS.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and SUBS.CDC_SUBSCRIBER = ? """ # Prepare the update prepUpdStmt = myCon.prepareStatement(updCmd) # Execute it for each subscriber for sbs in lstSbs: prepUpdStmt.setString(1, sbs) nbRows = prepUpdStmt.executeUpdate() prepUpdStmt.close() # Commit the updates myCon.commit()]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32161000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[740]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Cleanup journalized table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32161000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* Delete rows from journalizing tables that are useless for each subscriber */ delete from <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> JRN where JRN.WINDOW_ID <= ( select min(SUBS.MIN_WINDOW_ID) from <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> SUBS where SUBS.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32162000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[750]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Analyze journalizing table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32162000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() < 9 ) { %> analyze table <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> estimate statistics <% } else { %> begin dbms_stats.gather_table_stats( ownname => '<%=odiRef.getInfo( "DEST_WORK_SCHEMA" )%>', tabname => '<%=odiRef.getJrnInfo("JRN_FULL_NAME").replaceAll("","").replaceAll("..>",".replaceAll(odiRef.getInfo( \\u0022DEST_WORK_SCHEMA\\u0022 )+\\u0022.\\u0022,\\u0022\\u0022)?>")%>', estimate_percent => dbms_stats.auto_sample_size ); end; <% }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32163000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[760]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Analyze subscriber table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32163000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* After each change on the content of this table we recompute the statistics */ /* Statistics are always up to date on this table */ <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() < 9 ) { %> analyze table <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> compute statistics <% } else { %> begin dbms_stats.gather_table_stats( ownname => '<%=odiRef.getSchemaNameDefaultPSchema( "W" )%>', tabname => '<%=odiRef.getJrnInfo("CDC_SUBS_TABLE").replaceAll("","").replaceAll("..>",".replaceAll(odiRef.getSchemaNameDefaultPSchema(\\u0022W\\u0022)+\\u0022.\\u0022,\\u0022\\u0022)?>")%>', estimate_percent => dbms_stats.auto_sample_size ); end; <%}; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32164000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[770]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Analyze table list table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32164000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* After each change on the content of this table we recompute the statistics */ /* Statistics are always up to date on this table */ <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() < 9 ) { %> analyze table <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> compute statistics <% } else { %> begin dbms_stats.gather_table_stats( ownname => '<%=odiRef.getSchemaNameDefaultPSchema( "W" )%>', tabname => '<%=odiRef.getJrnInfo("CDC_TABLE_TABLE").replaceAll("","").replaceAll("..>",".replaceAll(odiRef.getSchemaNameDefaultPSchema(\\u0022W\\u0022)+\\u0022.\\u0022,\\u0022\\u0022)?>")%>', estimate_percent => dbms_stats.auto_sample_size ); end; <%}; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32165000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[780]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Analyze CDC Set table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32165000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() < 9 ) { %> analyze table <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> compute statistics <% } else { %> begin dbms_stats.gather_table_stats( ownname => '<%=odiRef.getSchemaNameDefaultPSchema( "W" )%>', tabname => '<%=odiRef.getJrnInfo("CDC_SET_TABLE").replaceAll("","").replaceAll("..>",".replaceAll(odiRef.getSchemaNameDefaultPSchema(\\u0022W\\u0022)+\\u0022.\\u0022,\\u0022\\u0022)?>")%>', estimate_percent => dbms_stats.auto_sample_size ); end; <%}; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32166000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[10]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Validate KM options]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32166000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[# Validating KM options <% /* Validate COMPATIBLE */ if (!( "7".equals( odiRef.getOption ("COMPATIBLE") ) || "8".equals( odiRef.getOption ("COMPATIBLE") ) || "9".equals( odiRef.getOption ("COMPATIBLE") ) || "10".equals( odiRef.getOption ("COMPATIBLE") ) || "11".equals( odiRef.getOption ("COMPATIBLE") ) )) { out.print( "raise '''\nInvalid value for IKM option COMPATIBLE'''" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32168000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32167000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[20]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Check RDBMS version]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32167000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[if #V0 < <%=odiRef.getOption( "COMPATIBLE" )%>: raise '\nYou are using RDBMS version #V0.#V1. This version does not support IKM COMPATIBLE= <%=odiRef.getOption( "COMPATIBLE" )%>.']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32168000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This query returns the COMPATIBLE setting of the RDBMS */ select case when upper(name) = 'COMPATIBLE' then to_number(substr(value, 1, instr(value, '.',1,1)-1)) else null end v0, case when upper(name) = 'COMPATIBLE' then to_number(substr(value, instr(value, '.',1,1)+1, instr(value, '.',1,2)-instr(value, '.',1,1)-1)) else null end v1 from v$parameter where upper(name) = 'COMPATIBLE']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32169000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[110]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create CDC Set table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32169000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This table is created in the work physical schema set as default for the Data server */ create table <%=odiRef.getJrnInfo( "CDC_SET_TABLE" )%> ( CDC_SET_NAME <%=odiRef.getDataType("DEST_VARCHAR" , "255", "0" )%> not null, /* Name of the CDC Set (ODI model code following the Local Mask syntax) */ CUR_WINDOW_ID <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Last window Id that has been used */ CUR_WINDOW_ID_DEL <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Last Window Id used to compute delete consitency */ CUR_WINDOW_ID_INS <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Last Window Id used to compute inert / update consitency */ RETRIEVE_DATA <%=odiRef.getDataType("DEST_VARCHAR", "2000")%> null, /* Command to execute in order to retrieve the journal data (used by the OdiRetrieveJournalData tool) */ REFRESH_ROW_COUNT <%=odiRef.getDataType("DEST_VARCHAR", "2000")%> null, /* Command to execute in order to refresh the row count(used by the OdiRefreshJournalData tool) */ constraint PK_SNP_CDC_SET primary key (CDC_SET_NAME) )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32170000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[80]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Initialize Jython environment]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32170000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[import java.sql as sql import java.lang as lang # Connect to the Source Database ie the one that hosts the journalized tables myCon = odiRef.getJDBCConnection("SRC") # Create the list of Subscribers for a CDC Set lstSbs = [] <%= odiRef.getSubscriberList("" , "lstSbs.append('[SUBSCRIBER]')", "\n", "") %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:58.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32171000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[100]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create subscribers table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32171000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This table is created in the work physical schema set as default for the Data server */ create table <%=odiRef.getJrnInfo( "CDC_SUBS_TABLE" )%> ( CDC_SET_NAME <%=odiRef.getDataType("DEST_VARCHAR" , "255", "0" )%> not null, /* Name of the CDC Set (ODI model code following the Local Mask syntax) */ CDC_SUBSCRIBER <%=odiRef.getDataType("DEST_VARCHAR" , "35", "0" )%> not null, /* Name of the subscriber who subscribed to the CDC Set */ CDC_REFDATE <%=odiRef.getDataType("DEST_DATE")%> not null, /* Last update of the record */ MIN_WINDOW_ID <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Window Ids under this one should be ignored */ MAX_WINDOW_ID <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Maximum Window Id used by this subscription */ MAX_WINDOW_ID_DEL <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Maximum Window Id to take into consideration when looking at consistency for deletes */ MAX_WINDOW_ID_INS <%=odiRef.getDataType("DEST_NUMERIC", "20")%> not null, /* Maximum Window Id to take into consideration when looking at consistency for inserts / updates */ CDC_ROW_COUNT <%=odiRef.getDataType("DEST_NUMERIC", "10")%> not null, /* Number of rows in the journalizing tables for this subscription */ constraint PK_SNP_CDC_SBS primary key (CDC_SET_NAME, CDC_SUBSCRIBER) )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32175000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[170]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Update CDC Set Definition]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32175000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[update <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC set CDC.RETRIEVE_DATA = NULL, CDC.REFRESH_ROW_COUNT = 'update <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> set CDC_ROW_COUNT = 0 where CDC_SUBSCRIBER = ''$$SUBSCRIBER_NAME$$'' and CDC_SET_NAME = ''<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>''' where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32176000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[190]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Register subscriber]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32176000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insCmd = """ insert into <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> ( CDC_SET_NAME, CDC_SUBSCRIBER, CDC_REFDATE, MIN_WINDOW_ID, MAX_WINDOW_ID, MAX_WINDOW_ID_DEL, MAX_WINDOW_ID_INS, CDC_ROW_COUNT ) select /* CDC_SET_NAME */ '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>', /* CDC_SUBSCRIBER */ ?, /* CDC_REFDATE */ sysdate, /* MIN_WINDOW_ID */ CDC.CUR_WINDOW_ID, /* MAX_WINDOW_ID */ -1, /* MAX_WINDOW_ID_DEL */ -1, /* MAX_WINDOW_ID_INS */ -1, /* CDC_ROW_COUNT */ 0 from <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' """ selCmd = """ select count('X') from <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDC.CDC_SUBSCRIBER = ? """ # Prepare the statements prepInsStmt = myCon.prepareStatement(insCmd) prepSelStmt = myCon.prepareStatement(selCmd) # Execute for each subscriber for sbs in lstSbs: prepSelStmt.setString(1, sbs) rs = prepSelStmt.executeQuery() rs.next() nbSubs = rs.getInt(1) if (nbSubs == 0): prepInsStmt.setString(1, sbs) nbRows = prepInsStmt.executeUpdate() prepInsStmt.close() prepSelStmt.close() # Commit the updates myCon.commit()]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32177000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[200]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop trigger]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32177000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop trigger <%=odiRef.getJrnInfo("JRN_FULL_TRIGGER")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32178000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[210]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop journalizing view]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32178000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop view <%=odiRef.getJrnInfo("JRN_FULL_VIEW")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32179000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[220]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop JV$D view]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32179000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop view <%=odiRef.getJrnInfo("JRN_FULL_DATA_VIEW")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32180000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[230]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop J$ Table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32180000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop table <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "purge" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32181000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[240]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Delete table from CDC Objects table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32181000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TRG where TRG.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>']]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32183000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32182000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[350]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop remaining objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32182000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop #DB_OBJECT_TYPE #DB_OBJECT_NAME <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "#DROP_OPTION" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32183000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This query returns a row for each journalizing trigger, view or table if the table is no longer a part of the CDC Set */ select OBJ.DB_OBJECT_TYPE <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DB_OBJECT_TYPE, OBJ.FULL_OBJECT_NAME <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DB_OBJECT_NAME, case when upper (OBJ.DB_OBJECT_TYPE) = 'TABLE' then 'PURGE' else '' end <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DROP_OPTION from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDC.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and OBJ.DB_OBJECT_TYPE in ('TRIGGER', 'VIEW', 'TABLE')]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32184000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[370]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop temp table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32184000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop table <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "purge" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32185000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[140]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Add columns to table list table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32185000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[alter table <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> add ( CDC_LAST_DATE DATE, CDC_CURRENT_DATE DATE )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32186000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[380]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create temp table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32186000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create table <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> ( FULL_TABLE_NAME <%=odiRef.getDataType("DEST_VARCHAR", "255")%> not null )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32187000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[430]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Insert temp table list]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32187000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> ( FULL_TABLE_NAME ) values ( /* FULL_TABLE_NAME */ '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32189000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32188000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[440]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop useless objects]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32188000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop #DB_OBJECT_TYPE #DB_OBJECT_NAME <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "#DROP_OPTION" ); }; %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32189000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This query returns a row for each journalizing trigger, view or table if the table is no longer a part of the CDC Set */ select OBJ.DB_OBJECT_TYPE <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DB_OBJECT_TYPE, OBJ.FULL_OBJECT_NAME <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DB_OBJECT_NAME, case when upper (OBJ.DB_OBJECT_TYPE) = 'TABLE' then 'PURGE' else '' end <%=odiRef.getInfo("DEST_COL_ALIAS_WORD")%> DROP_OPTION from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and CDC.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and OBJ.DB_OBJECT_TYPE in ('TRIGGER', 'VIEW', 'TABLE') and not exists ( select 'X' from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TMP where TMP.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:42:59.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32191000]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32190000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[A]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[460]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create J$ Table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32190000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* This command is sent to the database only if the table is not already a part of the set */ /* If you want this command to be always executed, remove the query on the source tab */ create table <%=odiRef.getJrnInfo("JRN_FULL_NAME")%> /* This table is created in the work physical schema of the current Data server */ ( WINDOW_ID <%=odiRef.getDataType("DEST_NUMERIC", "20")%> null, <%=odiRef.getColList("", "[COL_NAME]\t[DEST_WRI_DT] null", ",\n\t", "", "PK")%> )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32191000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[select FULL_TABLE_NAME <%= odiRef.getInfo("DEST_COL_ALIAS_WORD") %> FULL_TABLE_NAME from <%=odiRef.getObjectName("L" ,"SNP_TMP_TABLE_LIST" , "W")%> <%= odiRef.getInfo("DEST_TAB_ALIAS_WORD") %> TMP where TMP.FULL_TABLE_NAME = '<%=odiRef.getJrnInfo("FULL_TABLE_NAME")%>' and not exists ( select 'X' from <%=odiRef.getJrnInfo("CDC_OBJECTS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> OBJ, <%=odiRef.getJrnInfo("CDC_TABLE_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> TBL where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME and TBL.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and OBJ.FULL_OBJECT_NAME = '<%=odiRef.getJrnInfo("JRN_FULL_NAME")%>' and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_NAME' )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[5000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32192000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[720]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Lock subscriber]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[32192000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[updCmd = """ update <%=odiRef.getJrnInfo("CDC_SUBS_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> SUBS set ( SUBS.MAX_WINDOW_ID, SUBS.MAX_WINDOW_ID_INS, SUBS.MAX_WINDOW_ID_DEL ) = ( select CDC.CUR_WINDOW_ID, CDC.CUR_WINDOW_ID_INS, CDC.CUR_WINDOW_ID_DEL from <%=odiRef.getJrnInfo("CDC_SET_TABLE")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> CDC where CDC.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' ) where SUBS.CDC_SET_NAME = '<%=odiRef.getObjectName("L", odiRef.getJrnInfo("JRN_COD_MOD"), "D")%>' and SUBS.CDC_SUBSCRIBER = ? """ # Prepare the update prepUpdStmt = myCon.prepareStatement(updCmd) # Execute it for each subscriber for sbs in lstSbs: prepUpdStmt.setString(1, sbs) nbRows = prepUpdStmt.executeUpdate() prepUpdStmt.close() # Commit the updates myCon.commit()]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-06 15:43:00.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[POMAZEN]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1898000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[10]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1898000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[20]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1896000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[560]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1896000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[570]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[336000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1896000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[690]]></Field> </Object> <Object class="com.sunopsis.dwg.DwgExportSummary"> <Field name="ExpTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="InstObjNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="JoinColNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="JoinNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="KeyColNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="KeyNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="LinkDiagNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="MorigTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="MtxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="OrigTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[5]]></Field> <Field name="OtherObjectsNb" type="com.sunopsis.sql.DbInt"><![CDATA[59]]></Field> <Field name="PlanAgentNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="StepNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="TxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[66]]></Field> <Field name="UeOrigNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="UeUsedNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="VarPlanAgentNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="ScenTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="OriginRepositoryID" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> </Object> </SunopsisExport>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de