EntityFramework retrieve the view and has incorrect values?

So the story is I have to use EF with Oracle datababse (lot of things go unsupported for 11c too...) Long story short, I have to create view that is a join product of multiple tables. Using distinct on the ID and Count distinct on something else. I have
something of the following: as a view in the ORACLE database:
ID     DTG     VALUE
A       11         2
B       10         3
B       10         4
B       10         5
but when I use EF context to list it out and attach to database, what EF give me is:
ID     DTG     VALUE
A       11         2
B       10         3
B       10         3
B       10         3
Note, when I tried to use .Take(5) from the context.MY_VIEW.toList().Take(5), I get one of the values from VALUE COLUMN in the Oracle db view, why is that?

Hello,
For this issue, I would suggest that you could post it to the Oracle forum:
https://community.oracle.com/welcome
There are Oracle experts who help you better.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I set up Firefox sync from my old computer. This has had its hard drive replaced and been sold. I now want to retrieve the information and got my bookmarks on my new computer. I can't see any way to do this!

    I set up Firefox sync from my old computer. This has had its hard drive replaced and been sold. I now want to retrieve the information and get my bookmarks on my new computer. I can't see any way to do this!
    Help please

    To build on the second option provided by The Edmeister make sure that you have your Sync Key, if this is not the case Firefox Sync will not help you (data is encrypted with that Key).
    Finally, if the last sync happened long time ago, it may be the case that your data is not on the servers anymore. Firefox Syn wasn't designed as a back up service.

  • How to set the view, which has to be shown at runtime?

    Hi,
    in my application i have more than one view, but at runtime only one of these views has to be shown. I want to decide this via a parameter that I get from the url.
    How can i set the right view to be showing at runtime?
    I tried it with a StartView which fires the right Outbound Plug in his wdDoInit-Method. This is working fine, but the problem is, that the method OnPlugDefault() of ComponentInterfaceViewController isn't called already at this time. So in the Init-Method of the StartView I don't have the given URL Parameter, so I can't decide which Plug I want to fire. The method OnPlugDefault() is called only after the init-method of the StartView.
    Is there any other possibilty to set the view, which has to be shown, at runtime?
    Thanks and Best Regards
    Katharina

    Hi,
    One way is you can pass the parameter in the URL , read the parameter and then fire the outbound plug depending upon that.
    You can read the parameters as follows
    HttpServletRequest request =Task.getCurrentTask()
         .getWebContextAdapter()
         .getHttpServletRequest();
    String[] param1 = request.getParameterValues("<<PARAMETRNAME");
    if(param1.equals("VALUE"))
      fire outbound plug1;
    Regards, Anilkumar

  • XML tag Main/@versionMajor has incorrect value 002; expected value is 003

    Dear experts!
    I have created a file to proxy scenario. When sent out of XI the following message occurs:
    O, btw, I have tried both XI 2.0 and 3.0 in the comm. channel and a fault message is present.
    What's the matter???
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>
      <SAP:P1>Main/@versionMajor</SAP:P1>
      <SAP:P2>002</SAP:P2>
      <SAP:P3>003</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>XML tag Main/@versionMajor has incorrect value 002; expected value is 003</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks for your suggestions!
    <i>Will reward points if answers are helpful</i>

    Hi.
    Can you copy past your xml input payload...
    Check out this thread...he has same issue...n its resolved..
    XI 3.0 and external Java client/web service
    Use the url:
    http://hostname:port/XISOAPAdapter/MessageServlet?version=3.0&channel=:SOAPRequest:SOAPIn
    Nilesh
    Message was edited by:
            Nilesh Kshirsagar

  • I am working in Numbers and can't seem to change the generic value assigned to the legend.  Any advice on how to select the legend and save new values?

    I am working in Numbers and can't seem to change the generic value assigned to the legend.  Any advice on how to select the legend and save new values?

    Ntenich,
    If your table has a Header and your Legend text is in the header, it will be picked up by the table.
    Jerry

  • VersionMajor has incorrect value

    Recently we have migrated from SAP 4. 7 to ECC6 , After migration the  ABAP proxy interfaces are not working we get an error messages
    "XML tag Main/@versionMajor has incorrect value 002; expected value is 003"
    Any idea where to modify version major?

    Hi,
    refer this link.
    Re: Parser - "Unexpected value" error
    Regards,
    Sharanya.

  • I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    This is an open forum, not Adobe support... you need Adobe staff support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • My iphone 5 keeps crashing all the time and has a delay of about 3 seconds when doing anything on it i did a factory restore on it but it didnt fix the problem

    my iphone 5 keeps crashing all the time and has a delay of about 3 seconds when doing anything on it i did a factory restore on it but it didnt fix the problem i went to optus to see if they could help me as my phone is through them but they knew nothing i need help please my phone is only 8 months old

    Plug the device into a wall outlet and leave it for about 20 minutes. If it has not powered on at that point try a reset by pressing and holding the home and power buttons for about 15 seconds until the white Apple logo appears.

  • HT5624 I have an expired email account linked to icloud and don't know the password and can't reset the password due to not receiving emails anymore with the email account. Any ideas on how to retrieve the songs and data?

    I have an icloud account linked to an email address that is no longer in service.  I do not have the password for the account and am trying to retrieve the songs and data from the cloud to use on new apple device.  Any way to get a new password, able to open the expired account, without having that email account active?

    Hi there clarethasimmons,
    You may find the information in the article below helpful.
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621
    -Griff W.

  • How can you retrieve the GRPNO and SRVID in a server?

    Hi,
    Is there a way within a server (e.g. in tpsvrinit) of retrieving the -g and -i
    parameters passed to the server at startup? (these are visible if you use the
    "tmboot -d1" option). We have multiple instances (over 100) of servers that use
    the same executable, but we are unable to determine which messages in the ULOG
    come from which server (as there is no means of tying the pid to the group/server
    id). What we would like to do is display a message at startup that gives the
    group id and server id, and also include this info in subsequent ULOG messages.
    Any and all suggestions will be gratefully received!
    Thanks & regards,
    Malcolm.

    Hello Malcolm,
    you might want to try using the MIB_SELF flag while calling the MIB for the T_SERVER
    class.
    Hope this helps,
    /Per
    "Malcolm Freeman" <[email protected]> wrote:
    >
    Hi,
    Is there a way within a server (e.g. in tpsvrinit) of retrieving the
    -g and -i
    parameters passed to the server at startup? (these are visible if you
    use the
    "tmboot -d1" option). We have multiple instances (over 100) of servers
    that use
    the same executable, but we are unable to determine which messages in
    the ULOG
    come from which server (as there is no means of tying the pid to the
    group/server
    id). What we would like to do is display a message at startup that gives
    the
    group id and server id, and also include this info in subsequent ULOG
    messages.
    Any and all suggestions will be gratefully received!
    Thanks & regards,
    Malcolm.

  • Unable to retrieve the operations and entities during service introspection

    Hi,
                      I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice.
                          In flash builder i used the menu Data->connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,
    the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection".
                       I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!
    Thanks & Regards,
    siva
    Message was edited by: siva csc

    same problem also on my xampp installation , it worked perfect with REST service in the previous flex 3 release , is it my apache conf or something related on Flash builder
    this happens when I call my function that connect to mysql do the query and returns the array object
    Err log from Flash Builder 4:
    There was an error during service introspection.
    <br /><b>Warning</b>:  require_once(Zend/Loader/Autoloader.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br /><br /><b>Fatal error</b>:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\xampp\php\pear\;C:/xampp/htdocs/ZendFramework/library') in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br />
    thanks in advance
    P

  • HT1766 I disabled and blocked my phone when it was stolen, i have retrieved the phone and restored service. Now when i turned it on it says iphone disabled connect to itunes.. I have and no change, what do i do?

    I disabled and blocked my phone when it was stolen, i have retrieved the phone and restored service. Now when i turned it on it says iphone disabled connect to itunes.. I have and no change, what do i do?

    You need to restore the phone in itunes in order to use it again, You will have to put the phone into recovery mode and restore to factory settings   http://support.apple.com/kb/ht1808

  • Lately I have been getting a rectangular screen titled Login Setting, with my Username and Password and asking me to Login.  This screen shows up on opening the computer and has never been seen before the last month or so.

    Lately I have been getting a rectangular screen titled Login Setting, with my Username and Password and asking me to Login.  This screen shows up on opening the computer and has never been seen before the last month or so.  It has one box titled Login Credentials with a username and password field and a second box titled Login Status at the bottom where it says "Profile not found" in red.   I've never seen this before and ignoring it does not effect any operations.   Is this legitimate or some kind of identity fishing?

    Hello,
    Have you done the recent Security updates?
    Is this from Sleep or on bootup?
    Timing is about right for the FlashBack attack.
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link

  • The smaller picture in face time bounced around the screen and has disappeared. How can I get it back.

    The smaller picture in face time bounced around the screen and has disappeared. How can I get it back.?

    I take it this was during a call? Close the app and open it again.
    Failing that, and when the call is over, do a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank. Be patient, the device will power ON again in the normal way. It is app and data safe!]

Maybe you are looking for

  • How to get OGG format in Logic Studio

    How to get OGG format in Logic Studio

  • Installing LR 3.6 trashed all USB drivers; now installed LR3.5 won't open.  Help!

    Downloaded LR 3.6 yesterday.  Installed.  (To upgrade from LR 3.5).  It damaged all USB drivers on my PC (XP Pro 32 bit).  Still working with Dell tech support to resolve.  Now installed LR 3.5 will not open.  After system restore to day before yeste

  • How to populate TableView data on the other screen TextField

    Hi guru’s I am having problem in populating data from a table in one screen to a Text Field in the other screen. I have two classes FirstClass containing a textbox and a button. On pressing a button a second window is opened containing a Table of val

  • Actionscript 3 info. to MySQL database?

    I'm somewhat stuck as to how to do this. I've loaded my MySQL records into flash with a PHP created XML file. I then change the data using AS3 and it is saved into arrays. The data consists of 12 strings each with a length of 30 or so, like this: mon

  • Some problems in my scientific calculator

    Hey friends, I'm trying in this days to build a special application for iphone device. In this application 1 part is a scientific calculator. I have some problems with the trigo function and some other, i really dont know why.. For example, this code