ODI is not able to detect the primary/foreign keys to XML - the user has no privilege or object not found

Hi guys,.

Im trying to load an XML with the address of two entities and employee as below. The topology of reverse engineering, everything works well. Even able to display the xml data in ODI, but when I try to load the data of these two entities join by the schema of the primary keys and foreign keys which created odi engineering process reverses for xml, im im getting the error below.  IM able to load an entity data, error occurs only when I use the join odi creates internally to identify employees for xml and address components

XML file:

<? XML version = "1.0" encoding = "UTF-8"? >

< EMP >

< Empsch >

< employee >

< EmployeeID 12345 > < / EmployeeID >

< original > t < / initials >

John < name > < / LastName >

DOE < FirstName > < / name >

< / employee >

< address >

< > 12345 as WorkPhone < / as WorkPhone >

< WorkAddress > test 234 < / WorkAddress >

< / address >

< / Empsch >

< / EMP >

Topology: jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml & s = Empsch & re = EMP & dod = true & nobu = false

Error message:

-5501: 42501: java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

at org.hsqldb.jdbc.Util.sqlException (unknown Source)

for org.hsqldb.jdbc.JDBCPreparedStatement. < init >(Unknown Source)

at org.hsqldb.jdbc.JDBCConnection.prepareStatement (unknown Source)

at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)

at sun.reflect.GeneratedMethodAccessor65.invoke (unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

to oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$ OnDisconnectCommandExecutionHandler.invoke (OnConnectOnDisconnectDataSourceAdapter.java:200)

to $Proxy2.prepareStatement (Unknown Source)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)

at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)

at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)

at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

at java.lang.Thread.run(Thread.java:662)

Caused by: org.hsqldb.HsqlException: the user has no privilege or object not found: EMPSCH. EMPSCHPK

at org.hsqldb.error.Error.error (unknown Source)

at org.hsqldb.ExpressionColumn.checkColumnsResolved (unknown Source)

at org.hsqldb.QueryExpression.resolve (unknown Source)

at org.hsqldb.ParserDQL.compileCursorSpecification (unknown Source)

at org.hsqldb.ParserCommand.compilePart (unknown Source)

at org.hsqldb.ParserCommand.compileStatement (unknown Source)

at org.hsqldb.Session.compileStatement (unknown Source)

at org.hsqldb.StatementManager.compile (unknown Source)

at org.hsqldb.Session.execute (unknown Source)

... more than 27

Please advice

Thank you

Fabien

It is clear from the content of the xml file, you have given here. In this xml file, you have four type of complex. Two of them are employed and address. However the employee doesnot has nothing to do with the address that you have not added the relationship. That is why its failure. This isn't the fault of the ODI.

Also I suggest not to use self-generated by ODI dtd that you might face problem in the future. For example, the address of XML type has 8 attributes, and 4 of them are not mandatory. This means that each of your xml file may have attributes between 4 and 8.  That's where ODI auto generated DTD fails.

ComplexType element XML schema

Thank you

Chantal

Tags: Business Intelligence

