Apex 4.0 - Can see view data in SQL*Plus but no data in Object Browser

Hi There,
I have just started using Apex 4.o and migrated some apps. I have an issue with a report, but see the same issue with Object browser, which is easier to describe.
I have a view:
create or replace view V_PLJ_USERDEF_CODES (
         CODE_SET_ID,
         CODE_SET_CODE,
         CODE_SET_DESC,
         CODE_ID,
         CODE_SYS_CODE,
         CODE_VALUE,
         CODE_DESC,
         DISPLAY_SEQ,
         DISPLAY_FLAG,
         LANGUAGE_CODE) as
  select CS.CODE_SET_ID,
         CS.CODE_SET_CODE,
         CS.CODE_SET_DESC,
         C.CODE_ID,
         C.CODE_SYS_CODE,
         C.CODE_VALUE,
         C.CODE_DESC,
         C.DISPLAY_SEQ,
         C.DISPLAY_FLAG,
         C.LANGUAGE_CODE
    from PLJ_CODES C,
         PLJ_CODE_SETS CS
   where C.CODE_SET_ID         = CS.CODE_SET_ID
     and CS.CODE_SET_TYPE_CODE = SYS_CONTEXT('PLJUMPSTART','C_USERDEF_CODE_SET');This returns data in SQL*Plus, but no data in Object Browser OR report region based on this view.
Workspace parses in the same schema as tested in SQL*Plus.
If, in report, I swap out view, and use underlying table - no problem.
Any ideas -
thanks
P

Hi all,
Thanks for getting back so promptly.
It just seems weird to me, as tables are just fine, but not views.
In the underlying schema:
SQL> sho user
USER is "ICSREPORTING"
SQL> select count(*) from plj_codes;
  COUNT(*)
       107
SQL> select count(*) from v_plj_userdef_codes;
  COUNT(*)
        29And in the APEX schema
SQL> sho user
USER is "APEX_040000"
SQL> select count(*) from icsreporting.plj_codes;
select count(*) from icsreporting.plj_codes
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select count(*) from icsreporting.v_plj_userdef_codes;
select count(*) from icsreporting.v_plj_userdef_codes
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>However, in SQL browser, I can see the data in PLJ_CODES but in V_PLJ_USERDEF_CODES, just the message "This view has no data". Indeed, it is like this for all views.
I even explicitly granted access to APEX_040000 but no good.
In fact, I would like to know more about how Apex gets access to do DML against the underlying parsing schema(s).
This is a little frustrating though. It worked just fine in lots of apps in version 2.1 to 3.2
Am I missing something
paul
p.s I knew there would be a question about the context, but I had already checked that. :)
Edited by: PJ on Nov 19, 2010 4:09 AM

