Delete rule not being generated in DDL

Hi,
I've only recently started using SQL Developer Data Modeler (coming from the Designer world), and it's been a good learning experience. There's a piece that I can't seem to figure out though, and it's related to the generation of DDL for foreign keys. In all my models (logical, relational, physical, I have the Delete Rule set to "Restrict". This isn't just the default preference I'm talking about, when I actually drill down to the properties of the FK, it says that the delete rule is restrict. However, when I generate the DDL, no delete rule is generated. The only option generated is NOT DEFERRABLE.
There are two issues with this:
1) The rule isn't going into the DB unless I manually alter the DDL, and
2) Every time I re-import the DB to generate ALTER statements, the comparison detects that the rule in the DB (NO ACTION) is different than the rule in the model (RESTRICT), so it deletes and re-generates the FK. However, it re-generates it still not having the delete rule set, so it doesn't fix the problem.
Is this a known bug, or is there some way of telling the program to generate the delete rule in DDL that I'm missing? I should add I'm using version 3.1.1.703.
Thanks in advance for your help.
Mike
Edited by: user10832262 on Apr 12, 2012 9:53 AM

I did some more research and I think I was completely misunderstanding Oracle's implementation of delete rules. Now I believe that Oracle implements the "RESTRICT" option in SQL Developer Data Modeler as "No Action", which is the default option, hence why no DDL option is generated. However, it would still be nice if Data Modeler could detect this fact when comparing two models. What I mean it, if comparing an Oracle DB to a model, treat Restrict and No Action as the same, and thus don't attempt to re-generate the DDL for this "difference". For now, I'll just change the action on my models to No Action, and this should resolve the issue.

