XPath/xquery and view

I have following xml file. I want to generate an oracle view on this file using xpath/xquery so that I can access individual elements in SQL statements for join etc. How can I do this?
<MemberShips>
     <Membership>
          <MemberStatusDesc>Continuing</MemberStatusDesc>
          <MemberTypeDesc>Active 61%-100%</MemberTypeDesc>
          <MembershipStartDate>2005-09-01T00:00:00</MembershipStartDate>
          <MembershipEndDate>0001-01-01T00:00:00</MembershipEndDate>
          <Employments>
               <Employment>
                    <EmployerName/>
                    <EmploymentStartDate>0001-01-01T00:00:00</EmploymentStartDate>
                    <EmploymentEndDate>0001-01-01T00:00:00</EmploymentEndDate>
                    <Schools>
                         <School>
                              <SchoolName>XXX</SchoolName>
                              <SchoolBldgCode>999</SchoolBldgCode>
                              <FIPSCountyCode/>
                              <MemberPositions>
                                   <MemberPosition>
                                        <MemberPositionID/>
                                        <MemberPositionDesc/>
                                   </MemberPosition>
                              </MemberPositions>
                         </School>
                    </Schools>
                    <District>
                         <DistrictCode>999</DistrictCode>
                         <DistrictName/>
                         <DistrictID>7777</DistrictID>
                    </District>
               </Employment>
          </Employments>
          <Local>
               <LocalCode>999</LocalCode>
               <LocalChapterName>None</LocalChapterName>
          </Local>
     </Membership>
     <Membership>
          <MemberStatusDesc>Continuing</MemberStatusDesc>
          <MemberTypeDesc>Active 61%-100%</MemberTypeDesc>
          <MembershipStartDate>2005-08-31T00:00:00</MembershipStartDate>
          <MembershipEndDate>0001-01-01T00:00:00</MembershipEndDate>
          <Employments>
               <Employment>
                    <EmployerName/>
                    <EmploymentStartDate>0001-01-01T00:00:00</EmploymentStartDate>
                    <EmploymentEndDate>0001-01-01T00:00:00</EmploymentEndDate>
                    <Schools>
                         <School>
                              <SchoolName>YYY</SchoolName>
                              <SchoolBldgCode>666</SchoolBldgCode>
                              <FIPSCountyCode/>
                              <MemberPositions>
                                   <MemberPosition>
                                        <MemberPositionID>12</MemberPositionID>
                                        <MemberPositionDesc>Janitor</MemberPositionDesc>
                                   </MemberPosition>
                              </MemberPositions>
                         </School>
                    </Schools>
                    <District>
                         <DistrictCode>555</DistrictCode>
                         <DistrictName/>
                         <DistrictID>555</DistrictID>
                    </District>
               </Employment>
          </Employments>
          <Local>
               <LocalCode>555</LocalCode>
               <LocalChapterName>Guess</LocalChapterName>
          </Local>
     </Membership>
</MemberShips>
thanks

Oracle Version is 10.2.0.2. This xml is in database column of xmltype.
I tried following SQL, but it doesn't work when MemberPosition element occurs more than once for same school.
select
a.MemberStatusDesc,
a.MemberTypeDesc,
a.MembershipStartDate,
a.MembershipEndDate,
a.LocalCode,
a.LocalChapterName,
a.EmployerName,
a.EmploymentStartDate,
a.EmploymentEndDate,
a.SchoolName,
a.SchoolBldgCode,
a.MemberPositionID,
a.MemberPositionDesc,
a.DistrictCode,
a.DistrictName,
a.DistrictID
from cta_xml_temp,
xmltable ('for $i in /CIM/Body/Document/XMLContent/VendorMembershipUpdates/Members/Member/MemberShips/Membership
return $i'
passing cta_xml_temp.cta_xml
columns
MemberStatusDesc varchar2(35) PATH 'MemberStatusDesc',
MemberTypeDesc varchar2(100) PATH 'MemberTypeDesc',
MembershipStartDate varchar2(100) PATH 'MembershipStartDate',
MembershipEndDate varchar2(100) PATH 'MembershipEndDate',
LocalNEACode varchar2(100) PATH 'Local/LocalCode',
LocalChapterName varchar2(100) PATH 'Local/LocalChapterName',
EmployerName varchar2(35) PATH 'Employments/Employment/EmployerName',
EmploymentStartDate varchar2(35) PATH 'Employments/Employment/EmploymentStartDate',
EmploymentEndDate varchar2(35) PATH 'Employments/Employment/EmploymentEndDate',
SchoolName varchar2(35) PATH 'Employments/Employment/Schools/School/SchoolName',
SchoolBldgNEACode varchar2(35) PATH 'Employments/Employment/Schools/School/SchoolBldgCode',
MemberPositionID varchar2(35) PATH 'Employments/Employment/Schools/School/MemberPositions/MemberPosition/MemberPositionID',
MemberPositionDesc varchar2(35) PATH 'Employments/Employment/Schools/School/MemberPositions/MemberPosition/MemberPositionDesc',
DistrictNEACode varchar2(35) PATH 'Employments/Employment/District/DistrictCode',
DistrictName varchar2(35) PATH 'Employments/Employment/District/DistrictName',
NCESSchoolDistrictID varchar2(35) PATH 'Employments/Employment/District/DistrictID'
) a