Similar Messages

  • Can connect to DB via SQL plus but not Toad!

    I have installed: 10GR2 on D drive on XP machine, on C drive i have toad and Dev suite 6i (for connecting to old db's). Now, I can sqlplus from command line no problem, but when I try to connect through toad it says no listener, I also cannot tnsping my 10G db. Any idea's?

    steve contents of Devsuite tnsnames are here: the 10G db is LOCAL
    LOCAL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = weres09023)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = LOCAL)
    EISPATCH =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = rmerptest)
    (PORT = 2011)
    (CONNECT_DATA =
    (SERVICE_NAME = EISPATCH)
    MKPEURT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = KARL)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEURT)
    MKPEUR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = BARNEY)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEUR)
    UAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 1800)
    (CONNECT_DATA =
    (SID = UAT)
    DEV11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = drerptest)
    (PORT = 1700)
    (CONNECT_DATA =
    (SID = DEV11)
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbprod)
    (PORT = 1600)
    (CONNECT_DATA =
    (SID = PROD)
    UPGD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 2200)
    (CONNECT_DATA =
    (SID = UPGD)
    which net manager? the 10G home or the Devsuite home?

  • VIEW XML IN SQL*PLUS

    how can we view xml on sql*plus?
    when xmltype is viewed on sql*prompt it shows incomplete xml.
    example:
    SQL> select xmlelement("ROOT",xmlforest(1 as A, 2 as B, 3 as C)) from dual;
    XMLELEMENT("ROOT",XMLFOREST(1ASA,2ASB,3ASC))
    <ROOT>
    <A>1</A>
    <B>2</B>
    <C>3</C>
    </ROOT>
    but i generate an xml from table so it becomes quite huge. say a forest is populated with 6-8 tags. it shows broken output.
    SQL> /
    ID LIST
    <DEPT>
    <EMPLOYEE>
    <ID>2109</ID>
    <ID>3108</ID>
    <ID>4107</ID>
    <ID>5106</ID>
    <ID
    i have tried increasing bufferwidth and bufferlength tp max value (1000 and 2000 respectively) eventhen it displays the output as shown above.
    how can i view my xml?

    use this sql plus command:
    set long 2000000
    You can increase\decrease the value as required.

  • I have photos on a cd which I'm trying to open .  If I click on them I can see the picture in the preview, but when I double click it doesn't recognise the picture.  They are all in .jpg format.  Tried copying them but it said some data cannot be read.

    I have photos on a cd which I'm trying to open .  If I click on them I can see the picture in the preview, but when I double click it doesn't recognise the picture.  They are all in .jpg format.  Tried copying them but it said some data cannot be read.  The files exist but I just can't seem to view them

    Select one and hit the Space bar to view it in QuickLook. Use the forward arrow keys to move from file to file.   If the file can't be viewed in the QuickLook mode then the file is damaged and probably can't be copied or moved.
    You could try a photo file recovery application like  MediaRECOVER which can scan the memory card and tell you what files, if any, can be recovered before you have to purchase it.
    OT

  • My Ipad 4 shuts off spontaneously, it is difficult to restart.  Before I send it in, I need to delete data.  When I hook it up to my computer, I can see what is on the Ipad but I can't restore it, as "find my Ipad" is on.  I can't turn it on to shut

    My Ipad 4 shuts off spontaneously, it is either impossible or difficult to restart.  Before I send it in, I need to delete my data.  When I hook it up to my computer, I can see what is on the Ipad, but it won't sync.  It did work so-so last night and I installed IOS 8, today it is dead in the water.  The "apple" icon constantly turns off and on, but the screen never fully loads.   I can't restore my IPad until "find my IPad is off, but like I said, I haven't had an active screen all day so I can't shut it off.  Help?

    Does the unit not run on the charger alone? (take the battery out and plug it in.)
    Try an SMC Reset
    http://support.apple.com/kb/ht3964

  • I just sold my iPhone 4s after doing a reset and deleting data and settings. Is there anyway the buyer can see any of my old photos, texts, or data? I have confidential info for work and family photos and freaked out that they can be found somehow.

    I just sold my iPhone 4s after doing a reset and deleting data and settings. Is there anyway the buyer can see any of my old photos, texts, or data? I have confidential info for work and family photos and freaked out that they can be found somehow.

    No, but if the answer was yes it's a little late to start getting freaked out about it.

  • TS1347 IPhone5 on 6.1.4 - missing named contacts on contact list. Can see missing named contacts when messaging, but when selected come up as only phone numbers in the sent to window. What is resolution? Can I sync only contact list from to iTunes backup?

    IPhone5 on 6.1.4 - missing named contacts on contact list. Can see missing named contacts when messaging, but when selected come up as only phone numbers in the sent to window. What is resolution? Can I sync only contact list from to iTunes backup?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • I would like to use time Machine to back up to a network SMB drive. I can see the drive on my desktop but it will not show in the time machine window to be able to select it

    I currently have a mini server (OSX10.8.5, server 2.2.2) that I am using Time Machine to back up 4 external drives that are connected to the server via firewire 800. I would like to use Time Machine to back up to a windows network SMB drive. I can see the drive on my desktop but it will not show in the time machine window to be able to select it for use.
    Can this be done
    Thanks for any and all help

    The supported targets for Time Machine backups are local (direct-connected) disks, and network targets include Time Capsule, a disk hanging off the current-generation AirPort (though not earlier AirPort devices), and OS X Server systems.
    The Time Machine storage is based on the HFS+ file system, so I would not expect TM to work with SMB file services.
    While there are hacks to allow Time Machine to access network drives, I would not consider those to be reliable. Skim the forum and the 'net for related details, and for previous discussions of setting this up and the related issues that can arise.
    Remember to test the recovery with whatever you decide to use; whole point of backups is the ability to restore the data, after all.
    If you want to learn more about Time Machine, Pondini is an excellent resource.

  • My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premier

    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!

    Hi Bryan,
    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!
    Sounds like an activation issue. Quite Premiere Pro. Sign out of Creative Cloud. Restart Premiere Pro. Sign back in: http://bit.ly/CC-sign-out
    Hope that works for you.
    Kevin

  • That's great I can see my iCloud calendar in Outlook, but can't see my Outlook calendar in iCloud???

    That's great I can see my iCloud calendar in Outlook, but I can't see my Outlook calendar in iCloud.
    Any ideas on this one? I don't want to copy the calendar into iCloud, because they wouldn't be in sync. How do I view my Outlook calendar in iCloud so that I can make changes in either place?

    I have good news!!  I was waiting until I had adequate time to try this recommended fix in case I had any problems with it.  Then I decided to enter a new event in my Calender even tho it was showing "No Calenders".  As soon as I entered the new event my whole Calender came back!  Yeeaaa!  I hope this helps someone with the same problem.

  • I can see my ipad in my computer but not in itunes- how do i fix this?

    I can see my ipad in my computer but not in itunes- how do i fix this?

    Make sure you turn on the Menu and Sidebar if you are using the latest version of iTune.
    Ctrl+S to view Sidebar
    Ctrl+B to view Menu Bar

  • Hello, I have an iPod touch and it don't has light or brightness. I can see the icons and use it but can get it work properly. I went to settings and the brightness is adjusted tu full level. Any idea?

    Hello, I have an iPod touch and it don't has light or brightness. I can see the icons and use it but can get it work properly. I went to settings and the brightness is adjusted tu full level. Any idea?

    Try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.

  • My slideshow doesn't show the pictures anymore - I can see them in the top row but they are not displayed in slideshow

    I created a slideshow and when I went back to look it plays the music but not the pictures - I can see them in the top row but they don't show up even if I click on them - music still plays!

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    are you able to view the photos in full size in the library?
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • All photos can see in small icons in iPhoto,but can't open it or see it!

    Dear all,
    I got problem in iPhoto, please help!
    All photos can see in small icons in iPhoto, but I can't open it or can't see it when I click on photos (it always appear black & white "!" inside big circle. I even can't sync any of these photos in my iPhone.
    Kindly helps!
    Many thanks!
    Fanny

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Set  mo_global.set_policy_context in sql developer,But no datas to view

    Hi All
    I have query some tables in sql developer.but no datas retrivee
    So i have try to set the MO_global based on org_id
    BEgin
    Apps.Mo_Global.Set_Policy_Context('S',81);
    End;
    Begin
    Dbms_Application_Info.Set_Client_Info(81);
    End;
    " select * from Mfg_lookups; " - no data showing in sql developer
    How can i fix the issue in sql developer
    Thanks

    Hello,
    Please check if Note 415860.1 : "How to view org-specific data in a MOAC environment" can help.
    Regards, Carlo.

Maybe you are looking for

  • Face Time won't verify on either iPhone 4S or iPad 2

    Face time on either device will not verify my email address,which is the same MobileMe account I use for iTunes, email etc. I have see other people have problems with face time but none of the solutions have worked so far. Thanks for any suggestions.

  • Did something change with the video formats in iTunes 10.5?

    Good afternoon, Since updating to iTunes 10.5, I've found that I can't sync any videos (whether they be TV Shows, Films or Video Podcasts) to my iPod. I've tried various different methods of trying to fix this but every time I do I get given the erro

  • Dynamically passing input to the OVS field??

    Hi Experts, I have Two custom BO's, CBO1 and CBO2. For custom BO CBO2 i have created a OVS with exposing few fields in the OVSValueSelectorInport. This OVS i am using in CBO1 . But i have a requirement where i need to pass the value to the exposed fi

  • Error message in Creating order without Partner Function ER(CSR)

    Hi All , My client want a error message to be appeared when we are creating sales order for customers where partner function CSR (ER ) is missing ...Can u just help where the congiguration is to be done . Bala

  • Can't install v3 on Vista

    I purchased v3 as an upgrade to v 1.5 and, while I was using XP, everything was fine. I have now upgraded to Vista and v1.5 won't install on the machine so I can no longer use Adobe Audition. I have looked for some sort of fix but can't see anything.