Similar Messages

  • Notifications are not being generated for any emails that have rules applied to them.

    Notifications are not being generated for any emails that have rules applied to them. Any clues how to fix this?

    In System Center 2012 Operations Manager, the alert notification will be sent when the alert first meets all criteria, regardless of resolution state, unless resolution state itself is a criterion. If alert suppression is enabled for the rule or monitor
    that raises an alert, only one notification will be sent when the subscription criteria are first met. No additional notifications will be sent until the alert is closed and a new alert is raised that meets all subscription criteria.  PLease check
    1) whether your rule has trun on alert supression
    2) Close the alert, craised by rule,  and do it again
    Roger

  • BPM alert not being generated

    Hi guys,
    I'm having quite a little trouble in doing one thing which has been done for several times but which is giving  me a hard time...
    I've created a bpm process which in an error condition will trigger a simple alert.
    I've tested the process and everything goes allright, except the alert. What is happening? Well, the alert is not being sent to my inbox. Why? Maybe because the alert is not being generated.
    I've went to sxmb_moni_bpe and everything is OK. I can see the message of the alert being fired. After that I went to slg1 to see if my alert is being generated, and the answer is no. It's not being generated....
    I've gone through Michal's blogs and everything was checked...The question is, if I execute RSALERTTEST with my alert category, the alert is generated and send to my inbox. Do you have any ideas?
    Thanks a lot for your attention

    Hi,
    Yes the job scheduling is needed only for Sp14 and below.
    Can you recheck if the Alert is actually getting triggered or not in the BPM in the control step? Make sure that you have given the correct Alert Category in your Control Step and also, make sure that the recipient in your alert as well as the Alert Inbox entry you are seeing is the same.
    Finally, refresh the Alert Inbox.
    Regards,
    Bhavesh

  • SWF File not being generated by compiler

    I am using Flash Builder 4.5.
    One of the modules that compiles without error is still not being bound into the runtime image (in this case debug).
    There are no compiler errors (auto build is switched ON) but a swf file is not being generated.
    I have tried removing the reference to the module in the Project ->Properties->Modules window and then adding it back in to no avail.
    This was working up until I made a change to the module in question and then saved it.

    I would check all imported images in the library. If you cannot see the image in your library preview; there is a good chance that there is an issue and it will need to be reimported.

  • Spool file not being generated in production server

    Hello
    Our end users are using automatic payment program F110 to print multiple cheques.
    The settings in SPAD are identical in Quality and Production Server,but some how
    spool file is not being generated in production.
    Test printing is fine in Quality server.
    Printer being used is Epson LQ 300.Device type is EPESCP2.
    We are using z custom page size ,and it is assigned to printer device Type as well
    Would be very great if some can can comment on which settings to check,as SPAD setting is
    same in both server ,yet no spool.Very Very urgent.
    Iam not sure ,whose domain is it now-BASIS or ABAP.
    Thanks a lot
    Nouman

    If there is a problem with the spool, the variant that is being in F110 parameters.
    As you are saying the quality system is working fine, please compare both the variants in Production and Quality systems.
    This should solve your situation.

  • Reports not being Generated

    I use Crystal Reports with another program that supposed to generate 2 reports with a click of a button, but it is not working. The reports are not being generated. I installed Crystal Reports on my system twice and there doesn't seem to be a problem with the installation, but the program is not working. Please help.

    I am fairly new at this so let me try my best to answer these questions:
    Crystal Reports  XI
    Visual Studio? Not sure
    No service pack applied. How and where do i get it?
    I am using Windows XP
    I am not viewing the reports as it has to be generated before i am able to view and the systems does nothing after I click the generate button
    No  have not tried to view a single report; i don't know how.
    I have not used Crystal reports designer for anything else.
    Edited by: Sharon Aird on Dec 1, 2008 5:05 PM

  • TA1 Acknowledgement not being generated.

    Hi All,
    I have a requirement for the Inbound 820 to generate 999 and TA1 Acknowledgement. 999 is fine but TA1 is not being generated. I tried changing the ISA14 element to '1' from '0'(by referring http://docs.oracle.com/cd/E28280_01/user.1111/e10229/app_ta1.htm), but of no use. The ISA of the EDI file is as follows
    (ISA*00* *00* *30*905454545 *30*805454545 *130315*0758*^*00501*100000174*1*T*\~). I am using B2B 11.1.1.6.
    Please help me out with some suggestions.
    Thanks in Advance!!
    Edited by: soa999 on Apr 15, 2013 4:17 PM

    I am using B2B 11.1.1.6.TA1 Ack feature has been introduced in PS6 (11.1.1.7). So please use PS6 (11.1.1.7) to get benefit of this feature. If you cannot use PS6 then raise a SR with support to check if you can get a patch on top of PS5 (11.1.1.6) to use this feature.
    Regards,
    Anuj

  • ADDM report not being generated

    I noticed that addm reports are not being generated from last 2 days. So I did the following:
    SQL> exec dbms_workload_repository.create_snapshot;
    BEGIN dbms_workload_repository.create_snapshot; END;
    ERROR at line 1:
    ORA-13516: AWR Operation failed: only a subset of SQL can be issued
    ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 10
    ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 33
    ORA-06512: at line 1
    I got above error. I am not sure what that means. I also ran below SQL:
    SQL> select nam.ksppinm name, val.KSPPSTVL, nam.ksppdesc description
    2 from x$ksppi nam, x$ksppsv val
    3 where nam.indx = val.indx and
    4 nam.ksppinm = '_awr_restrict_mode'
    5 order by 1
    6 ;
    awrrestrict_mode
    FALSE
    AWR Restrict Mode
    What could be the reason that the reports are not being generated anymore

    Check Note:308003.1 - AWR Snapshots Not Generating

  • Default Personnel No. Ranges not being generated through NUMKR

    Default personnel number ranges according to the company / client are not being generated. what should I do further to fix the problem?

    Hi first go to PA04 and maintain the different number ranges as stated above.
    01            1 to 2000
    02           2001 to 5000 etc
    here 01, 02 are different number ranges.
    In your case maintain a number range number 6 with a range as per your requirement.
    Then go to PE03 NUMKR feature.
    Create subnodes using Personnel Area with a return value as the number range number.
    So in you case decision tree should look like should look like
    NUMKR
    WERKS
    GUJ1 ( PA for Gujraat)
    06 ( return value = number range number )
    Hope this helps.
    Ajay

  • Delete rule not generated in DDL

    Hello,
    I am using SQL Developer Data Modeler (Version 3.1.1.703) and experience the following issue:
    I have a table with a foreign key and a delete rule "SET NULL". However if I generate the DDL for "SQL Server 2005" then the rule is not there. Only if I change the rule to "CASCADE" then it is generated properly. Is that a bug or am I missing something?
    Thanks in advance for your help,
    Michael

    Hi Philip,
    when can we expect a fix for that since it is kind of an important function for us because without it we can't export a valid database structure.
    Thanks in advance,
    Michael

  • Delete URL not being called in AppCloud Action Service

    Has anyone been able to get the Delete URL to work in an AppCloud Action Service?
    We've tried just about everything, and can't get Eloqua to call our URL. We are wondering if anyone else has been successful (indicating that it is our problem) or if there is a general issue with the AppCloud framework?
    Thanks,
    AR

    I did some more research and I think I was completely misunderstanding Oracle's implementation of delete rules. Now I believe that Oracle implements the "RESTRICT" option in SQL Developer Data Modeler as "No Action", which is the default option, hence why no DDL option is generated. However, it would still be nice if Data Modeler could detect this fact when comparing two models. What I mean it, if comparing an Oracle DB to a model, treat Restrict and No Action as the same, and thus don't attempt to re-generate the DDL for this "difference". For now, I'll just change the action on my models to No Action, and this should resolve the issue.

  • Spool Request Not being Generated.

    HI,
    when ever a PO is delivered as O/P spool request is not generated.
    if we choose LP01 as printer Spool is being generated. if client printer or LOCAL printer is selected spool
    is not generated. is there any settings to be done for generating the SPOOL request?
    i need to get the O/P as well as i need to view the O/P in Spool also... please help me on this.
    Regards,
    Dinesh R

    Hi,
    go to SPAD-->check the spool setting generally for some outputs the if you check delete spool after output
    then the spool will be deleted once the print is taken.
    remove the setting ..
    or go to t-code SU01 -->Under spool control -->remove the check mark for Delete after Ouput.
    Regrds,
    Prabhudas

  • Document Category not being generated Automatically for AR transaction type

    Hi,
    we have defined some transaction type in AR. But the corresponding document category is not being automatically generated
    Kindly help

    This doesn't look feasible, the only issue I ever encountered with this was the document category not being updated if the transaction type was updated. Maybe the customer has some custom triggers which are preventing the record from being inserted into FND tables. You can easily debug this by opening the form and testing in a TEST environment.

  • Filter not being generated into where clause

    Hi,
    I have a simple mapping that has a source table, a filter, and a target table that is set to DELETE. The source table has many rows, but the filter would narrow down these rows by a lot. When I generate the code, the cursor that gets created SELECTs the whole table then there is an IF statement that is applied to each row with the filter condition. A lot less processing would be required if the filter was implemented as a WHERE clause in the cursor, but I can't get it to generate this way. I realize that deletes automatically generate row-based code but it would still be row-based if the WHERE clause was in the cursor.
    Is there any way to get it to generate the filter as a WHERE clause in the cursor?

    Hi,
    In general, Warehouse Builder gives you a number of different operating modes:
    - set-based: which does everything in (one) SQL statement. This method is most performant, but has some limitations. Warehouse Builder today does not support set-based deletes (arguably, deletes are not the most common operation in a data warehouse).
    - row-based: which is optimal for debugging. In row-based mode, you get as many records as possible and all operations/transformations take place in PL/SQL. This option gives you most debugging capabilities.
    - row-based bulk: which is the previous method fetching rows in bulk (e.g. 100 by 100). Bulk processing speeds up the overall processing.
    - row-based target only: in this mode we push as many of the operations/transformations as possible into the query (cursor). I.e. your filter (in your case) would be implemented as a restriction on the filter.
    - row-based target only in bulk: see previous.
    Warehouse Builder's default operation is set-based fail over to row-based. I.e. because we do not support set-based delete statements, I suspect you fall back to the row-based method of execution, which is not ideal in your case. I suggest you use the row-based target only option in order to get optimal performance for your scenario.
    Note that for the deletes that are common in DW scenarios the row-based bulk deletes that we generate are often faster than set-based deletes. Also note that if you perform a complete delete (or even truncate) followed by an insert that Warehouse Builder does issue one statement for emptying the table.
    Thanks,
    Mark.

  • Emails not being generated using UDF

    Hi,
    We had setup a functionality to send email via UDF using the following blog.
    Mail without email adapter? Part - I - Process Integration - SCN Wiki
    This worked fine for some time. However, it does not generate emails anymore. There were no changes done on the objects. We checked the java mail service settings as suggested in some of the SCN posts and everything looks configured fine.
    We are not able to determine what is preventing the emails from being generated. Any pointers would be really helpful.
    We are using SAP PI 7.31 java only installation.
    Thanks,
    Ravi

    Hi Ravi,
    Did you check SMTP services availability?
    SMTP Configuration in SAP XI - Process Integration - SCN Wiki
    Regards,
    Krupa

Maybe you are looking for