Similar Messages

  • Choice between xquery and parsing methods

    I want to read from an xml source file. I have been working with parse techniques (JAXP )and Marshal/Unmarshal techniques(JAXB).
    Recently i came to know that we can query an xml document using xquery and
    xpath methods.
    Is the second method advantageous than the first one in terms of time and memory constraints ?

    Yes, xquery and xpath are always easy to work than parsing on your own.
    It provides already written methods for u, which u need not to write on your own to fetch the data.
    Hope this will help u.
    ......yogesh

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Go to the support site for the provider of the MRI software.
    Sounds like it windows/PC. I have ran across that for the CDs that veterinarians provide for digital x-rays.
    I would try on a PC or on yuur Mac with Windows via BootCamp or a virtual machine like VirtualBox

  • Internet access problems and viewing video on internet

    I have very limited interet access most of the time.  I get a message: "You are not currently in an area that can handle data communication.  ..."  I have no problem with email and other features of the phone during this time.  The signal at the top of my phone says "GSM".  When I am able access the internet, it give me a different signal (can't remember what that is, however).  Even then, I cannot view most video clips, such as YouTube clips.  They will not load all the way.  It states, "Error has occurred in attempting to play media."  Help!

    I have unlimited internet access, so that's not the problem.  Right when I got the phone, I replaced the original data card with a 4G card and enabled mass storage.  I have (since my first post) had more access capability by enabling the WiFi (da) which finds my wireless connection at home.  I've also been able to view a video clip, not successfully all the way through, however.  During viewing, the phone appears to crash, i.e. the screen goes white and then it takes 3-5 minutes for it to reboot.  This has also happened when the phone has not even been being used.   Also, as I was surfing the net, the phone asked if I wanted to enable Javascript which I did.  Is there anything else that I need to enable or do to the phone in order to have a more pleasant experience using the internet and viewing video clips? 

  • Issues in persisting dynamic entity and view objects using MDS

    Hi All,
    I'm trying to create dynamic entity and view objects per user session and to persist these objects throughout the session, I'm trying to use MDS configurations(either file or Database) in adf-config.xml.
    I'm facing following two errors while trying to run the app module:
    1. MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/model/DynamicEntityGenModuleOperations.xml"
    2. oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /sessiondef/dynamic/DynamicDeptEntityDef.xml failed because source metadata store mapped to the namespace / DEFAULT is read only.
    I've gone through the following links which talks about the cause of the issue, but still can't figure out the issue in the code or the config file. Please help if, someone has faced a similar issue.
    [http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG |http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG ]
    [http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm|http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm]
    Attached is the code for dynamic entity/view object generation and corresponding adf-config.xml used.
    ///////////App Module Implementation Class/////////////////////////
    public class DynamicEntityGenModuleImpl extends ApplicationModuleImpl implements DynamicEntityGenModule {
    private static final String DYNAMIC_DETP_VO_INSTANCE = "DynamicDeptVO";
    * This is the default constructor (do not remove).
    public DynamicEntityGenModuleImpl() {
    public ViewObjectImpl getDepartmentsView1() {
    return (ViewObjectImpl) findViewObject("DynamicDeptVO");
    public void buildDynamicDeptComp() {
    ViewObject internalDynamicVO = findViewObject(DYNAMIC_DETP_VO_INSTANCE);
    if (internalDynamicVO != null) {
    System.out.println("OK VO exists, return Defn- " + internalDynamicVO.getDefFullName());
    return;
    EntityDefImpl deptEntDef = buildDeptEntitySessionDef();
    ViewDefImpl viewDef = buildDeptViewSessionDef(deptEntDef);
    addViewToPdefApplicationModule(viewDef);
    private EntityDefImpl buildDeptEntitySessionDef() {
    try {
    EntityDefImpl entDef = new EntityDefImpl(oracle.jbo.server.EntityDefImpl.DEF_SCOPE_SESSION, "DynamicDeptEntityDef");
    entDef.setFullName(entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setName(entDef.getName());
    System.out.println("Application Module Path name: " + getDefFullName());
    System.out.println("EntDef :" + entDef.getFileName() + " : " + entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setAliasName(entDef.getName());
    entDef.setSource("DEPT");
    entDef.setSourceType("table");
    entDef.addAttribute("ID", "ID", Integer.class, true, false, true);
    entDef.addAttribute("Name", "NAME", String.class, false, false, true);
    entDef.addAttribute("Location", "LOCATION", Integer.class, false, false, true);
    entDef.resolveDefObject();
    entDef.registerSessionDefObject();
    entDef.writeXMLContents();
    entDef.saveXMLContents();
    return entDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private ViewDefImpl buildDeptViewSessionDef(EntityDefImpl entityDef) {
    try {
    ViewDefImpl viewDef = new oracle.jbo.server.ViewDefImpl(oracle.jbo.server.ViewDefImpl.DEF_SCOPE_SESSION, "DynamicDeptViewDef");
    viewDef.setFullName(viewDef.getBasePackage() + ".dynamic." + viewDef.getName());
    System.out.println("ViewDef :" + viewDef.getFileName());
    viewDef.setUseGlueCode(false);
    viewDef.setIterMode(RowIterator.ITER_MODE_LAST_PAGE_FULL);
    viewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
    viewDef.setSelectClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.setFromClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.addEntityUsage("DynamicDeptUsage", entityDef.getFullName(), false, false);
    viewDef.addAllEntityAttributes("DynamicDeptUsage");
    viewDef.resolveDefObject();
    viewDef.registerSessionDefObject();
    viewDef.writeXMLContents();
    viewDef.saveXMLContents();
    return viewDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private void addViewToPdefApplicationModule(ViewDefImpl viewDef) {
    oracle.jbo.server.PDefApplicationModule pDefAM = oracle.jbo.server.PDefApplicationModule.findDefObject(getDefFullName());
    if (pDefAM == null) {
    pDefAM = new oracle.jbo.server.PDefApplicationModule();
    pDefAM.setFullName(getDefFullName());
    pDefAM.setEditable(true);
    pDefAM.createViewObject(DYNAMIC_DETP_VO_INSTANCE, viewDef.getFullName());
    pDefAM.applyPersonalization(this);
    pDefAM.writeXMLContents();
    pDefAM.saveXMLContents();
    ////////adf-config.xml//////////////////////
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:config="http://xmlns.oracle.com/bc4j/configuration" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config">
    <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
    <defaults useBindVarsForViewCriteriaLiterals="true"/>
    <startup>
    <amconfig-overrides>
    <config:Database jbo.locking.mode="optimistic"/>
    </amconfig-overrides>
    </startup>
    </adf-adfm-config>
    <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="TestDynamicEC-8827"/>
    </adf:adf-properties-child>
    <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore" credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
    </sec:adf-security-child>
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mdsRepos" path="/sessiondef/"/>
    <namespace path="/model/" metadata-store-usage="mdsRepos"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="mdsRepos">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property name="metadata-path" value="/tmp"/>
    <!-- <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property name="jndi-datasource" value="jdbc/TestDynamicEC"/>
    <property name="repository-name" value="TestDynamicEC"/>
    <property name="jdbc-userid" value="adfmay28"/>
    <property name="jdbc-password" value="adfmay28"/>
    <property name="jdbc-url" value="jdbc:oracle:thin:@localhost:1521:XE"/>-->
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </adf-config>
    //////////////////////////////////////////////////////////////////////////////////////////////////////////

    Hi Frank,
    I m trying to save entity and view object xml by calling writeXMLContents() and saveXMLContents() so that these objects can be retrieved using the xmls later on.
    These methods internally use MDS configuration in adf-config.xml, which is creating the issue.
    Please share your thoughts on resolving this or if, there is any other way of creating dynamic entity/view objects for db tables created at runtime.
    Nik

  • "Archive" and "View" buttons don't work after folio update

    Hi all,
    I have a subscription to the professional edition and I have built a custom viewer app for Android. I have built about 10 folios and at first download all is ok, the folios are displayed without problems and the app works fine except for one issue: "Archive" button don't work, when I tap on it, near folio cover, nothing happens, the folio does not disappear from folios list.
    But the serious problem occurs when I perform a folio update from Folio Producer ('Update content' from adobe dashboard DPS): both "Archive" and "View" buttons stop working, nothig happens when I tap tap on them and I am forced to uninstall and reinstall the application on tablet (.apk file) to see folio changes in my custom viewer.
    This is very annoying as well as time expensive.
    Tablet is Samsun Galaxy Tab SII with Android 3.2.
    Any help is appreciated.

    To the best of my knowledge, the SII is a smartphone and not a tablet device, and the official claim is (correct me if I'm wrong) that DPS on Android is corrently tablet only.
    Anyway, it seems strange to me so checked and found out that even though the DPS apps are not available when you search for them in the Play Market of a smartphone you can still force load them to the phone and run them.
    I've done it on both a Samsung SIII running Android 4.0.4 and a Samsung GT-I9070 running Android 2.3.6 (I currently don't have a device running Android 3.2)
    The interface is so small that it's hardly possible to use it, but it works.

  • In Pages document, how do I search for word and view its frequency and page numbers in a sidebar?

    I have a long document and I want to be able to search for certain key words and phrases, and then see how many times they appear in the document and exactly where.  How do I conduct this sort of search and viewing?  In the past, in Pages and Word, I've been able to view my "finds" in a sidebar but I can't figure out how to activate that service anymore.
    Thanks!

    Here is a word frequency concordance Automator Service that works in both versions of Pages. It does not present a page number reference. It is by descending count, and alphabetically, within the repetitive counts as shown in the image here. In any document, you select the text to process, then Menu > Application Name > Services > Frequency. The Service will open TextEdit with the n-pages of scrollable results. It is 16 pt Helvetica Neue for legibility.
    Here is the code:
    on run {input, parameters}
         try
              set mySelection to input as text
              set formatted_result to concordance(mySelection)
              if formatted_result is not null then
                   set textHeading to "Word Frequency List"
                   tell application "TextEdit"
                   activate
                         set NewDoc to make new document with properties {name:"Concordance"}
                         make new paragraph at beginning of text of NewDoc with data textHeading & return
                         make new paragraph at end of text of NewDoc with data formatted_result
                         tell text of NewDoc
                               set font to "Helvetica Neue"
                               set size to 16
                               set color of paragraph 1 to {0, 0, 65535}
                         end tell
                        end tell
              else
                        display dialog with title ¬
                         "No input selected" with icon stop ¬
                          giving up after 15
              end if
         on error errmsg number errnum
                    display alert ¬
                               "AppleScript Error" message errmsg & "[" & errnum & "]" as critical ¬
                                  giving up after 30
         end try
         return input
    end run
    on concordance(mySelection)
    -- Use Ruby to count word frequency and alphabetically sort words
        set rb to ¬
        "selected = String.new\nfreqs = Hash.new(0)\nselected = ARGV.join('  ').gsub(/[,.]/, \"\")\n
         words = selected.split(/[^\\w-]+/)\nwords.each { |word| freqs[word] += 1 }\n
         freqs_sorted = freqs.sort do |a,b|\n\t
         a.last == b.last ? a.first <=> b.first : b.last <=> a.last\nend\n
         freqs_sorted.each { |k,v| printf \"[ %8s ]          %s\", v, k }"
        do shell script "/usr/bin/ruby -e " & rb's quoted form & space & mySelection's quoted form
    end concordance
    Launch /Applications/Automator and choose New Document, then click the Service icon, and then select the Choose button.
    On the left, you will have a list of Libraries from which to choose workflow items. Find Library > Utilities. In the adjacent column, locate the Run Applescript workflow. Click on it, then drag and drop it in the large workflow window to your right.
    At the top, you can select Service receives text in any application. Leave Output replaces selected text unchecked.
    In your Run AppleScript workflow window, you will see AppleScript boilerplate. Click on it and press command+A, then backspace to delete this content. Copy and paste the above code into this Run AppleScript workflow window. Press the Run button in Automator's upper right corner. If (and it should) a TextEdit window pops up, you are good, and you want to press File > Save. A dialog box will pop-up where you can name your Service. I called my Frequency, you may wish to call it something else. Once you have save it, you can exit Automator. Services are deposited in yourlogin directory/Library/Services.
    If you have a Pages document open with text, either select it, or command+a to select the entire document. Now, you select your Service via Pages > Services > Frequency. This will now pop-up a new TextEdit document with the results. If you want to save this new document, you must use option+File to Save as...

  • One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone esle sends me I can't view the images. Thye are all blank white squa

    One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone else sends me) I can't view the images. They are all blank white squares. This started a few weeks ago. Why can't I view Picasa link images through Mail?

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to open and view an app in itunes

    I have an app called daily diary how can I open and view my entries in itunes, and retrieve my pics

    This one?
    https://itunes.apple.com/gb/app/daily-diary-journal-diary/id317637852?mt=8
    Has a "mail any entry" feature, will that work?
    tt2

  • Rh10 - HTML Help - linking to pdf shows when generate CHM and 'view results' but not when double-click on CHM in project folder or in product help

    I have several PDFs in Baggage Files that are linked to topics in the Table of Contents.  When I generate the CHM file and 'View Results' I am able to pull up/access the PDFs with no problem.  When I go into the project folder and just double-click on the CHM file, I cannot pull up/access any of the PDFs nor can I access them in the product help.  Any ideas?  Is a setting "off" somewhere in my project?
    I am using RoboHelp 10.
    Thanks!

    eeddings wrote:
    Thanks for the idea, but I can't switch the project to WebHelp.  This .chm project consists of a master project with 18 slave projects and a slew of remote jumps.  I'd have to recreate all of the remote jumps if I switch to WebHelp.
    Hopefully Adobe can fix this issue.
    Well, first off, even though it would be WebHelp, it would be inside a CHM container. So for all intents and purposes it would be a CHM file. But having said that, I'm not sure there is a way to merge these hybrid types of CHM files.
    If your statement about Adobe fixing the issue is meaning that they can either remove the Print icon from the CHM Viewer, I wouldn't hold my breath because as I said, that's in Microsoft's lap and they haven't updated the CHM viewer in a long while. Doubtful they ever will.
    The only hope would then be for Adobe to update the code used for the Mini TOC. The only way that will happen is if enough folks submit this as a bug via the following link:
    http://www.adobe.com/go/wish
    Until that would happen, your likely best bet is to simply avoid using the Mini-TOC feature or just insert a warning that if the topic is printed, it will cause issues. Or, you could use bookmarks and links to establish your own verision of a "Mini-TOC"
    Cheers... Rick

  • Can't open and view icloud

    How do I open and view my I cloud

    You can't view your iCloud on your iPad with Safari. You can on a computer by going to http://www.icloud.com.
    If you use a browser like iCab which can change its browser ID from Mobile Safari to Safari 6 (Mac) then you can use the iPad.

  • Newbie question about entity and view objects

    Hi everyone,
    My first ADF application in JDeveloper is off to a difficult start. Having come from a forms background, I know that it is necessary avoid using post-query type lookups in order to have full filtering using F11/Ctrl+F11. This means creating an CRUDable view and getting as much of the lookup data as possible into the view without losing the ability to modify the data. In JDeveloper, I do not know how to build my data model to support that. My thought was to start with a robust updateable view as my main CRUD EO and then create a VO on top of that with additional EOs or VOs. But, I have found that I cannot add VOs to another VO. However, if I link the VOs then I have a master-detail which will not work for me.
    For example, I have two joins to CSI_INST_EXTEND_ATTRIB_V shown in the queries below and need to have that show in the table displaying the CRUD VO’s data. It seemed that the best way to do this is to create a CSI_INST_EXTEND_ATTRIB_V entity object and view object. The view object would have two parameters, P_INSTANCE_ID and P_ATTRIBUTE name. Both the building and the unit are needed on the same record, and this is not a master-detail even though it might look that way. (A master-detail data control will not work for me because I need all this data to appear on the same line in the table.) So, I need help figuring out the best way to link these to the main (CRUD) view; I want as much of this data as possible to be filterable.
    select
    cieav.attribute_value
    from
    csi_inst_extend_attrib_v cieav
    where cieav.instance_id = p_instance_id
    and cieav.attribute_code = 'BUILDING NAME'
    select
    cieav.attribute_value
    from
    csi_inst_extend_attrib_v cieav
    where cieav.instance_id = p_instance_id
    and cieav.attribute_code = 'UNIT NAME'
    Ultimately, I need to display a ton of data in each record displayed in the UI table, so a ton of joins will be needed. And, I need to be able to add records using the UI table also.
    James

    Hi Alejandro,
    Sorry if I caused confusion with my first post. What I had in mind assumed that I could have a single CSI_INST_EXTEND_ATTRIB_V EO with a BuildingVO and UnitVO on top of it. So, I wrote the queries individually to show how I would invoke each view. When I realized that confused the issue, I rewrote the query to explain things better.
    Now having seen your 2 queries. You need to create 2 EO. One for each table. Then create an association between the 2 aeO (this will be the join you are talking about). Then, you need to create a VO based on one of the EO and after you can modify and add the second EO (in here you select the join type).
    After your done with this, youll have 1 VO that supports CRUD in both tables.
    There were three tables in the query: CIEAV_BUILDING, CIEAV_UNIT, and T -- the main CRUD table. When you say that I should create two EOs, do you mean that they are to be for CIEAV_BUILDING and CIEAV_UNIT? Or, CIEAV and T? Assuming CIEAV and T, that sounds like it would allow me to show my building or unit on the record but not both.
    By the way, everything is a reference except for the main CRUD table.
    Look forward to hearing from you. Thanks for your help (and patience).

  • I have photoshop CC. I cannot open two files such as Tiffs and view them side by side. When I open the second file it overrides the first. Do I need to do something with preferences?

    I have photoshop CC. I cannot open two files such as Tiffs and view them side by side. When I open the second file it overrides the first. Do I need to do something with preferences?

    What happens when you try to use the clone stamp tool?
    It should work with the images side by side.
    You can setup photoshop cc to be like photoshop cs2 was on your other mac, by going to Photoshop>Preferences>Interface and unchecking
    Open Documents as Tabs and Enable Floating Document Window Docking
    And also going to Window and unchecking Application Frame

  • Firefox is slow to load and view pages and repeated "Firefox is not responding" message

    Firefox is quite slow to load and view pages with and I keep getting the "Firefox is not responding" message.
    I have the latest version, plus the latest Adobe Flash Player, Shockwave Player, etc.

    Note that Firefox 36 has been released officially.
    *https://www.mozilla.org/en-US/firefox/36.0/releasenotes/
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

Maybe you are looking for

  • How much will it cost me to replace the whole top screen of my macbook, including the part that pivots to open and close it?

    I'm not sure of what it's exactly called, but my whole screen (including the black part that attaches the screen to the keyboard) is in bad condition. My screen is cracked, and when I open my macbook, the hinge is loose and flops and does not stay in

  • Tier 1 UK VISA Holder, looking for Job assignment​.

    Hello, I have Tier 1 HSMP UK VISA, looking for employment in UK.  A little about me: 1) 4 Years of experience in NI LabVIEW / Test Stand Programming Environment 2) Extensive hands on various instruments interfacing like Agilent, Rodhe & Schwarz & Anr

  • WRE54G Power Issues??

    I too have a WRE54G Range Expander that I removed from the outlet and repositioned, but then failed to power up - no LED indicators, no activity.  I have read a few postings of similar power failure behavior and thought there might be an underlying i

  • Firefox becomes very slow with Yahoo All-New Mail

    Problems with the Yahoo! All-New Mail version: Everything was working fine, but since the last two Firefox updates I began noticing that Yahoo was consuming a lot of CPU (it varies from 35% to 40% and is on the top list of programs CPU consumption) a

  • "check signal cable" analog?

    "check signal cable" analog pops up instead of my desktop after I turn off my monitor or shut down my MacPro on OS 10.6.8. After I push source button on the Samsung SyncMaster 244T my desktop comes back and all works normal. "Sleep" also works. Only