View object that will allow to see data from two tables in a adf table

Hi,
I've been have serious issues to resolve this functional requirements with ADF.
Basically I have two tables let say employee and department.
A need a read only adf table to show the employees values but I don't want the users to see the department id, instead I want them to see the department name and all this in the same read only adf table.
I created a view object based on such a query below:
select employeelastname, employeefirstname, departmentname from employee, department where employee.departmentid = department.departmentid (+)
Note the outer join here because some employees don't have department assigned but I still want to see them in my read only table.
The problem is that the view object is based on a sql query and is using calculated attributes instead of entities and I am getting that error "rowkey does not have any primary key attributes" each time I select a row inmy adf read only table. So the popup I defined when the user select a row does not work properly and I need a better solution. I will also have the option for the users to delete a record selected in the read only table so really need entities behind there not just a view.
My view object also include LOVs but I realized LOVs only work for tables but not for read only tables. Too bad the fonctionality is almost there... So even if I have lovs defined that show the data like I would like it to be seen for tables it does not help for ready only tables. Any way to have read only table working with LOVs (user will not be able to change the values or select another value in the list but at list they would see the department name instead of the department id)?
Thanks to anyone that would be able to help me on this.
Stephane

Let me first say that I would use Shays approach and only under special circumstances (which are beyond this thread) use the solution outlined below:
You can use the read only VO based on your query without basing it an entities. All you have to do is to mark one or more attributes as primary key in the VO. This should solve the "rowkey does not have any primary key attributes" error.
Now to delete a row (I'm not sure which row department or employee you mean here) you use the selected read only row, get the PK of the row and call a service method in the application module of in a VO which is based on an entity and remove the row there. You can even use the removeRowWithKey operation from the data control to archive this.
The second problem I don't understand. If you show the user a read only table there in no need to show a lov as you can't change the value. If your problem is that you need to show the department name instead of the department id, you simply add the department name to the attributes you select with your query.
Timo

Similar Messages

  • Is there a specific disc that will allow a 2nd burn from iPhoto?

    I bought CD-RW discs thinking I would be able to burn from iPhoto to the same disc several times to back up my pictures but that's not the case.  Is there an iPhoto setting or a specific disc I need to use in order to do this?  Or do I need to wait to burn to a disc until I have enough to fill it? Thank you!

    That's not how RW disks work. You're trying to append to the existing data on the disk. RW disks allow you to wipe and reburn on to the disk, not append.
    Regards
    TD

  • Loading data from two flat files into one table

    Hi All,
    I want to load few fields from one file and few fields from another file and load the data into one table in the database.
    For Ex: I have two flat files file1.csv and file2.csv and file1.csv containes 25 columns and file2.csv containes 12 columns, i want to load 20 columns from file1.csv and 7 columns from file2.csv into the table
    how to combine the columns from both the files and load them into one table at a time?
    Any help is appriciated
    Thanks
    R.G

    Use external tables.
    If using Oracle9 or higher connect both your csv with database as separate external tables and load the requited fields in new/requited table.

  • Is there a plug-in that will allow me to view CR2 (raw) files from a Cannon 5D Mark III to PSE 9 ?

    is there a plug-in that will allow me to view CR2 (raw) files from a Cannon 5D Mark III to PSE 9 ?

    The 5D.3 was first supported in ACR 6.7 which you need PSE 10 to use, so there is no plug-in for PSE9 that will allow opening the files from a camera newer than when PSE9 became obsolete.
    Besides getting PSE12, assuming it is supported on your current computer—check the specs, you can use the free DNG Converter available from http://www.adobe.com/downloads/updates.html 
    to convert your CR2 files to DNG files that are compatible with older versions of ACR.  Be sure to set your DNGC compatibility settings to a version old enough to be openable with PSE 10’s ACR.
    As far as whether the OP is serious, it doesn’t hurt to ask the question before spending money on something you didn’t need.

  • SSAS Tabular - Merge data from two tables to one

    Hi,
    I have two ReportServer databases in two different instances of SQL Server. I want to extract the ExecutionLog3 data to a Tabular model. Now, I have two separate tables in Tabular with duplicated measures but I want to have the data from two ReportServer in
    the same table.
    Any idea?
    Regards.

    Hi Numero4,
    According to your description, there are two Reporting Services databases, and you want to merge the data in a tabular model, right? 
    As per my understanding, you can create a link server on one of the server, and then merge the data in database lever other than in tabular mode. In this case, import the merged data into the tabular model. Here are some useful links for you reference.
    http://msdn.microsoft.com/en-IN/library/ff772782.aspx
    http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/52/how-to-create-link-server-with-ms-sql-200520082012-64-bit-using-qodbcqremote
    Regards,
    Charlie Liao
    TechNet Community Support

  • I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    You don't need an application, just plug a compaitble monitor into the display port of your MacBook Pro, set the screen up in System Preferences>Displays

  • Is there a Button menu option that will allow one view the names of all the buttons already created?

    Is there a Button menu option in InDesign CS 5.5 that will allow one view the names of all the buttons already created?

    Thanks for your prompt feedback! However, this option does not work for me -- and I'm not sure exactly why.
    Originally, when I tried your suggestion, I got the unsatisfactory result illustrated in the following help request: https://support.mozilla.com/en-US/questions/758172
    Now I am in the process of testing several new add-ons to fix this problem, and I am getting a very different (and even more unsatisfying) result illustrated in the attached image -- so I realize the problem may now be compounded by one or more of the new add-ons.
    (See the attached image that illustrates what happens now when I click on the MyDocs URL after is has been added to my Bookmarks tree.)
    UPDATE: I'm going to try the LocalLinks add-on to see if this will help me open local links using my FireFox bookmarks: https://addons.mozilla.org/en-US/firefox/addon/locallink/
    Will let you know if it works....

  • What type of add on can I download that will allow meto change the view of my emails in gmail? I would like to have them split view like outlook

    What type of add on can I download that will allow meto change the view of my emails in gmail? I would like to have them split view like outlook

    Dear Sara,
    I notice that you didn't reply to my questioning the this ambiguous stipulation of your services being extended to Adobe's rights in the use of my personal content or intellectual and creative property.
    When I returned to my "files" section in Adobe Reader where they were transferred to in converting them to PDF they had all been removed. Around 6 projects in progress plus notes and several creative design images in one instance (attached to a writing project). I have access to the files and I am downloading Cloud desktop interface.
    Does the interface of Reader in desktop automatically remove them from my online account, making them exclusively offline from here on OR must they be physically removed and so have they been removed by another party?
    Finally, since they are made copyright in the conversion, must future files be made uploaded to signify and account for them as made copyright by the process record in my personal account?
    Excuse my asking lots of questions. My work has been tampered with in the past and I am excited about this service I can avail of in protecting all of my work.
    Yours Sincerely,Liam Anthony Dalton BA, FA

  • I am new at Captivate 8 and I have created a learning project using an existing power point presentation.  I have added a button that will allow my students to view a video on the subject.  When I run the project in Preview the button works but when I pub

    I am new at Captivate 8 and I have created a learning project using an existing power point presentation.  I have added a button that will allow my students to view a video on the subject.  When I run the project in Preview the button works but when I publish it, it stops working.

    I added an Interactions button and in the Actions on Success I open an URL or file. I have placed the video on our web server.   In the URL I point to our web server "http://www.wmabhs.org/Media/Add Client 3rd Party Coverage.mp4".  If I run this from any browser it works.  So what do you think I have done wrong?

  • LOOKING FOR AN APP THAT WILL ALLOW ME TO READ A PDF DOCUMENT OFF LINE

    My itouch has 8 Gb of RAM and I am looking for an app that will allow me to store a PDF document in memory and read it off line as there are times when I do not have access to WiFi. I can email myself the document but I am off line, I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right? Therefore the reason I am looking for the ability to save and read off line.
    Thanks!!

    @x62
    I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right?
    No, incorrect. The inbox is an *off line* folder, just as it is on a computer. Once you download the email from the server, it is in your iPod/computer and you can access it when you like.

  • I want to buy a wireless headset for my iPad that will allow me to lissen to a video while blocking out any other sounds in the room yet is comfortable. I do not have any experience with headsets so I do not know what to expect.

    I want to buy a wireless Bluetooth headset for my iPad that will allow me to listen to a video while blocking out any other sound in the room. I tried a philips 6000 earplugs but it was not good at blocking out sound. Can anyone give me some suggestions. I see lots advertised but do not know which one to chose.

    Take a look at HeadRoom (headphone.com). It's a fabulous resource for all types of headphones, with great guides and useful reviews.
    http://www.headphone.com/

  • What is the latest update available for Mac OSX 10.5.8 that will allow me to get the latest update for iTunes.  I really need to update my iPhone and CAN'T!!  GRRRR!!!

    What is the latest update available for Mac OSX 10.5.8 that will allow me to get the latest update for iTunes.  I really need to update my iPhone and CAN'T!!  GRRRR!!!

    Minimally you need Snow Leopard or greater:
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard — Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service — this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion — System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Where is the Url for free Adobe Acrobat X Pro that will allow me to create PDF/X ‑1a requires all fonts to be embedded,

    Is there a free copy of Adobe Acrobat Pro that will allow me to create PDF/x‑1a with all requires all fonts to be embedded. I already have Adobe Acrobat Pro XI.

    The Standard joboptions that are used by default don't embed most so-called system fonts.
    Change your joboptions to High Quality Print and you will get Arial embedded plus much higher quality imagery.
    BTW, PDF/X is great (I'm actually Chair of the PDF/X standards committee), but PDF/X-1a created by using the PDF/X-1a joboptions ruins output by flattening transparency, yielding stitching and other image artifacts that you can see both on screen and print if your document has any transparency (including drop shadows, reflections, and even clipped images). It also forces all content to CMYK. PDF/X-4 is a better choice.
    What are you creating the PDF file from? Microsoft Office documents? Adobe layout programs such as InDesign?
    Let us know and we can give you a more focused recommendation as to what to do.
                - Dov

  • I'm trying to find an external drive for the MacPro that will allow me to password protect the external drive in case it is taken.  Any suggestions on a very reliable on that is 2TB or a third party software that is compatable with the need I describe?

    I'm trying to find an external drive for the MacPro that will allow me to password protect the external drive in case it is taken.  Any suggestions on a very reliable one that is 2TB or a third party software that is compatable with the need I describe?

    How much of a hurry are you in, and are you considering upgrading to Lion?
    File Vault on Snow Leopard only encrypts home folders you select, and doesn't work well with Time Machine.
    But Lion will have "full disk encryption" of local or external disks.  See File Vault 2 here: http://www.apple.com/macosx/whats-new/features.html

  • HT4108 Does anyone know if there is a blue tooth keyboard for an ipad air that will allow for a slideshow presentation to pair with a monitor.

    Looking for a blue tooth keyboard that is compatible with the iPad air that has slideshow functionality for pairing with a monitor.  I thought Zagg had one but they do not with the new operating system.
    Thanks.

    PaulDonegan wrote:
    Is there a text box generator in InDesign that will allow you to create a text box with XXX amount of words in it? I work for a newspaper pagination desk and we always get asked to keep a hole for a story that may have 500 words in it. If there is such a thing this would be greatly helpful for people in my position to use this and implement it in the whole office so that we could plug in a space and keep a rough idea as to how much space we need.
    Thanks in advance for your help
    Paul D
    Use Type > Fill with Placeholder Text to generate lots of text. Select some text, then use Window > Info to display the number of selected words. Expand or contract the selection by holding Shift, or Shift+Cmd/Ctrl, and pressing arrow keys. When you have the number of words you want, copy, press Escape, click an empty spot on a page, then paste; the copied text appears in is own text frame. Select the frame and use Object > Fitting > Fit Frame to Content contain all the text within the frame.
    Search Google for terms like "InDesign placeholder text" without quotes for info on changing the actual placeholder text, and also info on a text generator.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • Best way to share aperture library over network on two computers?

    I've read several posts about doing this and most recommend using an external HD and just hot swapping. However, is their not a better alternative? Can I not share my library over the network, or just remote connect to the other computer? Thanks for

  • Best Practice for installing/managing 9i/10g RAC

    Looking for this notes/articles...

  • Sine waves?

    I am having a problem with a ridiculously simple issue. I need a sine wave - a flat tone that does not change in volume. The sub synth seems to be the best software sound, but it fades gradually as it endures. I have messed with the equalizer, compre

  • System is in an paused state

    Our Sun "hibernates" quite often we use our sun primairly for HPOV. When it "hybernates" We do not receive alarms and traps from our Global Network. I need to stop HPOV When I do so i get the following response. "The system is in an paused state. 'ov

  • Zone's vm+rss usage

    I have two limits set, one for swap and one for rss in a Solaris u4 zone. How do the applications behave in this environment? If I have 128mb capped-memory (rss) set, and I set swap to 256mb. Do the applications start eating swap once the 128mb gets