Edmx cannot mapped stored procedure column info not displaying

Hi,
I'm trying to follow the QBE on how to mapped stored proedure in EF.
Everything works fine until I need to Add Import Function where I could not see the list of column info.
I'm using .NET 4.5, EF 5.0, 11gR3 DB, VS 2012 & ODP 11.2.0.3.60 (beta)
Below is my app.config.
<oracle.dataaccess.client>
<settings>
<add name="HR.UPDATE_AND_RETURN_SALARY.RefCursor.NEW_SALARY" value="implicitRefCursor bindinfo='mode=Output'" />
<add name="HR.UPDATE_AND_RETURN_SALARY.RefCursorMetaData.NEW_SALARY.Column.0" value="implicitRefCursor metadata='ColumnName=FIRST_NAME;BaseColumnName=FIRST_NAME;BaseSchemaName=HR;BaseTableName=EMPLOYEES;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
<add name="HR.UPDATE_AND_RETURN_SALARY.RefCursorMetaData.NEW_SALARY.Column.1" value="implicitRefCursor metadata='ColumnName=SALARY;NATIVEDATATYPE=Number;ProviderType=Int32'" />
</settings>
</oracle.dataaccess.client>
As far as I can tell it seems like VS would use the tags above to figure out the return column info and create a complex type. I could not see why it is not recognizing it.
Please note that I can access an Oracle table successfully and display rows in VS.
Thanks in advance

I'm not sure if you're the person that just logged a SR on this, but I just recently worked the same issue.
It turns out that
a) if you don't pay attention, adding a new Oracle Connection in Server Explorer defaults to the MANAGED ODP.NET (you can still create a connection using UnManaged though).
b) the metadata for MANAGED ODP.NET is different than the metadata for UNManaged. Here's the correct mapping for MANAGED ODP:
oracle.manageddataaccess.client>
    <version number="*">
      <implicitRefCursor>
        <storedProcedure schema="HR" name="UPDATE_AND_RETURN_SALARY">
          <refCursor name="NEW_SALARY">
            <bindInfo mode="Output" />
            <metadata columnOrdinal="0" columnName="FIRST_NAME" providerType="Varchar2" nativeDataType="Varchar2" />
            <metadata columnOrdinal="1" columnName="SALARY" providerType="Double" nativeDataType="Number" />
          </refCursor>
        </storedProcedure>
      </implicitRefCursor>
    </version>
  </oraclemanaged.dataaccess.client>

