Constraints are not created when using a cart

Hi all,
I have created a cart in SQL Developer with all the tables from HR schema. If I apply the cart to my database cloud service the tables and data are there but most of the constraints are missing.
In log I can see error messages like:
Error starting at line 5 in command:
ALTER TABLE "EMPLOYEES" ADD CONSTRAINT "EMP_DEPT_FK" FOREIGN KEY ("DEPARTMENT_ID")
      REFERENCES "DEPARTMENTS" ("DEPARTMENT_ID") ENABLE
Error report:
SQL Error: ORA-02270: no matching unique or primary key for this column-list
02270. 00000 -  "no matching unique or primary key for this column-list"
*Cause:    A REFERENCES clause in a CREATE/ALTER TABLE statement
           gives a column-list for which there is no matching unique or primary
           key constraint in the referenced table.
*Action:   Find the correct column names using the ALL_CONS_COLUMNS
           catalog view
Primary key constraints are completely missing in the log.
I have tried it with option "Disable constraints before loading data" checked and unchecked.
How can I transfer the schema (tables, data, constraints) to my cloud service. I don't want to create the constraints manually because I have a web service which is based on the exact structure of HR schema in my local database.
Kind regards
Juergen

You should actually look at the headers first, IMO. Not knowing "what is going on in there" is a very bad reason to discard that solution. The Content-Type header is meant to indicate exactly the type of content you are getting (your want the text/html mime-type).
Not all servers report the correct content type all the time in this header so it won't be a 100% solution.
BTW, the Aperture project is specifically intented to extract content and metadata from various sources, including websites. You might be able to use that.

