Bug in oracle portal: problem in pl/sql item type

I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

Similar Messages

  • Portal URL for file v. text v. PL/SQL item types?

    I am using Portal 10.1.2.2.0. From the Portal OWA logger data, how can I tell a file item type from a text item type from a PL/SQL item type?
    The OWA_LOGGER_DOC view iis looking for url like '%/docs/%', but all the document URLs are '%/ITEM/%'. The URLs to text items also appear to be '%/ITEM/%'.
    How can I tell that a Portal URL is pointing to a document?

    OK, I figured out a way to do this in my environment (Oracle Portal Version: 10.1.2.0.2 (Build: 150) ). Your mileage may vary.
    I created a procedure which includes the following:
        p_headingText IN VARCHAR2,
        p_fileName IN VARCHAR2,
        p_descriptionText IN VARCHAR2)
    is
        l_portalGuid VARCHAR2(50);
    begin
        select GUID into l_portalGuid from portal.wwv_things where ID = p_fileName;
        htp.p('<p class="PortletText1"><a href="http://[HOSTNAME]/pls/portal/url/item/' || l_portalGuid || '">' || p_headingText || '</a> ' || p_descriptionText || '</p>');
    end;This seems to work for me. (Sorry about the long line.) p_headingText, p_filename, and p_description are passed from the custom item type. Good luck!

  • Oracle portal  session and pl/sql

    Hi all i use portal v.10.1.2.2.0 and i would like to play with a session variable. all i do is
    grant execute on wwsto_api_session to myportal from portal schema. and then i want to do
    l_store := portal.wwsto_api_session.load_session (p_domain, p_sub_domain);
    l_store.set_attribute ('myname', 'name');
    l_store.save_session;
    1) i do not know what is the p_domain, p_sub_domain
    2) when i do wwsto_api_session.get_sub_domain and wwsto_api_session.get_domain i get an error.
    How can i read and write to a variable session in oracle portal? to to like java set session and get session?
    Thank you in Advance,
    Antonis

    [email protected] wrote:
    Hi all i use portal v.10.1.2.2.0 and i would like to play with a session variable. all i do is
    grant execute on wwsto_api_session to myportal from portal schema. and then i want to do
    l_store := portal.wwsto_api_session.load_session (p_domain, p_sub_domain);
    l_store.set_attribute ('myname', 'name');
    l_store.save_session;
    1) i do not know what is the p_domain, p_sub_domain
    2) when i do wwsto_api_session.get_sub_domain and wwsto_api_session.get_domain i get an error."Storage is located by the combination of the domain and subdomain parameters, and the Login session ID.
    If a session store object has not previously been created for this combination of domain, sub-domain, and session ID, then an empty session store object is created and returned. "
    How can i read and write to a variable session in oracle portal? to to like java set session and get session?Hi,
    You may want to see the wwsto_api_session here in [Portal APIs|http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1012/index.html].
    "Working with the session object
    The general procedure for working with the session object is:
    1. Load the session object, with an appropriate domain and sub-domain combination, using the load_session method.
    2. Manipulate the content of the object using the set_attribute methods, or just access its content using the get_attribute methods.
    3. Force these changes to be saved, using the save_session method.
    Typically this sequence occurs within the scope of one client routine that extracts and/or sets all of the client states. For example:
    declare
    l_store portal30.wwsto_api_session;
    l_date date;
    begin
    l_store := portal30.wwsto_api_session.load_session ('PORTAL', 'TEST');
    l_store.set_attribute ('LAST_ACCESSED', sysdate);
    l_store.set_attribute ('USERNAME', 'SMITH');
    l_store.set_attribute ('COUNRTY_CODE', 1);
    l_store.set_attribute ('LOCATION', 'US');
    l_store.set_attribute ('LAST_LOGGED_ON', sysdate);
    l_store.set_attribute_as_string
    ('OFFICE_LOCATION', 'CALIFORNIA', 'US', 'STRING');
    l_store.save_session;
    end;
    The login session that creates the session storage object is defined by wwctx_api.get_sessionid. "
    ref: wwsto_api_session for Portal 10.1.2
    then, look for the functions for getting attributes as number, varchar2, string or index, etc. in the above link.
    hope that helps!
    AMN

  • Oracle Portal - Associated Procedures With Custom Item

    Dear Gurus,
    I need to ask a question, when i have a custom Item built using Oracle Portal 10.1.4.2.0. and we have two procedures associated with this item. I need to display this item in some place with the first procedure and in another place with the second prcoedure.
    What i want to explain is written as an example
    Custom Item Type asscoiated with two different procedures (News Custom Item Type with two different procedures "brief procedure" and "detail procedure").
    In one page i need to invoke the first procedure to display the item in Detail view and the second procedure to diplay the item in Brief view.
    How can i invoke different procedures associated with this custom item type or how can i apply different procedures on custom item type to gain different views.
    Please can help me or if you need a details i can presents more details.
    hint:
    i know something in Oracle Portal called ("Associated procedures"). and we use "related funbctions" attribute when we need to invoke a procedure to render some Custom Item Type.
    But i cannot do that and this question is very important
    Best Regards,

    I've sorted this now - silly me, I'd left a <blank line> attribute in the display properties...

  • Does Oracle Portal Support text/v-card content Type

    I would like to display some text/v-card format information (generated by servlet) within the portlet. And I defined in the porvider.xml something like this:
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <contentType>text/x-vcard</contentType>
    <showPage>/servlet/VCard2</showPage>
    </renderer>
    I was always get the error messages as "Renderer improperly configured. It's missing a showPagefor type".
    please give me some suggestions on how to render the vcard content within the portal page.
    Thanks a lot

    Can you let us know the config.cfg entry in your Environment for SearchIndexerEngineName.
    Is it SearchIndexerEngineName= DATABASE.ORACLETEXTSEARCH ? It should be as below
    SearchIndexerEngineName=ORACLETEXTSEARCH

  • [Urgent] Some questions about Oracle Portal 10g - 11g upgrade

    Dear friends,
    We are under doing upgrading assessment of Oracle Portal from 10g to 11g. After reviewed the 'upgrading guide', we still have some questions as below:
    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?
    2. Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?
    3. How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?
    4. Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?
    Thank you in advance and any comment are welcome.

    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?Instant Portal is not available anymore in Oracle Portal 11g. The Instant Portal page groups will be migrated to standard Portal page groups. Maintenance of the Instant Portal can be done with the standard Portal tools. The Instant Portal tools are not available anymore.
    Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?Old 10g Page Groups are migrated to Portal 11g. They will still be available after the upgrade.
    Export/Import through transports sets has always been limited to instances of the same version. It is not supported between versions as documented in the Administration Guide :
    [11.2.1|http://download.oracle.com/docs/cd/E14571_01/portal.1111/e10239/cg_imex.htm#CCJBCCGD] System Requirements
    Before exporting and importing content, ensure that your system meets the minimum system requirements, as described in this section.
    Notes:
    * Export and import functions only within the same release of Oracle Portal and the same patch release, for example, release 10.1.4 to release 10.1.4 or release 11.1.1 to release 11.1.1. You cannot export and import between two different releases, such as release 10.1.2 to release 10.1.4 or release 10.1.4 to release 11.1.1.
    How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?Customized objects get migrated as well. Certain types (e.g. PL/SQL item types) need to be checked after upgrade as the behavior of the PL/SQL code may differ between database versions. This is particularly of concern when the 10.1.4.x Portal uses a 10.1 database. A database upgrade to either 10.2, 11.1 or 11.2 is necessary as Portal 11g is not supported with RDBMS 10.1.
    Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?Never done this, but the Portal framework is able to consume JPDK providers which are running in older versions of the toolkit. If the providers are running in standalone OC4J containers, you would be able to upgrade the framework and keep the providers in their OC4J containers. This will allow you to focus on the framework first and worry about your providers later.
    Thanks,
    EJ

  • Upload and displaying document file and image file with oracle portal

    Dear All,
    Could anyone please tell me how to displaying document file and image file that I've stored to database (8.1.7) using oracle portal. (I use intermedia data type).
    I've tried to follow the instruction given by Oracle LiveDemo, but it came with failure. (the image or document won't show up).
    Thanks for support.
    Moza

    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site. For technical question about an Oracle product,
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink

  • LS/SQL item content not refreshed until I resave the properties of this ite

    Hi everybody.
    I have developed a page in OAS Portal containing several PL/SQL items in it. This items have procedures stored in the database, and they take the data from the database.
    The problem is that this items only take the information the first time, the rest of the times when I refresh the page, they always show the same information, they don`t refresh themselves!! The problem is because of the caching, they store the information in the OAS Portal cache and they always show the same information.
    The only way to solve it is to modify the call to the stored procedure (in the properties menu of the PL SQL item) and resave it. In this way, the next time the item will show the new information, but only for one time!!! The rest of the times the problem is always the same. i have also tried to modify the cache configuration in the page properties, but it doesn´t make anything.
    I have read several threads that deal about the same problem, but I do not have met any clear solution.
    Plase, can anybody give me some advice?.... or the solution??
    Thanks very much.
    Juan

    i have also tried to modify the cache configuration in the page properties
    Hey! I spoke about turning off Portal Cache and Web Cache!
    Portal Cache
    1. OAS EM: Portal:portal -> Portal Cache Settings -> Caching Off
    2. Restart HTTP_Server & OC4J_Portal
    Web Cache
    1. Portal: Administer -> Global Settings -> Cache -> Maximum Expiry Time 0 Minutes
    2. Maybe you need to invalidate items in cache... I forgot
    Of course, it's not the best workaround to turn off caches :-(((

  • Sample  PL/SQL Portlet Source Code for Oracle Portal 9ias

    Hi, I'm a newbie of Oracle Portal technology, and I have a problem:
    I would create a PL/SQL portlet that realizes the following functions:
    1) Retrieve the username of the portal user logged from WWCTX_API.GET_USER function.
    2) Insert into an oracle db table two values about two hidden fields in the HTML FORM of the portlet.
    3) Realize the insert commit through the click on the submit button on the Html form of the portlet. I would redirect by the same button to an other page url also.
    I've never developed in Portal, and may be useful if someone could post me the source code of the SHOW MODE SECTION in the PROCEDURE SHOW of a SAMPLE PL/SQL PORTLET that realizes the upper functions.
    Thanks a lot....

    Hi
    Here's the code from Helloworld_Portlet example:
    procedure show
    p_portlet_record wwpro_api_provider.portlet_runtime_record
    is
    l_portlet wwpro_api_provider.portlet_record;
    begin
    if (not is_runnable(
    p_provider_id => p_portlet_record.provider_id
    ,p_reference_path => p_portlet_record.reference_path)
    ) then
    raise wwpro_api_provider.PORTLET_SECURITY_EXCEPTION;
    end if;
    Retrieve the portlet information.
    l_portlet := get_portlet_info(
    p_provider_id => p_portlet_record.provider_id
    ,p_language => p_portlet_record.language
    if (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW) then
    if (p_portlet_record.has_title_region) then
    Draw the portlet header and specify what links are available
    from that header (i.e. details, customize, help, and about).
    The has_title property is set at the page region level.
    wwui_api_portlet.draw_portlet_header
    p_provider_id => p_portlet_record.provider_id
    ,p_portlet_id => p_portlet_record.portlet_id
    ,p_title => l_portlet.title
    ,p_has_details => true
    ,p_has_edit => true
    ,p_has_help => true
    ,p_has_about => true
    ,p_referencepath => p_portlet_record.reference_path
    ,p_back_url => p_portlet_record.page_url
    end if;
    Draw the portlet borders.
    The has_border property is set at the page region level.
    wwui_api_portlet.open_portlet(p_portlet_record.has_border);
    Display the content of the portlet in the show mode.
    Use the wwui_api_portlet.portlet_text() API when
    generating the content of the portlet so that the
    output uses the portlet CSS.
    htp.p(wwui_api_portlet.portlet_text(
    p_string => 'Hello World - Mode Show'
    ,p_level => 1
    if (p_portlet_record.has_border) then
    wwui_api_portlet.close_portlet;
    end if;
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_ABOUT) then
    Display the about page for the portlet.
    htp.p('Hello World - Mode Show About');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT) then
    Display the edit page for the portlet.
    htp.p('Hello World - Mode Show Edit');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_HELP) then
    Display the help page for the portlet.
    htp.p('Hello World - Mode Show Help');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT_DEFAULTS) then
    Display the edit defaults page for the portlet.
    htp.p('Hello World - Mode Edit Defaults');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_DETAILS) then
    Display the details page for the portlet.
    htp.p('Hello World - Mode Show Details');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_PREVIEW) then
    Display the preview page for the portlet.
    htp.p('Hello World - Mode Show Preview');
    end if;
    end show;
    I think you need to add this:
    You can get the values of your html-form with this command:
    v_hidden_1 varchar2(256);
    v_hidden_2 varchar2(256);
    v_hidden_1 := wwpro_api_parameters.get_value('name_of_hidden_1_in_html_form','p');
    v_hidden_2 := wwpro_api_parameters.get_value('name_of_hidden_2_in_html_form','p');
    You can get the actual URL with this command:
    v_url := p_portlet_record.page_url;
    Hope that helps.
    Regards,
    Mark

  • Problem running Oracle Portal to Go (Oracle9i 1.0.2.0.0)

    I have installed Oracle9i Application Server WE 1.0.2.0.0 Standard Edition on Windows2000 Professional Edition. I am getting problems regarding running Portal to Go.
    The installer said that installation was successful. Moreover I have done the configuration tasks mentioned Oracle9i installation guide under post installation steps for Oracle9i.
    But Oracle Portal to Go is not running and returning error message. Are there some other tasks still to perform to configure the Oracle Portal to Go Standard Edition?
    Here it is a brief Description of what I have done with the installations process
    System: Pentium II 500 MHZ with 256 MB RAM and 15 GB Hard Disk so enough space available for installations.
    Windows 2000 professional was freshly installed
    All pre installation tasks are done like paging file size is 896MB
    Important Installation steps and points are as under (Standard Edition of Oracle 9i Application Server 1.0.2.0.0):
    I followed all the steps given in Oracle 9i AS installation guide
    On Windows 2000 Installer never asks for reboot before actually installing the Oracle 9i application server (Chapter 4 of installation guide: preparing system for installation: step5: page 5 of 25). So I manually reboot the system
    During installation when I reached Database Access Descriptor (DAD) for Oracle Portal. In TNS connect string field for Apache listener Configuration I entered the same name (abc) (chapter 4 of installation guide: installing oracle 9i Application server: step2, 3: page 10,11 of 25) as I was going to use for my Global database name later at database Identification steps (chapter 4 of installation guide: installing oracle 9i Application server: step 4: page 12 of 25)
    Note: In an other installation I left the same fields (TNS connect string) blank but of no use.
    (Please let me know if I have made any mistake here)
    When installation of Oracle9i AS reaches 100% installer opens a command prompt and displays
    ORA: 12541 TNS: No Listener
    Enter user name:
    When I enter SYSTEM as a user name it displays
    Password:
    I entered manager as password and then it displays
    ORA 12560: TNSProtocol adaptor error
    And once again it asks for user name and password
    I once again enter system as a user and manager as password.
    (Please let me know if I have made any mistake here)
    After 100% completion of the installation the configuration tools screen appears
    (Chapter 4 of installation guide: installing oracle 9i Application server: step 10: page 17 of 25) and the following tasks are performed
    Net8 configuration Assistant succeeds
    Oracle database configuration assistant succeeds
    When The Oracle portal 3.0 configuration Assistant Starts
    I hold the installation steps for oracle portal for a while and do some database configuration tasks that are necessary (may be some are not) for installation of portal.
    (Please let me know if I have made any mistake here)
    For example
    Increase the table space size of Users (400 MB), and Temp (100MB) table spaces.
    Validated invalid PL/SQL Modules with ULTRP.SQL script
    (Please let me know if I have made any mistake here)
    Installed dbms_job.sql package as it was mentioned in another guide (Oracle portal-to-Go installation Guide- Release1.0.2: Page 1: last line)
    (Please let me know if I have made any mistake here)
    Stopped the database and listener
    And did some changes as was asked in Oracle portal-to-Go installation Guide- Release1.0.2
    Edited the init<SID>.ora file and set the following fields
    aq_tm_processes = 1
    job_queue_processes = 4 (2 were recommended in guide but I left the already set values)
    job_queue_interval = 30
    (Please let me know if I have made any mistake here)
    Also I did the following too (though these are recommended for Internet file system)
    opern_cursors = 300 (in installation guide it is asked 255 but I kept the already set value)
    shared_pool_size = 52438800 (50M was suggested and this is more than that)
    processes = 200
    (Please let me know if I have made any mistake here)
    I started the database and listener
    Proceeded the installation of Oracle Portal as is described in installation guide for Oracle 9i Application guide 1.0.2.0.0
    And successfully completed the installation of Oracle Portal
    There were no errors reported on the installer however when I read the installation log some errors were mentioned at the end of the file
    Please see the attached log file.
    I also completed all the post installation tasks at the end of chapter 4 of Oracle9i Application Server installation guide 1.0.2.0.0 except the configuration of Oracle Internet file system (is it necessary for running Oracle Portal to Go)
    When I run the oracle portal to go the following situation is encountered
    Working: http://localhost/pls/portal30/admin_/dadentries.htm
    Error at: http://localhost/pls/portal30/portal30.home
    Error: The preference path does not exist: Oracle.Portal.Page (WWC-51000)
    (And this is the main source of confusion)
    Working: http://localhost/pls/portal30/admin_/gateway.htm?schema=portal30
    Working: http://et-wks-08:5555/invoke/wm.server.admin/adminPage
    Are there any other guides and post installation steps still to follow to successfully run this Portal to Go or it is sufficient?
    I can also send the installation logs of both Oracle 9i application server (installActions.log and installActions2001-05-28_03-50-56-PM.log) and Oracle portal to Go (install.log).
    If you ask, I can send you the installation guides that I have followed and the screen shoots of the error messages for a detail review.
    Moreover can anyone please tell me if this version of Oracle 9i Application server is ok or I must try some other version?
    Also advise any other if any successful configuration and installation options.
    Is it possible to run this portal to go with any other installation options/arrangements/configurations etc?
    Any help from anyone will be highly appreciated.
    Regards,
    Muhammad Usman,
    Software Engineer
    EssTec Lahore, Pakistan.

    Hi,
    If you use portal 30 instead of OAS, The installation gives you the Apache ready.
    Pablo
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tarun Singhal ([email protected]):
    Hi,
    I am trying to implement Portal-to-go application .
    For installing Oracle Portal-To-Go 1.0.2 ,I followed oracle
    documectation.Now I want to install Portal-To-Go 1.0.2
    application using
    a) winnt ver. 4.0 (SP3)
    b) Oracle 8i
    c) Oracle Application server release 4.0.8.1
    d) servlet patch set
    e) pl/sql cartridges.
    (Oracle 8i and OAS 4.0.8.1 are installed with different oracle home directories.)
    I have installed winnt , OAS rel.4.0.8.1. both are working fine
    .now I want to install servlet Patch set and
    pl/sql cartridges.I am unable to locate the information and software for this on oracle site.
    can any body tell me why servlet patch set and pl/sql cartridges
    required for this application and
    from where should i download the servlet patch set software and PL/SQL cartriges
    for this version.
    Are the above specified softwares are compatible with each other or something extra
    required for this installation. Is service pack 3 (winnt 4.0) compatible
    with portal-to-go 1.0.2
    Can anybody help me please ?
    Regards
    Preeti Madhukar
    ([email protected])<HR></BLOCKQUOTE>
    null

  • Oracle Portal 3.0 Beta - problem with connection

    After finally getting a clean install of Oracle Portal 3.0 on Oracle 8.1.6 on Windows 2000, I am having problems connecting with the database when I try the PORTAL30 or PORTAL30_SSO URL. I get an error:
    "Proxy Logon Failed - please verify you have specified correct connectivity in the DAD... Error Code 6401 - DATABASE LOGIN FAILED - TNS is unable to connect to destination. Invalid TNS address or destination not listening..."
    The Oracle listener is up, the database is in the TNS names file on both Ora81 and OraPortal30 homes.
    One thing I do know is that when I configure the DADs for a user/pswd and connect string, and enter the actual Oracle password, it returns with a long series of **************** for the password, which is must longer than the actual one.
    I have hit a roadblock and would appreciate any support.

    UPDATE to the PROBLEM:
    I tried everything and then I stumbled upon something. In the Net8 configuration assistant for Oracle 8i, when I went into Naming Methods configuration, it said that I was only using Local. I added Oracle Names and tried again... SAME ERROR. RRRRRGGGHH!!! I had no trouble using SQL*Plus so what was going on!??
    Then I went to check the TNSNAMES.ORA in both the ORA8i and OraPortal30 network/admin directories. They were both exactly the same, with ORCLDEV1 (my sid) defined. Hmmm.... THEN, I looked in the directory and saw SQLNET.ORA. I compared the files in the two directories and they were DIFFERENT!!!
    The one in Ora8i had a NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP, ONAMES, HOSTNAME).
    The one in OraPortal30 had a NAMES.DIRECTORY_PATH= (LDAP, ONAMES).
    On a hunch, I changed the one in OraPortal30 to be the same as Ora8i.
    Then, I went to http://bwood/pls/portal30 and VOILA!!! I got the main page. I then clicked on LOGIN and got the sign-on screen. It has been working so far!!!
    I will continue to post the progress of this as we begin to convert an older OWS 2.1 application to Portal 3.0!!
    Bruce Wood
    Oracle Director - Technium, Inc
    null

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

  • XML parsing problems with Oracle XML parser for PL/SQL

    I am using the Oracle XML parser for PL/SQL to transform XML into HTML usign XSL. The parser gives me sporadic errors trying to parse various XML documents. For the same XML source, the XMLPARSER will parse without errors one day and the next day will give me errors such as "invalid char in text", "Expected ';'.", or even Java null pointer exceptions.
    I have verified that the XML sources are well formed, so I am pretty certain that the problems I am having are bugs in the XMLPARSER.
    Is there going to be a XML parser for PL/SQL version 2 that will fix these bugs? If so, when??? If not, is there anything else I could do to fix these problems?
    Thanks!

    You can use the latest version.

  • Blob type parameter in procedure for display issue. Oracle portal bug?

    Hi Guy,
    I am not sure this is a bug or not for oracle portal.
    I have a table that have a column type as blob.
    by oracle portal10g, this column should be display as Item Type Upload (Binary) at Item Level Options.
    We can create a form to display this file and modify it.
    However, It can not to use a procedure with a blob column to create the same form as above. we can not find Item Type as Upload (Binary) in form. if we choose text area.
    We will get a error "ORA-01403: no data found (WWV-11230)"
    We find this issue during convert clob column to blob type in procedure for a form using.
    This is a simple procedure.
    See below source codes:
    Thanks for any help.
    create or replace Procedure test_file
    (     p_DOCUMENT_ID      IN OUT file.DOCUMENT_ID%type,
         p_USER_ID           out file.USER_ID%type,
         p_DOCUMENT_NAME out file.DOCUMENT_NAME%type,
         p_DOCUMENT      out      blob,
         p_CREATED_BY           out file.CREATED_BY%type,
         p_CREATED_TIMESTAMP      out file.CREATED_TIMESTAM%type,
         p_UPDATED_BY           out file.UPDATED_BY%type,
         p_UPDATED_TIMESTAMP      out file.UPDATED_TIMESTAMP%type,
         p_DOCUMENT_DESC      out file.DOCUMENT_DESC%type) as
    L_DOCUMENT BLOB;
    begin
    begin
    SELECT USER_ID , DOCUMENT_NAME,DOCUMENT, DOCUMENT_MIME, CREATED_BY, CREATED_TIMESTAMP,
         UPDATED_BY , UPDATED_TIMESTAMP, DOCUMENT_DESC
    INTO p_USER_ID , p_DOCUMENT_NAME,L_DOCUMENT, p_DOCUMENT_MIME, p_CREATED_BY, p_CREATED_TIMESTAMP,
         p_UPDATED_BY , p_UPDATED_TIMESTAMP, p_DOCUMENT_DESC
    FROM file
    WHERE DOCUMENT_ID = p_DOCUMENT_ID;
    exception
    when NO_DATA_FOUND then
    null;
    end;
         p_DOCUMENT :=L_DOCUMENT;
    exception
    when others then
    null;
    end;

    Hi,
    I have created a vo with transient attributes and attached the vo to the am.
    But when I am trying to insert the row from my collection, it is giving me '
    oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
    But I have the transient attribute resField in my ResVO and I attached the same to AM also
    I am trying to get the VO in my controller like the below:
    OAViewObject resvo = (OAViewObject) am.findViewObject("ResVO");
    if(vo==null)
    resvo = am.createViewObject("ResVO","xxcust.oracle.apps.xxcust.server.ResVO");
    if(vo!= null)
    resvo.executeQuery();
    //Creating and inserting values into the vo
    Row row = resvo.createRow();
    resvo.insertRow(row);
    row.setAttribute("resField", "AB");
    row.setAttribute("Value", "CD");
    row.setAttribute("Desc", "Test");
    When I am running my page, I am getting the
    oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
    I checked the spelling and the attribute name is correct.
    Is it the problem with VO having all the transient attributes or am I missing something?
    I appreciate your help...

  • Oracle Portal - charts language problem

    I'm using Polish Oracle Portal 3.0 with database 8.1.7. OS is w2k Professional (Polish version). I can't force it to display Polish letters in charts (as subscribes), but !! anywhere else I can write anything I want using Polish language and its O.K. Now I don't know if it's a bug or my fault...

    Type mistake in above response - Please read it as follows -
    1.What kind of text you are displaying as subscribes ( data fetched as result of SQL query or some other text)?
    2.Where are you displaying this text as subscribes in the chart?
    null

Maybe you are looking for

  • I can't wipe my hard drive in OS X install page

    So, I've been having trouble with my 2011 Macbook and backed up all of my files because the hard drive was failing. I got a new hard drive and reinstalled Snow Leopard to get the laptop up and running, but once I started transferring files over, it f

  • Error in Editable column in ALv O/P using Style.

    hi, I have written Style Declaration   DATA : ls_listrow LIKE LINE OF i_final,          ls_stylerow TYPE lvc_s_styl,          ls_styletab TYPE lvc_t_styl. Processing to Final Table   LOOP AT i_bal INTO wa_bal.     wa_final-vbukr = wa_bal-vbukr.     w

  • I have Itunes on my PC using Vista. I had some issues. If I end up removing and reinstalling ITunes will I lose my music? Its like 6000 songs.

    I have Itunes on my PC using Vista. I had some issues. If I end up removing and reinstalling ITunes will I lose my music? Its like 6000 songs.

  • Scale in Charts

    Hi, I want to set the scale of X axis based min value of the fact.... Lets say i have an analysis where fact measure values are all in between 85 and 100. So for better visibility i wanted the scale to start from the same. This should be dynamic as g

  • Information of Business Rule monitor (BRM)

    Hi, I am new to oracle apps and I need some information. Could you please tell me in which table is the information related to ITEMTYPE=JTFBRM and ITEMKEY is stored in EBS ? Also, is it possible to track/check if the BRM ran successfully from backend