I tried to Deploy a DCR to DB, but I had some problems.
DD Process works correctly for the first group but not works for the second group defined in DBSchema.
DDeploy update the record in first group but dosn't update records in the second group.
If I delete one voice in my replicant item in my DCR DataDeploy dosn't delete a relative records in a table.
Can I manage this error?
Follows DBSchema and DDeploy log
<database use="$dbname" update-type = "standalone" real-update="no" delete-tracker="yes" >
<dbschema>
<group name="WSFONDO0" table="WSFONDO0" root-group="yes">
<attrmap>
<column name="WSFO_COD_FON" data-type="INTEGER" value-from-field="anagrafica/0/codice_fondo" is-replicant="no" allows-null="yes"/>
<column name="WSFO_DAT_INI_FON" data-type="DATE" data-format="yyyy-MM-dd" value-from-callout="iwov:dd:java:com.interwoven.dd100.dd.DateParseSGRProdotti" allows-null="yes"/>
<column name="WSFO_DSC_OZT_TEM" data-type="VARCHAR(60)" value-from-field="anagrafica/0/orizzontetemporale" is-replicant="no" allows-null="yes"/>
<column name="WSFO_DSC_ESG" data-type="VARCHAR(60)" value-from-field="anagrafica/0/esigenza" is-replicant="no" allows-null="yes"/>
<column name="WSFO_PTH_TMS" data-type="VARCHAR(200)" value-from-field="path" is-replicant="no" allows-null="yes"/>
<column name="WSFO_STS_TMS" data-type="VARCHAR(20)" value-from-field="state" is-replicant="no" allows-null="yes"/>
<column name="WSFO_NOT_PTH" data-type="VARCHAR(250)" value-from-field="urlprodotto" is-replicant="no" allows-null="yes"/>
<column name="WSFO_COD_NUM" data-type="INTEGER" value-from-field="anagrafica/0/isin_fondo" is-replicant="no" allows-null="yes"/>
<column name="WSFO_NOT_FON" data-type="VARCHAR(250)" value-from-field="anagrafica/0/nome_fondo" is-replicant="no" allows-null="yes"/>
</attrmap>
<keys>
<primary-key>
<key-column name="WSFO_COD_FON"/>
</primary-key>
</keys>
</group>
<group name="WSREFFON" table="WSREFFON" root-group="no">
<attrmap>
<column name="WSRE_COD_REF" data-type="INTEGER" value-from-field="anagrafica/0/codice_reference" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_TIP_PDO" data-type="INTEGER" value-from-field="anagrafica/0/tipo_prodotto" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_RCH" data-type="INTEGER" value-from-field="anagrafica/0/livellorischio" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_VAL_RCH" data-type="INTEGER" value-from-field="anagrafica/0/profilorischio" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_FAM" data-type="INTEGER" value-from-field="anagrafica/0/tipo_famiglia" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_CAT_****" data-type="INTEGER" value-from-field="anagrafica/0/cat_****_gest" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_TIP_FON" data-type="INTEGER" value-from-field="anagrafica/0/tipo_fondo" is-replicant="no" allows-null="yes"/>
<column name="WSRE_COD_FON" data-type="INTEGER" value-from-field="anagrafica/0/codice_fondo" is-replicant="no" allows-null="yes"/>
</attrmap>
<keys>
<primary-key>
<key-column name="WSRE_COD_REF"/>
<key-column name="WSRE_COD_FON"/>
</primary-key>
</keys>
</group>
TeamSite_Templating data_root is set to templatedata
Database Vendor set to ibm
SQL datatype for column WSFO_COD_FON is INTEGER
SQL datatype for column WSFO_DAT_INI_FON is DATE
SQL datatype for column WSFO_DSC_OZT_TEM is VARCHAR(60)
SQL datatype for column WSFO_DSC_ESG is VARCHAR(60)
SQL datatype for column WSFO_PTH_TMS is VARCHAR(200)
SQL datatype for column WSFO_STS_TMS is VARCHAR(20)
SQL datatype for column WSFO_NOT_PTH is VARCHAR(250)
SQL datatype for column WSFO_COD_NUM is INTEGER
SQL datatype for column WSFO_NOT_FON is VARCHAR(250)
# of columns: 9
# of primary key columns specified: 1
SQL datatype for column WSRE_COD_REF is INTEGER
SQL datatype for column WSRE_COD_TIP_PDO is INTEGER
SQL datatype for column WSRE_COD_RCH is INTEGER
SQL datatype for column WSRE_COD_VAL_RCH is INTEGER
SQL datatype for column WSRE_COD_FAM is INTEGER
SQL datatype for column WSRE_COD_CAT_**** is INTEGER
SQL datatype for column WSRE_COD_TIP_FON is INTEGER
SQL datatype for column WSRE_COD_FON is INTEGER
# of columns: 8
# of primary key columns specified: 1
# of foreign key columns specified: 1
SQL datatype for column WSSF_COD_SET is INTEGER
SQL datatype for column WSSF_COD_FON is INTEGER
SQL datatype for column WSSF_NUM_PRC_FON is DECIMAL(15,5)
# of columns: 3
# of primary key columns specified: 1
SQL datatype for column WSPF_COD_PAE is INTEGER
SQL datatype for column WSPF_COD_FON is INTEGER
SQL datatype for column WSPF_NUM_PRC_FON is DECIMAL(15,5)
# of columns: 3
# of primary key columns specified: 1
# of groups defined in <dbschema> element: 4
Area VPath:main/BPM/Sgr/WORKAREA/iwmaster
Setting up TDbSchemaAgent.
>>> Loading drivers <<<
url : //sviudb01:6789/MCP
login : prova
login timeout=3
Connecting to the database...
Try connecting using jdbc:db2://sviudb01:6789/MCP...
Connected to jdbc:db2://sviudb01:6789/MCP
Driver IBM DB2 JDBC 2.0 Type 3
Version 07.02.0004
Connected to [//sviudb01:6789/MCP]
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'IWOV_IDMAPS'
Building mappings cache...
Built mapping cache(s) successfully.
# column mappings: 0
# table mappings: 3
# view mappings: 0
# constraint mappings: 4
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'IWDELTRACKER'
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'WSFONDO0'
Table [WSFONDO0] exists.
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'WSSETFON'
Table [WSSETFON] exists.
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'WSPAEFON'
Table [WSPAEFON] exists.
SELECT * FROM SYSIBM.SYSTABLES WHERE NAME = 'WSREFFON'
Table [WSREFFON] exists.
Running deployment [schedaprodotto]
extraction type=default
tuple mode=wide
area=main/BPM/Sgr/WORKAREA/iwmaster
/default/main/BPM/Sgr/WORKAREA/iwmaster/templatedata/prodotti/scheda_prodotti/data/Bipiemme_Americhe
Generate TDCRTupleProducer start:Thu Oct 09 13:49:16 CEST 2003
Generate TDCRTupleProducer end :Thu Oct 09 13:49:16 CEST 2003
Building replicant order column information.
Building replicant order column information... Done.
TUPLE={anagrafica/0/destinazione_proventi=ad accumulazione, come_sottoscrivere/0/commissioni_e_spese/0/commiss_gest_annuale=2,00, come_sottoscrivere/0/prospetti_documenti/1/link_pdf=/strumenti/pdf/gestioni_attive_documento.pdf, performance/0/ComposizioneBenchmark/0/nomeindice=1057823048, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/2=, portafoglio/0/ComposizioneSettori/3/prcsettorefondo=12.92, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/1=, portafoglio/0/ComposizioneSettori/7/prcsettorefondo=3.32, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/0=, portafoglio/0/ComposizioneSettori/7/nomesettore=1057588636, come_sottoscrivere/0/sottoscrizione/3=, portafoglio/0/valuta/0/nomevaluta=-, come_sottoscrivere/0/sottoscrizione/1/valore=1.000,00 euro, come_sottoscrivere/0/sottoscrizione/2=, portafoglio/0/composizionefondo/9=, come_sottoscrivere/0/sottoscrizione/1=, portafoglio/0/composizionefondo/8=, come_sottoscrivere/0/sottoscrizione/0=, portafoglio/0/composizionefondo/7=, portafoglio/0/composizionefondo/6=, anagrafica/0/cat_****_gest=1057162808, portafoglio/0/composizionefondo/5=, portafoglio/0/composizionefondo/4=, portafoglio/0/composizionefondo/3=, portafoglio/0/composizionefondo/2=, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/1/descrizione=per il primo versamento effettuato con pac, portafoglio/0/composizionefondo/1=, portafoglio/0/composizionefondo/0=, portafoglio/0/composizionefondo/2/nome_titolo=1058254551, come_sottoscrivere/0/rimborsi/0/valore=100,00 euro, portafoglio/0/composizioneclasse/0/NomeTitolo=1057588855, anagrafica/0/orizzontetemporale=4 - 6 anni, anagrafica/0=, portafoglio/0/note=, portafoglio/0/ComposizioneFondoFondi/0=, portafoglio/0/composizioneclasse/2=, portafoglio/0/composizioneclasse/1=, portafoglio/0/composizioneclasse/0=, portafoglio/0/composizionefondo/3/peso=2.12, performance/0/valoreprimoanno=3.40, come_sottoscrivere/0/prospetti_documenti/2/link_pdf=/strumenti/pdf/bipiemme_americhe_annuale.pdf, portafoglio/0/composizionefondo/9/nome_titolo=1058254598, anagrafica/0/tipo_fondo=1057162748, portafoglio/0/composizionefondo/7/peso=1.88, portafoglio/0/dati_aggiornati_al=31/08/2003, portafoglio/0/ComposizioneFondoFondi/0/settore=, portafoglio/0/ComposizioneSettori/4/nomesettore=1057588725, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/2/descrizione=0,25% se la performance del fondo risulta positiva e superiore di almeno 3 punti alla variazione del benchmark., portafoglio/0/duration=-, performance/0=, performance/0/valore_fondo/0/valoreterzoanno=-15.36, come_sottoscrivere/0/prospetti_documenti/3/descrizione=Relazione semestrale, come_sottoscrivere/0/note=, come_sottoscrivere/0/prospetti_documenti/3/link_pdf=/strumenti/pdf/bipiemme_americhe_semestrale.pdf, come_sottoscrivere/0/adesione=, portafoglio/0/ComposizioneSettori/1/nomesettore=1057223350, profilo/0/limiti_invest/0/fino_al=100, portafoglio/0/ComposizionePaesi/0=, path=templatedata\prodotti\scheda_prodotti\data\Bipiemme_Americhe, performance/0/codice_benchmark=1057310736, anagrafica/0/dataIniziooperativita=01/08/1996, portafoglio/0/ComposizioneFondoFondi/0/stilegestione=, portafoglio/0/composizionefondo/6/nome_titolo=1058254441, anagrafica/0/isin_fondo=0001040093, portafoglio/0/ComposizioneSettori/0/prcsettorefondo=20.81, performance/0/valoreprimogennaio=1.63, performance/0/ComposizioneBenchmark/0/prcindfondo=90, portafoglio/0/ComposizioneSettori/4/prcsettorefondo=12.11, come_sottoscrivere/0/sottoscrizione/3/descrizione=Totale versamenti pac, anagrafica/0/tipo_famiglia=1057162766, vista=portafoglio, profilo/0/prima_adesione_pdf=/strumenti/pdf/gestioni_attive_prospetto.pdf, portafoglio/0/valuta/0=, come_sottoscrivere/0/sottoscrizione/0/descrizione=Importo minimo pic, performance/0/valore_fondo/0/valorequintoanno=0.97, performance/0/valore_fondo/0/valoreprimogennaio=6.74, come_sottoscrivere/0/prospetti_documenti/0/descrizione=Prospetto Informativo e Regolamento, performance/0/dataultimoaggiornamento=30/09/2003, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_sottoscrizione=, performance/0/ComposizioneBenchmark/1=, performance/0/ComposizioneBenchmark/0=, portafoglio/0/composizionefondo/0/peso=3.51, portafoglio/0/ComposizioneSettori/8/nomesettore=1057588649, come_sottoscrivere/0/sottoscrizione/2/valore=50,00 euro, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/0/valore=12,00 euro, profilo/0/limiti_invest/0/descrizione=Investimenti azionari, portafoglio/0/ComposizioneSettori/8/prcsettorefondo=2.62, come_sottoscrivere/0/rimborsi/1=, come_sottoscrivere/0/rimborsi/0=, portafoglio/0/composizionefondo/4/peso=2.07, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/2/descrizione=per emissione di ogni certificato richiesto, come_sottoscrivere/0/rimborsi/1/valore=mensile, portafoglio/0/composizionefondo/3/nome_titolo=1058254553, portafoglio/0/ComposizionePaesi/0/prcpaesefondo=0.57, urlprodotto=/4_0_prodotti/bipiemmeameriche_profilo.shtml, performance/0/note=, TeamSite/Templating/DCR/Type=prodotti/scheda_prodotti, portafoglio/0/composizionefondo/8/peso=1.88, portafoglio/0/composizioneclasse/1/NomeTitolo=1057588877, portafoglio/0/composizionefondo/0/nome_titolo=1058254632, profilo/0/comm_mese_anno=08/2003, portafoglio/0/instement=-, performance/0/valore_fondo/0=, performance/0/ComposizioneBenchmark/1/nomeindice=1057823028, profilo/0/limiti_invest/2=, portafoglio/0/composizioneclasse/0/peso=90.03, profilo/0/limiti_invest/1=, profilo/0/limiti_invest/0=, portafoglio/0/ComposizioneSettori/5/nomesettore=1057588625, anagrafica/0/tipo_prodotto=1057162714, portafoglio/0/ComposizioneSettori/1/prcsettorefondo=16.62, anagrafica/0/primovalorequota=5, anagrafica/0/livellorischio=1057162826, come_sottoscrivere/0=, profilo/0/note=, profilo/0/commento_gest=Durante il mese di agosto, l’indice S&P500 è aumentato di circa il 3%. L’elemento chiave è stata la stagione dei risultati del secondo semestre 2003, che sono stati del 4% al di sopra delle aspettative, una sorpresa simile a quella del primo trimestre. Il fondo ha ridotto la sua esposizione complessiva al comparto azionario, portandosi neutrale rispetto all’indice di riferimento; non è ancora evidente, infatti, che gli utili societari possano continuare a sorprendere al rialzo, dato il recente rafforzamento del dollaro nei confronti dell’euro accompagnato da un rapido aumento dei rendimenti dei titoli obbligazionari., portafoglio/0/composizionefondo/7/nome_titolo=1058254500, come_sottoscrivere/0/commissioni_e_spese/0=, come_sottoscrivere/0/rimborsi/0/descrizione=Importo non inferiore a, profilo/0/limiti_invest/1/fino_al=100, performance/0/ComposizioneBenchmark/1/prcindfondo=10, portafoglio/0/valuta/0/peso=, portafoglio/0/ComposizioneSettori/5/prcsettorefondo=9.20, portafoglio/0/ComposizioneSettori/2/nomesettore=1057588757, portafoglio/0/composizionefondo/1/peso=3.10, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/0/descrizione=0,05% se la performance del fondo risulta positiva e superiore di almeno 1 punto alla variazione del benchmark., come_sottoscrivere/0/sottoscrizione/1/descrizione=Importi successivi pic, profilo/0/politica=Il fondo investe in strumenti finanziari di natura azionaria i cui emittenti sono primarie società nordamericane, con interessanti prospettive di crescita nel tempo e con titoli azionari ad elevata liquidità. Gli investimenti nei restanti Paesi del continente americano hanno carattere residuale. (la descrizione completa è inserita nel Prospetto Informativo)., performance/0/valorequintoanno=0.35, come_sottoscrivere/0/prospetti_documenti/1/descrizione=Documento sui soggetti che partecipano all'operazione, portafoglio/0/ComposizionePaesi/0/nomepaese=37, portafoglio/0/composizionefondo/5/peso=2.06, come_sottoscrivere/0/sottoscrizione/3/valore=60,120,180 versamenti mensili, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/1/valore=12,00 euro, anagrafica/0/codice_reference=1057310723, profilo/0/limiti_invest/1/descrizione=Investimenti in titoli in valuta estera, performance/0/valoreterzoanno=-14.47, performance/0/valore_fondo/0/valoreprimoanno=10.70, portafoglio/0/composizionefondo/9/peso=1.88, portafoglio/0/composizionefondo/4/nome_titolo=1058254446, portafoglio/0=, state=Original, portafoglio/0/composizionefondo/1/nome_titolo=1058254436, portafoglio/0/composizioneclasse/1/peso=2.33, portafoglio/0/rating=-, portafoglio/0/ComposizioneFondoFondi/0/gestore=, anagrafica/0/esigenza=strumento per l'investimento, portafoglio/0/ComposizioneSettori/8=, portafoglio/0/ComposizioneSettori/7=, portafoglio/0/ComposizioneSettori/6=, portafoglio/0/ComposizioneSettori/5=, portafoglio/0/ComposizioneSettori/4=, portafoglio/0/ComposizioneSettori/3=, portafoglio/0/ComposizioneSettori/2=, portafoglio/0/ComposizioneSettori/6/nomesettore=1057588768, portafoglio/0/ComposizioneSettori/1=, portafoglio/0/ComposizioneSettori/0=, come_sottoscrivere/0/sottoscrizione/0/valore=2.000,00 euro, profilo/0/converti_mese_anno=, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/0/descrizione=per ogni versamento, portafoglio/0/ComposizioneSettori/2/prcsettorefondo=15.05, anagrafica/0/nome_fondo=Bipiemme Americhe, profilo/0/consigliato_a=E’ uno strumento per l’investimento ideale per chi desidera costruire una asset allocation azionaria specializzata e diversificata per aree geografiche con interesse prevalente per il mercato nordamericano puntando alla crescita del capitale nel lungo periodo, con un alto profilo di rischio., IWOV_PROC_FLAG=true, portafoglio/0/composizioneclasse/2/NomeTitolo=1057588913, portafoglio/0/ComposizioneSettori/6/prcsettorefondo=7.35, portafoglio/0/composizionefondo/8/nome_titolo=1058254590, come_sottoscrivere/0/rimborsi/1/descrizione=Frequenza minima, portafoglio/0/composizionefondo/2/peso=2.76, portafoglio/0/ComposizioneSettori/3/nomesettore=1057588611, portafoglio/0/composizionefondo/6/peso=1.97, come_sottoscrivere/0/sottoscrizione/2/descrizione=Importo minimo pac, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/1/descrizione=0,12% se la performance del fondo risulta positiva e superiore di almeno 2 punti alla variazione del benchmark., profilo/0/limiti_invest/2/fino_al=100, come_sottoscrivere/0/prospetti_documenti/2/descrizione=Rendiconto annuale, portafoglio/0/ComposizioneSettori/0/nomesettore=1057588661, come_sottoscrivere/0/commissioni_e_spese/0/spese_fisse/2/valore=10,00 euro, profilo/0=, portafoglio/0/ComposizioneFondoFondi/0/peso=, come_sottoscrivere/0/prospetti_documenti/0/link_pdf=/strumenti/pdf/gestioni_attive_prospetto.pdf, profilo/0/limiti_invest/2/descrizione=Esposizione al rischio di cambio, anagrafica/0/profilorischio=1057567263, come_sottoscrivere/0/prospetti_documenti/3=, come_sottoscrivere/0/prospetti_documenti/2=, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/2=, come_sottoscrivere/0/prospetti_documenti/1=, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/1=, come_sottoscrivere/0/prospetti_documenti/0=, come_sottoscrivere/0/commissioni_e_spese/0/commiss_di_incentivo/0=, portafoglio/0/composizionefondo/5/nome_titolo=1058254467, portafoglio/0/composizioneclasse/2/peso=7.64, anagrafica/0/codice_fondo=1057310723}
RowsExistForPath

ELECT COUNT(*) FROM WSFONDO0 WHERE WSFO_PTH_TMS = ?
Performing delete+insert
Starting SchemaHelper Cache Cleanup Thread...
TTableSchemaHelper not found in cache for [WSFONDO0]. Creating new.
SELECT NAME, COLTYPE, LENGTH, NULLS FROM SYSIBM.SYSCOLUMNS WHERE TBNAME = ?
SELECT

ELECT WSFO_DAT_INI_FON,WSFO_DSC_OZT_TEM,WSFO_DSC_ESG,WSFO_PTH_TMS,WSFO_STS_TMS,WSFO_NOT_PTH,WSFO_COD_NUM,WSFO_NOT_FON,WSFO_COD_FON FROM WSFONDO0 WHERE WSFO_PTH_TMS = 'templatedata\prodotti\scheda_prodotti\data\Bipiemme_Americhe'
BuildTuples:executeQuery returned valid result set
TTableSchemaHelper object for [WSFONDO0] found in cache.
BuildTuples:BuildRows returned: true
TTableSchemaHelper object for [WSFONDO0] found in cache.
TTableSchemaHelper not found in cache for [WSREFFON]. Creating new.
SELECT NAME, COLTYPE, LENGTH, NULLS FROM SYSIBM.SYSCOLUMNS WHERE TBNAME = ?
SELECT

ELECT WSREFFON.WSRE_COD_REF FROM WSREFFON,WSFONDO0 WHERE WSREFFON.WSRE_COD_FON = WSFONDO0.WSFO_COD_FON AND WSFONDO0.WSFO_COD_FON IN (?)
Recurse select: pIndex = 0, value = 1057310723
BuildTuples:executeQuery returned valid result set
TTableSchemaHelper object for [WSREFFON] found in cache.
BuildTuples:BuildRows returned: true
TTableSchemaHelper object for [WSREFFON] found in cache.
DELETE: DELETE FROM WSREFFON WHERE WSRE_COD_REF IN ( ?)
DoDelete: pIndex = 0, value = 1057310723
DeleteForUpdate: skipping root group
TTableSchemaHelper object for [WSFONDO0] found in cache.
TTableSchemaHelper object for [WSFONDO0] found in cache.
SelectCurrentRowsUsingPath: SELECT WSFO_DAT_INI_FON,WSFO_DSC_OZT_TEM,WSFO_DSC_ESG,WSFO_PTH_TMS,WSFO_STS_TMS,WSFO_NOT_PTH,WSFO_COD_NUM,WSFO_NOT_FON,WSFO_COD_FON FROM WSFONDO0 WHERE WSFO_PTH_TMS = ? ORDER BY WSFO_COD_FON
SelectCurrentRowsUsingPath: 1 rows selected.
Class Name specified: com.interwoven.dd100.dd.DateParseSGRProdotti
Attempting to load class: com.interwoven.dd100.dd.DateParseSGRProdotti
Class com.interwoven.dd100.dd.DateParseSGRProdotti loaded successfully.
Connecting to the database...
Try connecting using jdbc:db2://sviudb01:6789/MCP...
Connected to jdbc:db2://sviudb01:6789/MCP
Driver IBM DB2 JDBC 2.0 Type 3
Version 07.02.0004
anagrafica/0/dataIniziooperativita = 01/08/1996 ==> WSFONDO0->WSFO_DAT_INI_FON = 1996-08-01
Class com.interwoven.dd100.dd.DateParseSGRProdotti returned '1996-08-01' as the value for 'WSFO_DAT_INI_FON' in table WSFONDO0
DoesRowExist

ELECT COUNT(*) FROM WSFONDO0 WHERE WSFO_COD_FON = ? AND WSFO_DAT_INI_FON = ? AND WSFO_DSC_OZT_TEM = ? AND WSFO_DSC_ESG = ? AND WSFO_PTH_TMS = ? AND WSFO_STS_TMS = ? AND WSFO_NOT_PTH = ? AND WSFO_COD_NUM = ? AND WSFO_NOT_FON = ?
Column: WSFO_COD_FON, field: anagrafica/0/codice_fondo, Index: 1,Converting '1057310723' to INTEGER
Column: WSFO_DAT_INI_FON, value-from-callout: iwov:dd:java:com.interwoven.dd100.dd.DateParseSGRProdotti, Index: 2,Converting '1996-08-01' to DATE
Column: WSFO_DSC_OZT_TEM, field: anagrafica/0/orizzontetemporale, Index: 3,Converting '4 - 6 anni' to VARCHAR
Column: WSFO_DSC_ESG, field: anagrafica/0/esigenza, Index: 4,Converting 'strumento per l'investimento' to VARCHAR
Column: WSFO_PTH_TMS, field: path, Index: 5,Converting 'templatedata\prodotti\scheda_prodotti\data\Bipiemme_Americhe' to VARCHAR
Column: WSFO_STS_TMS, field: state, Index: 6,Converting 'Original' to VARCHAR
Column: WSFO_NOT_PTH, field: urlprodotto, Index: 7,Converting '/4_0_prodotti/bipiemmeameriche_profilo.shtml' to VARCHAR
Column: WSFO_COD_NUM, field: anagrafica/0/isin_fondo, Index: 8,Converting '0001040093' to INTEGER
Column: WSFO_NOT_FON, field: anagrafica/0/nome_fondo, Index: 9,Converting 'Bipiemme Americhe' to VARCHAR
UpdateOneRow: Row already exists...Leave alone.
TTableSchemaHelper not found in cache for [WSSETFON]. Creating new.
SELECT NAME, COLTYPE, LENGTH, NULLS FROM SYSIBM.SYSCOLUMNS WHERE TBNAME = ?
INSERT:INSERT INTO WSSETFON(WSSF_COD_SET,WSSF_COD_FON,WSSF_NUM_PRC_FON) VALUES (?,?,?)
Column: WSSF_COD_SET, field: portafoglio/0/ComposizioneSettori/0/nomesettore, Index: 1,Converting '1057588661' to INTEGER
Column: WSSF_COD_FON, field: anagrafica/0/codice_fondo, Index: 2,Converting '1057310723' to INTEGER
Column: WSSF_NUM_PRC_FON, field: portafoglio/0/ComposizioneSettori/0/prcsettorefondo, Index: 3,Converting '20.81' to DECIMAL
*******************************************************
SQLException occured in TDbSchemaGroupCfg
Exception Message: [IBM][CLI Driver][DB2/NT] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "1" constrains table "WS.WSSETFON" from having duplicate rows for those columns. SQLSTATE=23505
Vendor Error Code: -803
SQL state: 23505
*******************************************************
*******STACK TRACE*************
ERROR

oInsert() failed for group [WSSETFON].
-- Failed
ERROR:WriteTuple failure to consumer[0]
ERROR:Unable to process TeamSite source templatedata/prodotti/scheda_prodotti/data/Bipiemme_Americhe
ERROR:deployment [schedaprodotto] FAILED
Error occured in area outside TDbAgent consumer (explicit rollback initiated)
Stat for group [WSFONDO0]:
-----------------------------------
Rows inserted : 0
Rows updated : 0
Rows deleted : 0
Rows failed : 0
Rows rolled back : 0
Rows skipped : 0
-----------------------------------
Stat for group [WSREFFON]:
-----------------------------------
Rows inserted : 0
Rows updated : 0
Rows deleted : 1
Rows failed : 0
Rows rolled back : 0
Rows skipped : 0
-----------------------------------
Stat for group [WSSETFON]:
-----------------------------------
Rows inserted : 0
Rows updated : 0
Rows deleted : 0
Rows failed : 0
Rows rolled back : 0
Rows skipped : 0
-----------------------------------
Stat for group [WSPAEFON]:
-----------------------------------
Rows inserted : 0
Rows updated : 0
Rows deleted : 0
Rows failed : 0
Rows rolled back : 0
Rows skipped : 0
-----------------------------------
Rollback database [//sviudb01:6789/MCP]...
Deployment[schedaprodotto]
-----------------------------------
DCRs inserted : 0
DCRs updated : 0
DCRs deleted : 0
DCRs failed : 0
DCRs rolled back : 0
DCRs skipped : 0
-----------------------------------
Started : Thu Oct 09 13:49:15 CEST 2003
Finished: Thu Oct 09 13:49:16 CEST 2003
<group name="WSSETFON" table="WSSETFON" root-group="no">
<attrmap>
<column name="WSSF_COD_SET" data-type="INTEGER" value-from-field="portafoglio/0/ComposizioneSettori/[0-10]/nomesettore" is-replicant="yes" allows-null="yes"/>
<column name="WSSF_COD_FON" data-type="INTEGER" value-from-field="anagrafica/0/codice_fondo" is-replicant="no" allows-null="yes"/>
<column name="WSSF_NUM_PRC_FON" data-type="DECIMAL(15,5)" value-from-field="portafoglio/0/ComposizioneSettori/[0-10]/prcsettorefondo" is-replicant="yes" allows-null="yes"/>
</attrmap>
<keys>
<primary-key>
<key-column name="WSSF_COD_SET"/>
<!--key-column name="WSSF_COD_FON"/-->
</primary-key>
<foreing-key parent-group="WSFONDO0">
<column-pair parent-column="WSFO_COD_FON" child-column="WSSF_COD_FON"/>
</foreing-key>
</keys>
</group>