Similar Messages

  • View Column info not displaying in Columns Tab

    Running XP SP2 and SQL Developer 1.5.1 5440
    When looking at views that are using tables from another schema. I don't see any of the columns information. I have DBA role
    In rel 1.1.2.25 2579 I see them just fine. (Both loaded on machine right now)
    Is this a bug or do I have a setting problem?

    Barry,
    As a "disclaimer", the points below are based on my usage of SQL Developer and things that bug me about how it works or doesn't work - I know that there are more important things to fix than a number of these.
    On to the basics ... and the most basic of the basics for a tool like SQL Developer:
    1) Problems with data dictionary queries in navigator or object tabs:
    - Triggers not listed in Table tab if trigger owned by different schema to table owner
    - Index columns not listed in Table tab if index owned by different schema to table owner
    - View columns not listed in View tab if view owned by different schema to current user
    - Dependencies not listed in Table/View tab if other object owned by different schema to object owner
    - Performance of Table Node (outer join added in 1.5.1)
    - there are a lot of other posts about the supplied data dictionary queries not producing the right results and I often find that I am querying the data dictionary directly in a SQL Worksheet for information that should be correct in the navigator/object tabs
    Basic things that I expect to work in a tool like SQL Developer (or to work given that they have been included):
    1) Popup Describe problems
    - schema name is case sensitive, so doesn't find owner.object
    - synonym overrides schema name (OWNER.OBJECT will describe local OBJECT synonym instead of OWNER's object)
    - position based object name selection includes punctuation
    2) Bind variables that work properly in PL/SQL (both Execute Statement and Run Script)
    3) Package decomposition in object navigator doesn't report variables or constants of custom types and lists object.column%type constants as "constant"
    4) Exporting query results re-executes query to display Export dialog - this presents as SQL Developer freezing after selecting the Export menu option for queries that take a long time for first record to appear
    I would use SQL Developer more (or more of SQL Developer) if:
    1) More integrated file based development - I still do the bulk of my object creation (largely PL/SQL and views) editing in Wordpad and running via SQL*Plus largely because I get better error reporting.
    - display the compile message tab when using the compile button for a file
    - show errors doesn't work for views
    2) Running Reports hang SQL Developer - I still have my SQL scripts for my common queries, which I can run through SQL Worksheet in a much friendlier fashion (I can cancel them and they don't hang SQL Dev) than I can run reports
    Problems that detract from the "polish" of SQL Developer, but don't really have a big impact on usage but discourage me from trying to "convert" non-techie TOAD using colleagues:
    1) Multiple TNSNAMES files read - generates multiple entries
    2) Export of long string literals causes ORA-972 error
    3) "Statement Processed" feedback is extremely sensitive to spaces ("create Statement Processed" where two spaces between the create and view keywords) and assumes simple statements ("create unique Statement Processed" or "create or replace force Statement Processed" as examples)
    I think that makes 10 basics to fix (although some as just issues that make the tool look unpolished), however, it does seem as though testing in the following areas could be significantly better:
    1) Regression testing - a number of bugs seem to crop up again after being fixed in earlier versions
    2) Navigator/object tab queries - especially with multi-schema applications (ie Oracle eBusiness Suite) and just generally objects owned by other schemas
    3) Performance with large DBs in terms of object count (ie Oracle eBusiness Suite)
    As a final note, it is my impression that SQL Developer development has been unbalanced in focusing too much on including new functionality (which is good) and not enough on getting existing functionality right (which is better).
    I hope this helps (and wasn't too long) ...
    theFurryOne

  • Image content type in Site Asset Image library: The Preview and Thumbnail Preview columns do not display the picture of the item.

    I have two different Site Asset libraries.  The Site Asset Picture library has items of
    content type picture.  The Site Asset Image Library has items of
    content type image. 
    1) I do not quite understand the different between a picture content type versus an image content type. 
    2) the thumbnail and preview columns do not display the image in the Site Asset
    Image Library.  (the image does display in the thumbnail column of the Site Asset Picture library.)  I expected the image to display in the Site Asset Image Library the same as it does in the Site Asset Picture library. 
    Why doesn't it?
    Betty
    Betty Stolwyk

    I have subsequently found out that our "Site Asset Images" library is a Document Library to which someone must have replaced the Document content type with an Image content type.  I also found out that picture previews/thumbnails cannot be displayed
    in Document libraries.  So the problem was the library type, not the content type.
    So I simply created a new Picture Library (whose content type = picture) and copied the files into that and the thumbnails displayed just fine!
    I bet what led to this is the default "Site Assets" library that is created for a new Team site.  It is just a document library but sounds very similar to the "Assets" library.  I can imagine someone thinking the "Site Assets" library was a standard
    container for images, and simply changed the name to better identify the content! 
    As far as 'image' vs 'picture' content types, I noticed that a new Picture Library contains a content type of 'picture', but an Asset Library contains a content type of 'image' (as well as audio and video).  Although the 'image' content type has a few
    more fields than the 'picture' content type (picture content type does not have thumbnail), the actual Picture Library contains pretty much all the same fields, including the thumbnail.  So for all practical purposes, either library type can be used for
    storage of pictures.  I am guessing that the Pictures Library which uses the picture content type is for backwards compatibility purposes, and that the 'image' content type is newer, being derived from the new "Rich Media Asset" content type and used
    in the new Asset Library which can hold audio and video in addition to pictures.  
    Microsoft Help also mentioned that a Picture Library has a slide view which an Asset library does not.  So my take on that is that if you want the potential of seeing your pictures as a slide show, put them in a Picture library which is still using
    the 'picture' content type of previous SharePoint versions.  If you want to keep pictures organized with audio/video files, then put them into an Asset library which uses the  'image' content type derived from the new Rich Media Asset content type.
    Betty Stolwyk

  • Columns are not displaying in a Dimension in the presentation layer

    Hi All,
    I have a Dimension in one of the subject area which has 3 columns. It was working fine but yesterday, we have an issue about this. These columns are not displaying anymore in the dimension.
    I have checked in the Repository and from the Presentation services for the permissions and they look fine. Is there anything else am missing. If so, where I need to check.
    Kindly help me on this.
    Thanks,
    Imtiaz.

    Hi,
    Check three things.
    1. Try to login Admin user and check whether those columns are present or not.
    2. Try to login different browser.
    3. Cross check privileges for login user (what role has assigned ).
    Note: Clear the browser cache and all Bi server cache and check.
    Hope this help's
    Thanks,
    Satya Ranki redddy

  • HT5429 maps on iphone 5 do not display anything

    Hi everyone. I recently bought a new iPhone 5 and I have a serious problem with my maps app. It does not display anything I search except the grid lines and pins. please help how can I fix it.  pls send the instructions at [email protected] Thank you in advance.

    It is not a good idea to put any kind of personal contact information in such a public forum.
    First, close the maps app. Double click the home button.  At the bottom, press and hold any app until a red circle appears on the top of each.  Tap the red circle on the Maps app.  Next, reset the phone:  press and hold the power and home buttons at the same time until the Apple logo appears.  Ignore the red slider if it appears.

  • Datform's Rows & Columns are not displaying in Capital Expense Planning

    Hi ,
    Any one let me know why the Dataforms Row's & Columns are not displaying in Summary Reports Dataforms in Capital Expense Planning ,in 9.3.1 Version.
    Any help on this appreciable...
    Thanks.........

    As John mentioned, make sure that you aren't supressing the data. If there is no data in essbase and you are supressing missing data then there will be no rows. You can unselect "supress missing data" by going to admin>manage data forms. Select the data form in question and click edit, then navigate to the row/column tab and under row properties, ensure that the "supress missing data" check box is unselected.
    You will want this unselected if users are going to input data in this form.
    DQ

  • Cannot find stored procedure in Programmability despite being executed successfully

    Hi
    I have created a Stored Procedure in SQL Server which is parsed and executed successfully but when I check it in Programmabilty-> Stored Procedures I cannot find it. After refreshing the whole database and also restarting SQL Server, the problem is occuring.
     Help with a solution.
    The Stored Procedure is
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Issues') AND type in (N'U'))
    BEGIN
    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'DeleteIssue') AND type in (N'P', N'PC'))
    BEGIN
    DROP PROCEDURE DeleteIssue
    END
    EXEC sp_executesql @statement = N'CREATE PROCEDURE DeleteIssue
    @issueId INT
    AS
    BEGIN
    DELETE
    FROM
    Issues
    WHERE
    IssueId = @issueId
    END
    END 
    Thanks and Regards
    Sarthak

    May be you are checking in the wrong database or the conditions to create the SP is  not met(Issues
    table doesn't not exist in the db). What is the output from this query?
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Issues') AND type in (N'U'))
    BEGIN
    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'DeleteIssue') AND type in (N'P', N'PC'))
    BEGIN
    DROP PROCEDURE DeleteIssue
    END
    EXEC sp_executesql @statement = N'CREATE PROCEDURE DeleteIssue
    @issueId INT
    AS
    BEGIN
    DELETE
    FROM
    Issues
    WHERE
    IssueId = @issueId
    END
    END
    ELSE
    BEGIN
    print'ISSUE doesnt exist'
    end
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Cannot create stored procedure in Azure SQL database

    When I try to create a stored procedure using Management Studio
    (Snippet follows
    use
    PPSC_Sky_Data
    go
    /****** Object:  StoredProcedure [dbo].[sp_RegisterProd]    Script Date: 17-02-2015 17:52:50 ******/
    SET
    ANSI_NULLS
    ON
    GO
    SET
    QUOTED_IDENTIFIER
    ON
    GO
    CREATE
    proc [dbo].[sp_RegisterProd]
    @inputMachid nvarchar(50),@inputDomainname
    nvarchar(255),@inputwsid
    nvarchar(255),@inputipv4
    nvarchar(50),
    @custno
    as
    nvarchar(50),@email
    as 
    nvarchar(50),@telephone
    as
    nvarchar(50),@RegType
    as
    int
    (end of snippet)
    It fails with message 40508 - (not allowed to switch between databases) then tells me I am not authorized to create an SP in the Master db.
    So....
    How can I create a procedure in AZURE Sql?
    Thanks
    Murray
    M Whipps

    Hi 9gwcycn,
    Creating stored procedures is not allowed in Master Database. You have to switch to Database
    PPSC_Sky_Data manually, use statement is not supported. After that could you please confirm again? As Creating and altering Stored procedures work fine from my SSMS.
    If you have any feedback on our support, please click
    here.
    Eric Zhang
    TechNet Community Support

  • SAPBobsCOM Recordset cannot execute Stored Procedure

    I have a query stored in a SQL 2005 Stored Procedure, and when want to retrieve my procedure with the Recordset.doQuery() command, this error message appears :
    System.Runtime.InteropServices.COMException (0xFFFFF930) at SAPbobsCOM.IRecordset.DoQuery(String QueryStr) at [ blah2..... (it refers to my code line) ]
    My code is :
    Dim oRec As SAPbobsCOM.Recordset
    oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    Try
            oRec.DoQuery("EXEC PO_LIst2")
    Catch ex As Exception
            MsgBox(ex.GetBaseException.ToString)
    End Try
    And when I change my code to be like this :
    Dim oRec As SAPbobsCOM.Recordset
    oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    Try
            oRec.DoQuery("Select * From OPOR")
    Catch ex As Exception
            MsgBox(ex.GetBaseException.ToString)
    End Try
    I don't get any error....
    For all of the code I use SQL Server 2005, Visual Studio 2008, and SAPBobsCOM version 8.8.
    Have anyone experience this?? Why the recordset can't execute my stored procedure??
    Edited by: Rinaldi Sugiono on Jun 18, 2010 1:44 PM

    I would search the forums for SAPBobsCOM to find a more appropriate forum, since the BusinessOne components are outside of scope for this forum.
    Sincerely,
    Ted Ueda

  • AD stored user Photos do not display in Lync for Mac 2011

    I'm using Lync for Mac 2011 14.0.9 and the my user photo as well as the photos of other users who are using photos stored in our AD do not display.  This behaviour has been occurring at least since 14.0.5.  The behaviour occurs regardless of whether
    I sign in using Kerberos or name / Password.  This behaviour is common for all our Mac lync users. The only photos that display are ones from windows lync users that have chosen to use a photo that is stored on the internet somewhere.
    The Lync for Mac 2011 client is running against Lync Server 2010 and Exchange 2010 servers.
    I also have the common problem that I cannot search the global address book for lync users.  Maybe this is related but none of the reports I've seen about the address book search have mentioned anything about photos not displaying. 
    Anyone Experience similar issues or know where I could start to find the problem with the contacts display?  It used to work correctly way back in 14.0.2 and subsequently an update around 14.0.5 killed the features for me.
    Oh and the Mac is running OSX 10.9 but the issues also occurred in OSX 10.8
    Thanks!

    Hi,
    Did you choose “Show a picture from a web address” on Windows Lync 2010 client? If yes, on Windows Lync 2010 client, choose “Default corporate picture” instead of “Show a picture from a web address”. Then open Lync 2011 on Mac computer to test the issue.
    The choose will sync to all Lync clients for the same Lync account.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Few values of report column do not display in report while applying filter

    Post Author: anuragg11
    CA Forum: WebIntelligence Reporting
    There are 6 drill filters applied on the report to filter out the report column data. Few values of the report are not displaying in the report when using drill filter. Same issue is with report filter too. If filters are removed then values are appearing in the report. We are using version BO XI R2 & Java runtime JRE 1.4v. It doesn't look issue is with Java version because only few specific data of the report column are not shown in the report when using filter on the data. Example: One of Report data column contains below values: 24.2, 26.9, 120.1, 230, 274.9, 275.8, 333.2 Report is displaying all these values when there is no filter on any data. But report doesn't display data when applying filter on 274.9 or 120.1 howver filter on other values 24.2, 26.9, 230, 275.8, 333.2 are working fine.

    Hello,
    I think i know what your problem is.
    Although in table view your 2 requests combine perfectly and show separate results in pivot view BI unfortunaterly adds them up.
    One work around would be to go in your criteria add in each request a dummy column. This can be obtained the following way:
    1. click on a column to add it in the criteria (it doesnt matter which one)
    2. go into the edit formula of that column
    3. delete the formula and in its place write 'Dummy Column 1'
    Do the same for the second request by adding a "Dummy Column 2'
    Now the Pivot Table should also show up correctly
    Let me know if it goes well or if you have any further questions,
    Kostis

  • If free characteristic is dragged into columns % is not displayed correctly

    Hi,
    I am working on query designer BW3.5,
    In one of my queries I have a key figure for calculating percentage of total number of employees.
    the report is working fine.
    Now end user is saying that if he drags any of the free characteristic into columns such as state or zip, the % is not displayed instead X is dispalyed everywhere.
    Please provide me some pointers as how to resolve this issue.
    Thanks,
    Rashmi.

    Hi,
    you should have a look at the detailed data within that query. In most cases like this it seems to calculate a value by doing a division by zero.

  • Some JPG images, stored in DB, do not display on screen/image item.

    Hi friends,
    I have a form to save and retrieve images (JPG, GIF, TIF) to and from DB, using WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB and CLIENT_IMAGE.WRITE_IMAGE_FILE respectively.
    It’s working fine, but with few JPG images, it stores in DB but do not display on screen/image item.
    Secondly, if I try to retrieve and write this JPG to OS (using CLIENT_IMAGE.WRITE_IMAGE_FILE), it prompts error “FRM-47101: Cannot write image file”.
    Environment:
    Forms [32 Bit] Version 10.1.2.0.2
    OS XP Pro 2002 SP3
    Oracle DB 11g Enterprise Edition Rel. 11.1.0.7.0 - 64bit
    Any help will be highly appreciated.

    Hi,
    I have done a workaround here, which worked for me.
    My requirement is to direct save images in DB. So my system was just saving images without knowing if picture would display on form or not later.
    I created a (non-DB) image item on form and added a code (CLIENT_IMAGE.READ_IMAGE_FILE) to place image in this image item, if it successfully display image then save image directly in DB using code (WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB).
    Note: - If CLIENT_IMAGE.READ_IMAGE_FILE fails it raises exception and it means image has invalid format/internal data header and system does not save image in DB.
    Now I have a kind of a filter to stop saving pictures which do not display later on form. :)
    Edited by: user12173428 on 29/09/2011 16:38

  • Using SharePoint 2013 OIP the "Title" column is not displayed

    Using the SharePoint 2013 OIP against our SharePoint 2013 environment, I am seeing that the "Title" column is never displayed in any of the activities or published data.  This is the only limitation that is preventing me from using this OIP.
     Currently using the scorch OIP and am concerned that it seems is not being actively maintained.  Which by the way shows the Title column in all the same lists I am connecting to with the Microsoft provided OIP.
    Thanks for any guidance you can provide,
    Jim

    Hi Jim, this is something I've seen before. It may be a bug in the SharePoint 2013 IP, though it does work in some cases and not in others, so difficult to say what the cause is. My recommendation is to change your list to make the default Title column optional
    and hidden, and use a new custom field for the name of the item instead. See also:
    http://sharepoint.stackexchange.com/questions/118181/how-to-remove-title-column-in-sharepoint-2013-list
    Noah Stahl | Automys |
    Downloadable Microsoft automation examples and solutions

  • Outlook 2013 Bug - Categories Column Does Not Display Color In Certain Positions

    My System: Outlook 2013-64 on Windows 7-64
    When looking at my email list (preview pane off), the categories column displays its color and text. But when the Categories column is moved to the left of the "from" column, it ceases to display its color and displays only its text, even when
    the column is wide enough to display everything for a category.
    Can someone tell me  how to fix this?
    This did not happen in Outlook 2010 and 2007.

    Hi,
    I just confirmed this issue exists on Outlook 2013, when categories
    column is dragged to the left to From, the categories don't display the colors but label texts instead.
    While I didn't find this issue on Outlook 2010 or Outlook 2007.
    Thank you for being so careful and pointing out this problem, whenver you have any feedback about this product, you can always press Ctrl + Alt + 7(Send a Smile) or Ctrl + Alt + 8(Send a Frown) to submit it. Currently I cannot promise the
    deadline when it will be fixed, but Microsoft will definitely hear users' voice and make its products better and easy to use.
    Regards,
    Melon Chen
    TechNet Community Support

Maybe you are looking for

  • I insert my sd card into my New iMac and nothing happens?

    I bought a brand new iMac and when I insert my sd card w/adapter nothing happens.  I checked the preferences and on general and advanced the boxes are checked that external will appear.  Is this a hardware issue?

  • Portal Certificate Expired with NO VA running!!!

    Hi All, I got one issue about Portal certificate expiration, for which SSO is not working b/w Portal and R3. As working on Solaris, required to re-generate the Keystore Certificate via Visual Admin, but WHAT!!! I am not able to run it, it says that J

  • XML Parser 64-bit compile

    Does the XML parser for C++ work in 64-bit applications. The installation tar for xdk 9.0.2 does not appear to have a "/lib64". Any help is appreciated.

  • Very poor sound on the toshiba laptop 205e

    I bought this computer aat Best Buy a toshiba laptop E-205 and I have a serious sound problem. The sound is so weak that I can hardly hear it.  I have read your advice but I do not see the realtek audio manager under the control panel even if I use t

  • CLONE ORACLE APPS DATABASE TO OTHER MACHINE

    Hi, I want to know how I can clone oracle APPS database to other machine. Just want to know the database part. Thanks in advance