Similar Questions

  • the API call error: error: the user has sufficient privileges to perform this API call.

    Hello

    I'm exploring cloudClient 3.4.1 but I'm trying to run a "vra catalog list" command or other similar commands I get the error "error: the user has sufficient privileges to perform this API call."

    I don't know what are the permissions of system requirements before I can make the API call because the account which I use to make these calls already have privileges to Administrator local on box of IAAS & is admin Admin/tenant IAAS. In short, the user is a full administrator of the tool.

    Please help me because I found there is a documentation for the usability of the cloudclient.

    Thank you

    MG

    Is the account of your help to make the law of all items in the catalog API call? We have users from the normal group of activities that use the API does not have system or administrator access.

  • Really? Once again? "The user has sufficient privileges to install Adobe Flash Player"

    My browser is firefox.

    "The user has sufficient privileges to install Adobe Flash Player" is the incessant problem, I had several times the Flash update.

    Come on guys, it's beyond ridiculous. Installation always stops in 55% exactly and is never completed, leaving me to give up Firefox for Chrome. I mucked on the last, half a dozen times this has happened during the update and just by pure chance she managed to install, but it has been 2 hours mucking similar and I'm now getting nowhere.

    This has been a persistent problem and affected many users of firefox for years, as I saw it by my own experience and google search. Is there a way you all can provide a SIMPLIFIED solution to this question, in coordination with firefox or by providing a 'unique' Firefox Installer? Really it's too annoying.

    In any case, before anyone asks, yes I am logged in as administrator, and Yes, I ran the Installer "as admin" by right-clicking. I also went ahead and completely uninstalled flash (and emptied such records as requested in other threads here) and reinstalled it, only to watch the progress bar to put an end to 55%, as usual and let me by clicking on this icon of Chrome stupid to have a programme of work for flash.

    Honestly people, why, after years, it continue to be a persistent problem? Fix it for the love of God! Are you a lot guys make the ObamaCare website or what? Firefox people are loyal to our browser, and the installation of new versions of flash on this browser is a bloody useless pain in the you know what.

    Sorry for the frustration visible, but if someone could please provide a solution, I wouldn't need to be to complain here universal work and moaning.

    Try a new installation as described in http://forums.adobe.com/thread/928315

    Regarding the installation programs use these installers in offline mode:

    Flash Player ActiveX (Internet Explorer)

    Flash Player plug-in (all other browsers)

    If you still experience problems during installation, please send the contents of the FlashInstall.log file

    C:\WINDOWS\system32\Macromed\Flash and

    C:\Windows\syswow64\Macromed\Flash

  • Problems with the opening of attachments when the user has restristed privilege to run executable code from Program Files and Windows folders.

    I'm trying to prevent users from running potentially dangerous files. According to the Windows policies so I put. Users can run any application Program Files, files (x 86), windows, and folder to all users of the program office. Users have no permission to write anything in this files. When the user double clicks for example document.doc on his desk - document opens fine with MS Word. But when the user tries to open this document in attachment directly (by selecting open with MS Word, instead of the economy) - he sees an error - "this action is limited by local politics. Ask your system administrator. "(not exact text).

     So I want, users able to open attachments from Thunderbird automatically, but not able to run any application or link, except Program Files, Program Files (x86), Windows and all users' desktop folder. How can I get this result?
    

    Thanks in advance.
    Calvo is serious.

    PS Sorry for my bad English. It is not my mother tongue.

    Thanks for responding.
    I discovered what was going on.
    This strange "bug" affects multiple computers with Windows 7 Ultimate in my case.
    When you create a SRP (software restriction policies) it creates two rules by default to run programs: windows folder and the Program Files folder. I manually add "C:\Program Files (x 86)" in places without restriction. BUT Windows and Program Files folder to default rules directly, but through registry keys. And this part seems difficult. You CAN run the executable files of Program Files. You CAN run the Program Files (x 86) executables. But if Thunderbird or Firefox try to run MS Word or excel or editor for.doc or *.odt opening or another file - downloaded files running programs blocked by SRP.
    In order to fix this, simply replace the rules for indirect paths like % HKLM/software/microsoft/windows... etc % with direct, for example "C:/Windows" and "C:/Program Files /". After that, everything works fine. Attachments and downloaded files automatically opens without a problem.

  • The user has SELECT privilege

    Hello everyone

    I use Timesten 7.0.3 on Solaris SPARc 64-bit.

    I test CacheConnect Oracle Timesten Version with this Oracle 10 g 2 (same platform).

    I created a group of cache read-only (its name is 'servicios'). When I would try to load the cache group appears this error message:

    Command & gt; load cache group services commit every 200 lines;
    5056: cache fails: error_type = & lt; TimesTen error & gt; error_code = & lt; 15001 & gt; ERROR_MESSAGE: TimesTenTT15001: user does not have the SELECT privilege
    5037: an error occurred during the loading of TESTUSER. Servicios:load failed (TimesTenTT15001: user does not have the SELECT privilege)

    Details of privileges:

    Command & gt; Call ttUserPrivileges;
    & lt; TTADMIN, ALL & gt;
    & lt; PUBLIC, CONNECT & gt;
    & lt; PUBLIC, CREATE the store of DATA & gt;
    * & lt; TESTUSER, ADMIN & gt; *
    * & lt; TESTUSER, DDL & gt; *
    5 lines found.

    WHA'ts the reason for this problem?

    Thank you

    lewismm

    Sorry, misread the error message. TESTUSER has also need to SELECT (and possibly WRITE) the privilege in TimesTen. Disconnect all sessions since the data using TESTUSER store. Connect to the Bank as the administrator of the instance and run:

    GRANT SELECT, WRITE TO TESTUSER;

    then disconnect and reconnect as TESTUSER. You should then be able to load the cache group.

    Chris

  • EOS - 6 d: iPhone 6 s not able to detect the wifi of 6 d

    I recently changed my phone from 6 6 s 6 s iPhone iPhone iPhone was not able to detect the wifi of the camera. My mini iPad 2 was able to detect the wifi of the camera. This is a known issue and a solution for this? Thank you in advance.

    Communitty one Apple provides some tips. It turns out that I just needed to restart my phone to iPhone detect the camera wifi signal. Thanks to everyone who helped me.

  • "Data binding will be not able to detect the transfer..." "while [bindable] is set.

    Hello world

    Thank you for taking some time to try to help me.

    I get the warning "data binding will not be able to detect the assignment... "for a

    Collection ArrayCollection all [bindable] properties are set correctly - at least I think... ;-)

    [bindable]
    private var allParties:ArrayCollection = new ArrayCollection();
    
    and then, later:
                   <s:DropDownList id="dropDownList_party_sprecher1"
                                                            [...]
                                       labelField="_internal_partyname">
                        <s:AsyncListView list="{allParties}"/>
                   </s:DropDownList>
    

    The elements of the array collections are a custom class to the mine, which has been automatically

    generated by the php flash builder Gizmo service. This class is also marked as [bindable]:

    [Bindable]
    public class Parties extends _Super_Parties
    {
         [...]
    }
    

    and the extended with class

    [Managed]
    [ExcludeClass]
    public class _Super_Parties extends flash.events.EventDispatcher implements com.adobe.fiber.valueobjects.IValueObject
    {
    [...]
    
         [Bindable(event="propertyChange")] 
        public function get idx() : int    
        {
                return _internal_idx;
        }    
         [Bindable(event="propertyChange")]
        public function get partyname() : String    
        {
                return _internal_partyname;
        }  
    [...]
    }
    
    As I understand it, the [Managed] makes the whole class 
    [bindable] as well and the getters are marked too.
    I've put the [bindable] keyword anywhere I could imagine 
    but it doesn't help at all.
    In principle I wouldn't mind the warning, but the 
    dropdown-list doesn't work.
    
    Please let me know if you need any more information,
    
    Thanks
    
    
    
    

    Try not to allParties

  • Used the ADF security, has been able to authenticate the user. problem when disconnecting

    Hello

    I implement security ADF, was able to authenticate the user. In my home page, I have a link to log out.
    If clicked it the follwing method is executed

    ExternalContext ectx =
    FacesContext.getCurrentInstance () .getExternalContext ();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest ();
    HttpServletResponse response = (HttpServletResponse) ectx.getResponse ();
    HttpSession session = (HttpSession) ectx.getSession (false);
    session. Invalidate();
    String temp =
    request.getContextPath () + ' / adfAuthentication? Logout = true & end_url=/faces/logout.jsp ";

    try {}
    response.sendRedirect (temp);
    FacesContext.getCurrentInstance () .responseComplete ();
    } catch (Exception ex) {}
    System.out.println ("Exception in logout())");

    }

    but the problem is it of not accessing the page to disconnect its redirected to the login page.
    logout page is public page, still transmitted sound to the login page.

    any help would be appreciated

    Hello

    Hey this is not possible it is cause to happen when you invalidate the session, you have configured in the Web.XML when the session is not committed go you to the login page if you want it redirect to the mention of logout page this page as error page when you set up the configuration of the connection in the web.xml file

    Concerning
    Rohit

  • How to determine that the user has purchased an article or not?

    Hello

    Can someone tell me how can I determine if the user has purchased an article or not?

    Until now, I add to the cart and then allow user to pay for this item through Paypal. But now, my goal is to show all these items that the user has already added, but not bought yet.so, whenever user logs in a/c, he can see the item in my cart.

    Please... help me

    This sounds like a question of PayPal, then you will want to check these forums. If you were using in-app purchases of BB, so yes, it has an API to check the previous in-app purchases.

  • which detects that the user has changed the clock of the device?

    Hi all my application dependent on the clock time in the device settings. who can my application to detect if the user has replaced the unit time? Thank you

    Salvation;

    It's the Question2:

    and I found the solution:

    bps_initialize();
    Subscribe (clock_get_domain ());
    clock_request_events (0);

    void ApplicationUI::event(bps_event_t *event) {}
    unsigned int dcode = bps_event_get_domain (event);
    If (dcode is {clock_get_domain()})
    unsigned int code = bps_event_get_code (event);
    if(code == CLOCK_INFO) {}
    Q_EMIT dateorclockuserChanged(); signal function qml
    }

    }
    }

    Thanks a lot for your help

  • I just added a new user and it says the e-mail was sent, but the user has not yet received it. Y at - it a period?

    I just added a new user and it says the e-mail was sent, but the user has not yet received it. Y at - it a period?

    Anyone had this same problem? I'm doing something wrong?

    Hi Jesse,.

    Please follow did not receive expected Adobe email

    I hope this helps!

    Kind regards

    Sheena

  • Check if the user has selected box element apex before the loading of the page

    4.2.1

    THM:2

    Hello world

    I have two classic reports with different conditions but even select the columns based on a sql that uses the apex_item.checkbox2 element that allows users to select the lines and run some process. I also have a radio unit that hides and shows these two reports. However, it is possible that the user select a few lines and without doing anything click on the radio button that will present the page and all the lines that earlier he had chosen will be lost. I want that we should be able to pop an alert if there are checkboxes checked and the user tried to hit the button of the radio looks like the APEX_APPLICATION. G_F01. Count is not available at the time the page is submitted. We thought to use a pl/sql to see if APEX_APPLICATION DA. G_F01. Count > 0 then trigger an alert to confirm.

    Any ideas on how to do this?

    Thank you

    ryansun wrote:

    Hi FAC586 - basically, there are two parts of the report, were grouped products consolidated (as master) and the other report has all the products of the child. So based on the option the user selects that he sees who discovers and processes information.

    I tried to create the DA, but he does not seem to fire and I'm sure it would be because I have something wrong.

    No, in this case, there was a typing error in my JS expression above (this is what happens when there is no example in the trial against...)

    Must be:$('td[headers="COL_ALIAS"] input:checked').length > 0

    I have page submit on the evolution of radio, given that other elements of the actual application, don't do with this feature which is filled on the loading of the page.

    It does not work. If the present radio on the presentation changes group cannot be controlled by the dynamic action to confirm that it has already been committed before the confirmation message is displayed. Presentation must be made by further action of real on the DA. By the way other values is possible by using dynamic actions or region to submit elements of Page properties.

    But here it is necessary, if the user has activated all the lines, then changes the selection of the radio, it should show an alert to confirm. In addition, what happens if we have a very select in the box by a header label already. Can I use the same label to identify the COL_ALIAS?

    Do not understand the question.

    Don't know what I'm doing wrong.

    As I noted above, an important part of your problem is that you asking what amounts to a series of questions XY rather than the big picture given by presenting the necessary resources. You have been really good on the creation of examples on apex.oracle.com, but they are all fragments of the righteous, which makes things difficult when you try their synthesis in something that works as a coherent whole. Various bits and pieces that have been revealed in recent weeks, it seems like this could be treated using dynamic measurements without having to send the page until the final choice has been made.

  • How to make a slide to wait until the user has answered a question correctly, even after activation of a smartshape?

    Background:

    I created a questionnaire in which the user must answer each question correctly before to proceed to the next slide. That's what I did:


    • Set preferences Settings > required > respond to everything - the user must answer each question to continue
    • Set the number of attempts at the level of the question to infinity
    • Made the Next invisible button and disabled the PlayBar

    In this way, the user can proceed to the next slide in the issue with the submission process - and, since attempts are endless, this means that after having answered the question correctly.

    Current objective:

    I want the user to be able to click on a prompt for a hint. To configure this, I did the following:

    • Created a smartshape titled 'click_for_hint' to display the text that says: "click here for a tip.
    • Created a smartshape labelled 'hint' text display
    • Show "hint" success value "click_for_hint".

    Now, when the user clicks on the text that says: "Click here for a hint," the suspicion appears. So it works - great! However, once the indicator is activated, I would like to for the user to continue endless attempts until respondent correctly to the question... and then only after answering correctly, proceed to the next slide.

    The problem:

    If the user has submitted one or more wrong answers, and then activates the indicator, the slide just waiting until the user has answered the question correctly. Instead, it will be set in playing, proceeding to the next slide. I tried the smartshape 'hint' to take a break on the success of adjustment, but it does not work.

    Is there a way to make the slide to wait until the answer to the question correctly before moving on to the next slide, even after the indicator has been activated?

    Are you aware that your required parameter can cause problems, the blocking of the user? It is also completely useless because you have unlimited attempts at the level of the issue and hid the next button (hope, you don't need review, otherwise, I would recommend not to hide this button but slide it under the Clear key: the Question slides in Captivate - Captivate blog)

    The index problem is related to the fact that a simple gesture going out of reading. I would like to see the timeline of the slide, to compare the points of suspension form and the question slide button. And maybe this blog can also clarify difference between simple/advanced: Why choose Standard Simple action?-Captivate blog

    Regarding the buttons on question slides form: buttons on slides of Question/Score of Captivate 6?-Captivate blog

  • the user has been created even after the deletion of system.dbf

    Hello

    I am newbie in Oracle Dba, I'm practicing back and recovery. I have a question, even if I deleted system.dbf I am able to create the user. Why is it so? I'll have these files together in oradata

    SYSAUX.dbf test_ts.dbf temp01.dbf undotbs1.dbf

    Please can someone answer my question

    Thank you
    Bala

    Bala,

    Its always a needs to display the operating system and your version of the database when you post a question given that things are very different from one version to the other and o/s to o/s. My guess is that you are on a certain operating system to nix a sort of . If so, what you see is completely normal. In the case of nix operating system, the process that opened the file, don't close until he himself is not closed. So even if you deleted the file, for the process of the Oracle, the file is still open and is available. If you would like to restart your db, the Oracle process would free up the inode of the file and that you would hit the file not found error.

    HTH
    Aman...

  • Tedious Error Message When you install Itunes "the installer has insufficient privileges to access this directory: C:\Program Files\Quick Time\QTSystem.»

    Hi, I tried to update my iTunes a day and when he made an error appeared. Now, today I uninstalled both iTunes & Quicktime, I don't remember what the first said (before finding out the programs were installed yet) but after I went back uninstalled them I tried to reinstall again (in the hope that it would work) and this message popped up.

    The installer has insufficient privileges to access this directory: C:\Program Files\Quick Time\QTSystem. The installation cannot continue. Log in as administrator or contact your system administrator.

    * I'm already logged as administrator.

    Could you please help me understand what the problem is? Thank you!

    Hello

    Try right click on setup.exe itunes then run as adminintrator

    If this does not work, try this

    Follow the information from apple to the link below

    Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7

    http://support.Apple.com/kb/HT1923

    and or ask for their support of itunes

    http://www.Apple.com/support/iTunes/

    Also try the discussions of apple itunes

    http://discussions.Apple.com/category.jspa?categoryID=149

Maybe you are looking for

  • Why is - my music and Sound distorted on my h8-1020?

    Hello I noticed several times during internet browsing or listening on itunes, the music will momentarily be distorted.  If I watch a movie on my PC, the strain will also hit not synchronized sound with video.  It can get really annoying.  Also, duri

  • Where is the HDD on Satellite 1130?

    Where is the hard drive on a Satellite 1130?

  • Trying to set up my new IPAD2 in my Dell laptop security

    Try to use my new IPAD2 and unable to connect to my internet connection here at home.  I am trying to use my internet connection at home, but does not have the password I thought I had set up on a long time ago. I guess I used something else!   Is th

  • Open and print files from Microsoft Works on new computer

    I have a new computer with windows 7. My old computer had windows vista. I created the documents and spreadsheets using ms works, I saved the on a flash drive. My new computer doesn't have the works of Mrs. When I try to open these files, it asks wha

  • Trying to capture a shift + click on a menu

    It's kind of a weird request and I have fought it as a developer, but the company wants "hidden" feature with an internal application through the standard application menu.  They want to be able to hold down the "shift" key when you click on a menu i