Similar Messages

  • HTTP logs not created when using software load balancer

    This is my setup:
    1. I have a server running a software load balancer - call it A
    2. There are two servers clustered under A - call it X and Y
    3. I am able to access the application deployed on X and Y through A.
    Fail-over also works. Shutting down X when the application is up and running routes the requests to Y and vice-versa. All is well until this point.
    Problem is:
    Let us take server X.
    $ORACLE_HOME/Apache/Apache/logs does not have an access log in it. (It
    however has an error log.)
    Access logs are not created when accessing the servers in the cluster (X and Y) through the load balancer URL.
    However, when accessing the individual servers in the cluster (with their URLs), access logs are created.
    Specifics on the setup:
    1. A, X, Y - all three are OAS 10.1.3.2
    2. All three are deployed on individual server machines
    3. All three servers have one OC4J instance each running in them
    4. The software load balancer used is from WebLogic 8.1sp5 - basically to create a *.war file that has the details of X and Y (servers in the cluster)
    5. This *.war file is deployed on A
    6. Server A, the one that has the software load balancer, DOES NOT have AS control. One of the other servers in the cluster does.
    Has anybody encountered this problem before? Or is there anything wrong
    with the setup? What is the resolution for the same?
    Any help is greatly appreciated.
    Thank you.

    Thank you, Jacco. You are right in saying that the software load balancer does not route the request to Apache and hence the logs are not created.
    While the logs are not critical to the component we are working on, was just wondering why they were not being created.
    As regards your comment on FastCGI, there is a FastCGI directory created under $ORACLE_HOME/Apache/Apache/logs - but there is nothing in it. Neither do the error logs have any information pertaining to FastCGI.
    Anyway, I am not going to worry about this issue anymore - may be sometime in the future will try to use a different software load balancer and see if it makes any difference.

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • Lenovo S8-50LC Wlan(WiFi) Does not work when use Sim Cart(3G)

    Hi
    Tablet Lenovo S8-50LC
    Wlan(WiFi) Does not work when use Sim Cart(3G).
    What is the solution for this problem?
    Build Number : TABS8-50LC_S000200_150121_ROW
    SoftWarw Version : TABS8-50LC_150121

    Right, but if you have the SIM in the tablet and you put the tablet in airplane mode, does wifi work then? If so, it may be a bad SIM. Do you have another SIM you can try?

  • Cursors are not closed when using Ref Cursor Query in a report  ORA-01000

    Dear Experts
    Oracel database 11g,
    developer suite 10.1.2.0.2,
    application server 10.1.2.0.2,
    Windows xp platform
    For a long time, I'm hitting ORA-01000
    I have a 2 group report (master and detail) using Ref Cusor query, when this report is run, I found that it opens several cursors (should be only one cursor) for the detail query although it should not, I found that the number of these cursors is equal to the number of master records.
    Moreover, after the report is finished, these cursors are not closed, and they are increasing cumulatively each time I run the report, and finally the maximum number of open cursors is exceeded, and thus I get ORA-01000.
    I increased the open cursors parameter for the database to an unbeleivable value 30000, but of course it will be exceeded during the session because the cursors are increasing cumulatively.
    I Found that this problem is solved when using only one master Ref Cursor Query and create a breake group, the problem is solved also if we use SQL Query instead of Ref Query for the master and detail queries, but for some considerations, I should not use neither breake group nor SQL Query, I have to use REF Cursor queries.
    Is this an oracle bug , and how can I overcome ?
    Thanks
    Edited by: Mostafa Abolaynain on May 6, 2012 9:58 AM

    Thank you Inol for your answer, However
    Ref Cursor give me felxibility to control the query, for example see the following query :
    function QR_1RefCurDS return DEF_CURSORS.JOURHEAD_REFCUR is
    temp_JOURHEAD DEF_CURSORS.JOURHEAD_refcur;
              v_from_date DATE;
              v_to_date DATE;
              V_SERIAL_TYPE number;
    begin
    SELECT SERIAL_TYPE INTO V_SERIAL_TYPE
    FROM ACC_VOUCHER_TYPES
    where voucher_type='J'
    and IDENT_NO=:IDENT
    AND COMP_NO=TO_NUMBER(:COMPANY_NO);
         IF :no_date=1 then
                   IF V_SERIAL_TYPE =1 THEN     
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT
              AND ((TO_NUMBER(VOCH_NO)=:FROM_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NULL)
              OR (TO_NUMBER(VOCH_NO) BETWEEN :FROM_NO AND :TO_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NOT NULL )
              OR (TO_NUMBER(VOCH_NO)<=:TO_NO and :FROM_NO IS NULL AND :TO_NO IS NOT NULL )
              OR (:FROM_NO IS NULL AND :TO_NO IS NULL ))
                   ORDER BY TO_NUMBER(VOCH_NO);
                   ELSE
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT               
              AND ((VOCH_NO=:FROM_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NULL)
              OR (VOCH_NO BETWEEN :FROM_NO AND :TO_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NOT NULL )
              OR (VOCH_NO<=:TO_NO and :FROM_NO IS NULL AND :TO_NO IS NOT NULL )
              OR (:FROM_NO IS NULL AND :TO_NO IS NULL ))     
                   ORDER BY VOCH_NO;          
                   END IF;
         ELSE
                   v_from_date:=to_DATE(:from_date);
                   v_to_date:=to_DATE(:to_date);                         
              IF V_SERIAL_TYPE =1 THEN
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
              AND IDENT=:IDENT                         
                   AND ((voch_date between v_from_date and v_to_date and :from_date is not null and :to_date is not null)
                   OR (voch_date <= v_to_date and :from_date is null and :to_date is not null)
                   OR (voch_date = v_from_date and :from_date is not null and :to_date is null)
                   OR (:from_date is null and :to_date is null ))     
                   ORDER BY VOCH_DATE,TO_NUMBER(VOCH_NO);     
              ELSE
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT                         
              AND ((voch_date between v_from_date and v_to_date and :from_date is not null and :to_date is not null)
                   OR (voch_date <= v_to_date and :from_date is null and :to_date is not null)
                   OR (voch_date = v_from_date and :from_date is not null and :to_date is null)
                   OR (:from_date is null and :to_date is null ))     
                   ORDER BY VOCH_DATE,VOCH_NO;          
              END IF;
         END IF;               
         return temp_JOURHEAD;
    end;

  • Unique constraint is not thrown when used MERGE INSERT (alone) via dblink.

    We found some interesting behaviour of unique constraint on Merge query when we use Merge When Not Matched Insert (no update query) via a dblink.
    In one Schema S1, on Table A1(c1,c2,c3) there is a unique constraint on column (c1,c2).
    Column c2 is nullable and has null for some records.
    Now i have a table A2 with same defintion as A1 in Schema S2.In S2 , i have a dblink of S1 as S1 itself.
    I have data in S2.A2. Here also i have some records with c2 as null and c1 matching with the data of S1.A1.
    Now from schema S2,
    I am using the following Merge Query,
    MERGE INTO S1.A1 target
    USING S2.A2 source
    ON (target.c1 = source.c1 and target.c2 = source.c2)
    WHEN NOT MATCHED
    INSERT (c1,c2,c3) values (source.c1, source.c2,source.c3)
    WHEN MATCHED
    UPDATE c3 = source.c3;
    Now when i execute this merge in schema S2,
    if i have some data in S1.A1 and S2.A2 having c1 as same and c2 as null, as oracle does not treat two nulls same, it goes for an insert, i have got unique constraint violated error.
    But if i execute MERGE INSERT alone, though that record is getting inserted , i am not getting unique constraint violated error.
    Oracle version we are using is 10g (10.2...).
    Is it a bug in oracle or what could have caused this behaviour.

    Dear,
    ERROR at line 1:
    ORA-00001: unique constraint (SYS_C00137508) violatedYou need to think about two things
    (a) read consistency : what was the situation of table_1 when the maching clause has been initially evaluated ; there were 0 rows matching which means the merge operation will be all insert
    (b) your matching clause has a problem : the join column must be unique in both tables otherwise the merge will be ambigous. You don't have a unique key on the source table
    (c) think that the merge operation will never insert id =1 and then update id = 1 within the same operation. This will never happen
    Hope this helps
    Mohamed Houri

  • Items in shared mailbox are not visible when using cached mode in Outlook 2013

    Hi all,
    When using Outlook 2013 working with the users own mailbox works great, but when a user connects an additional mailbox to its mailbox, this mailbox is shown correctly, but it contains no items. The folder list is shown correctly, but there are no items to be
    seen.
    These users (I have seen it with 3 different users and 2 shared mailboxes already) have full access to these mailboxes (Exchange 2010), but somehow the items aren't shown... When these users turn off cached mode, it works fine and when they use Outlook 2010
    it also works fine, but using Outlook 2013 with cached mode will only show their own items and not the items in an additional shared mailbox.
    What is the cause of all this?
    Kind regards,
    Erik

    Maybe something interesting...
    When looking at article http://support.microsoft.com/kb/982697/en-us
    I saw that Outlook 2013 by default caches everything and that's what I wanted. I tested however adding this regkey to see what happened and after that the email shows up in the mailboxes... Somehow the mail from shared mailboxes doesn't want to be
    cached...
    Does anyone know what this could be? I want everything to be cached, also the shared mailboxes but somehow this doesn't work and it does when using Outlook 2010....

  • Help topics are not displaying when using Windows 7 / IE 9 / RH10

    We recently upgraded our library from RH8 to RH10.  Also used a trial version of  RH9 in this process. Now when we compile several of the projects have issues where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (like it is trying to load).  If you right-click on the topic it displays (we are currently using this as the work-around).  Anyone else having this problem?? I saw something similiar for Windows8/IE10, but the fix does not apply here (http://forums.adobe.com/message/5138909#5138909#5138909).

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • Retro entires in HR Forms are not printed when using device type ZHPP3005

    Hi All,
    We are doing a HCM implementation. We are using HP P3005n printer and ZHPP3005 device type to print our HR forms. We are using ZCalibri font.These are smartforms. Everything was printing perfectly.
    Then there were retro calculations made to these forms.Strangely, the forms doesn't display these retro entries in the print preview using ZHPP3005 device type. Only the retro entries throughout the form are not printing. All other entries get printed.
    When we use device type HPLJIIID, we get these retro entries printed in our form however the format of the form gets changed.
    Now, we want to use device type ZHPP3005 and get these retro entries printed. How would we achieve this? Is this a device type issue? Or, anything needs to be done in the smartform? Why is this issue?
    Please help. Quick response will be appreciated. We are nearing our Go Live date and needs this resolved immediately.
    Thanks in Advance.

    Hi,
    Check the assigned page format to your custom device type. Try to assign all the page format which are available for
    HP*** which you gives you desired result.
    Regards,
    Vamshi.

  • Enterprise DNS servers are not responding when using Windows NLB with Direct Access 2012

    Hi
    We have installed Direct Access 2012 as one server installation:
    - Two network cards. First one in DMZ and second one in internal network
    - Two consecutive IP addresses configured in DMZ because of Teredo
    - PKI because of Win7 Clients IPSec
    - Our corporate network is native IPv4 so we use DNS64/NAT64 and DA-server is configured as DNS
    - DA-servers are VMWare virtual machines 
    One server installation works fine and now we want to use Windows NLB as load balancing. NLB installation goes fine too,
    but problem is DNS. If we still try to use DA-server as DNS there comes error message below
    None of the enterprise DNS servers 2002:xxxx:xxxx:3333::1 used by DirectAccess clients for name resolution are responding. This might affect DirectAccess client connectivity to corporate resources.
    When trying to configure DNS using Infrastructure access setup, DNS cannot be validated when using DA-servers DIP or cluster VIP. Only domain local DNS looks to be ok but those have no IPv6 addressess. So how DNS should be configured when using multicast
    NLB? 
    Tried to remove name suffix then adding again => Detect DNS server => DA-server IPv6 address found => validate => The specified DNS server is not responding...
    Then tried to ping detected address => General failure
    NLB clusters are configured as multicast and static ARPs are configured too. Both clusters can be connected from those subnets as they should be. 
    Any clues how to fix this?
    ~ Jukka ~

    Hi,
    Your question falls into the paid support category which requires a more in-depth level of support.  Please visit the below link to see the various
    paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Regards,
    Mike
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Help topics are not displaying when using Windows 8/IE 10

    I have a WebHelp system created in RoboHelp 7. When opening that Help from our application using Windows 8 with Internet Explorer 10 and allowing blocked content, the Help topics do not display in the right pane when clicking a topic from the Contents in the left pane. Below are the steps:
    1. Open the Help system from the Help menu within the application.
    2. The Allow Blocked Content displays and I allow it.
    3. The Help opens and if I click a topic from the TOC in the left pane, the topic doesn't display in the right pane.
    A workaround we found was to widen the left pane and the topic then displays. Also, if you don't allow blocked content, this issue doesn't happen. However, I need to allow blocked content in order for PDFs within the Help to open properly and also because the Search doesn't display without allowing blocked content.
    We also tested this with a Help system that was created using Robohelp 9 and have the same issue. I'm wondering if RoboHelp 10 would solve this problem.
    Does anyone know if IE 10 requires Help systems to be created in RoboHelp 10 to work properly, at least when allowing blocked content?

    It seems to be time for the old divide and conquer approach.
    Zip up the project so you have a copy that cannot accidentally be opened and worked on. That gives you a copy that you can safely revert to later if needed. Save the zip file somewhere safe.
    Then create another copy of the project so that you have two copies that can be worked on.
    Open Copy 1 and delete half the topics. Ignore any broken links reported. Generate the help from that copy.
    Open Copy 2 and delete the other half of the topics. Generate the help from that copy.
    It should be the case that one copy is now OK and one still has the problem.
    Trash the good copy and then create a second copy of the copy with the problem.
    Repeat the process until you have located whatever is causing the problem.
    The process takes less time than you might think.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Tabs are not stable when using t:panelTabbedPane

    Hi
    I am using the t: panelTabbedPane for one of my screen and i divided into 4 different tabs.
    Each and every tab consists of Apply, Save, Cancel and Pagination controls.
    When I am performing action in first tab and going to the second tab clicking on pagination the page is navigating into the first tab because we are performing action previously there.
    If suppose I am performing action in another tab at that time it is going to the previously action performed page.
    So what can I do to resolve the issue?
    Thanks in advance.
    Regards,
    Satish

    It seems to be time for the old divide and conquer approach.
    Zip up the project so you have a copy that cannot accidentally be opened and worked on. That gives you a copy that you can safely revert to later if needed. Save the zip file somewhere safe.
    Then create another copy of the project so that you have two copies that can be worked on.
    Open Copy 1 and delete half the topics. Ignore any broken links reported. Generate the help from that copy.
    Open Copy 2 and delete the other half of the topics. Generate the help from that copy.
    It should be the case that one copy is now OK and one still has the problem.
    Trash the good copy and then create a second copy of the copy with the problem.
    Repeat the process until you have located whatever is causing the problem.
    The process takes less time than you might think.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Detecting when files are not HTML when using a httpURLConnection/HTMLEditor

    I have created a Spider application that can extract info from a web page using a combination of a httpURLConnection and HTMLEditorKit.ParserCallback
    However every so often links to not html pages are found
    ie. pdfs,zip files, excel spreadsheets etc...
    Would anybody know how I can check the type of a downloaded page without rooting through the headers (I am not sure what is going on in there) ofrchecking the extention of the file, this would end up being a massive list of banned url extentions and would never be fully complete.
    Thanks.

    You should actually look at the headers first, IMO. Not knowing "what is going on in there" is a very bad reason to discard that solution. The Content-Type header is meant to indicate exactly the type of content you are getting (your want the text/html mime-type).
    Not all servers report the correct content type all the time in this header so it won't be a 100% solution.
    BTW, the Aperture project is specifically intented to extract content and metadata from various sources, including websites. You might be able to use that.

  • Users with a https home page are not redirected when using web-passthrough on WLC 5508

    I have a Cisco 5508 running version 7.0.116.0.  This controller hosts an open public wifi that requires users to accept a terms agreement via a Web-Passthrough setup that redirects them to the terms splash page.  For most people this works without any issue.  However, if a user has their homepage for their default browser set to a https site, such as https://www.google.com, then they are never redirected to the terms splash page.  The page will just spin and spin until finally they get a timeout error.
    Has anyone else had this experience?  If so did you find a solution or is this some sort of short coming of the controller?
    Any and all comments/information is appreciated!
    Thanks,
    Jim

    This is a known issue (see bug ID CSCar04580).
    CSCar04580 Bug Details
    web auth (redirect) doesn't work when client users a https url
    Symptom:A client whose home page is an HTTPS (HTTP over SSL, port 443) one will never
    be redirected by Web Auth to the web authentication dialog. Therefore, such
    a client will not know to authenticate, and will fail to connect to the
    network.
    Workaround:The client should attempt to open any HTTP (port 80) web page.

  • What are the .fm.sp files that are created when using SharePoint?

    What are the .fm.sp files that are created when using SharePoint? When I'm working with SharePoint, I've noticed that duplicate files ending in .fm.sp are created. I've been unable to find any reference or documentation about them so far.

    Whe you use sharepoint as a CMS connections in Framemaker it creates the folder where Sp is installed and also a file ending .sp is created that let SP know that its the file associated with it.
    .fm.sp indicates that its the framemaker type SP file.
    Dont worry about it as its not creating any mess in the system.
    Harpreet

Maybe you are looking for

  • Unable to capture fi document number using transaction ABUMN

    hello guys, I am trying to create a bdc for transsaction ABUMN which generates a fi document at the end. but in BDC the bdcmsgcoll table is empty. is there any way so that i can capture document number as soon as it is posted. Please help, Thanks in

  • SAP EHP5 MSCS installation with IBM DB2 9.7 on windows 2008 R2

    Dear Sir i am installing SAP EHP5 high availability with IBM DB2 9.7 on windows 2008 R2 first cluster node installation is completed, now i am going to install database instance, before that i am configuring the database for MSCS as per installation

  • FrmReportsInteg bean

    Hi all, I am going through the whitepaper on using Run_Report_Object to call Reports with a parameter form and it references the FrmReportsInteg bean. Where can I get my hands on this little gem? I don't see it anywhere to download.

  • Premiere Elements 11 - online-content-download not working

    Download of online-Content (movie-menues etc.) is not working. Are the Servers down?

  • Changing  between pages using jsr286 events.

    Hello, I am trying to implement inter portlet communication between 2 portlets which reside on 2 different pages using JSR 286 implementation. I added supported-publishing-event and supported-processing-event in portlet.xml and able to fire the event