Does anyone know why it is not skipping the insert when there is in fact a null? My code is attached.thanks :
skip-group-if-null - indicates whether (yes) or not (no) the database deployment should proceed even if a particular tuple cannot be inserted into the table. For example, if the table has a primary key constraint and the tuple value for the primary key is null, OpenDeploy will skip inserting the tuple into the table and in all subsequent tables that are processed. Instead of halting and rolling back the entire deployment, OpenDeploy will continue processing the remaining tuples comprising the deployment.Note, however, that if the tuple was inserted correctly into any tables prior to encountering the problematic table, those earlier processed tables will not be reverted. The tuple will remain in those tables. Specifically, while processing the tuple for the tables comprising the schema, OpenDeploy will only skip insertion once it encounters an error a particular table. Only that table and subsequent tables will get skipped.
So if it encounters a null while inserting into a table, subsequent tables are not inserted into (processed) either!?!? It just stops processing the dcr? Is there something that lets just the one insert into a table fail, and then subsequent tables and the rest of the dcr still gets processed?
Thank you very much for your replies. The problem is that there are multiple groups involved that may or not be null. It looks like the answer is you have to put dummy values into each table so the rest of the tables get processed. And then your application must be setup to just ignore the dummy values.