JDeveloper with MEV / possible FGAC? i.e. the oracle portal tables and views

I am trying to create some objects to view based on the tables and the views of portals oracle. However, I always get the following error message.

ORA-06510: PL/SQL: not supported by the user-defined exception
ORA-06512: at "PORTAL. WWCTX_SSO', line 1407
ORA-06510: PL/SQL: not supported by the user-defined exception
ORA-06512: at "PORTAL. WWCTX_SSO', line 1216
ORA-06502: PL/SQL: digital error or value
ORA-06512: at "PORTAL. WWCTX_SSO', line 1469
ORA-06512: at "PORTAL. WWCTX_API', line 152

It's because I did not put the context using plsql. That is to say

Portal.wwctx_api_private.set_Context (p_user_name = > 'PORTAL', p_update_flat = > true);

Is it possible to use the portals in jdevloper and defining the framework first. I think that the portal database uses vpd, fine-grained access control.

Concerning

Orlando

Hello

using ADF BC, you can override the session prepared on the AM method to set the context.

public void prepareSession (_session Session)
{
super.prepareSession (_session);

some PLSQL as
String appContext = "Begin ctxhrpckg.set_userinfo ('" + getApplicationUserName () + "');" END; « ;
java.sql.CallableStatement st = null;
Try
{
St = getDBTransaction ().createCallableStatement(appContext,0);
St.Execute ();
} catch (s java.sql.SQLException)
{
throw new oracle.jbo.JboException (s);
} Finally
{
Try
{
If (st! = null)
{
St.Close ();
}
} catch {} (java.sql.SQLException s2)
}
}

Frank

Tags: Oracle

Similar Questions

  • What is the difference between the type of table and view?

    Hello world.

    What is the difference between the type of view and table that we can set using SQL statement such as: "tab type is table of...» » ?

    A view is a stored query.

    An array type is a construction of PL/SQL.

    Both are documented:

    http://docs.Oracle.com/CD/E11882_01/server.112/e10897/schema.htm#ADMQS0841

    Management of schema objects

  • I have a new Toshiba laptop and the keyboard is equipped with a blue trackball (mouse) in the middle of it and I'm looking to disable

    I have a new laptop Toshiba and when I type my cursor will move to a different place at random.  The keyboard is equipped with a blue trackball (mouse) in the middle of it, and I think that it may cause the problem.  How can I disable it?   I don't want to disable my mouse pad, just the blue ball.

    Thank you

    Georgette

    Hello

    Check with Toshiba Support, their drivers and documentation online and ask in the forums of Toshiba.

    Toshiba - Forums
    http://laptopforums.Toshiba.com/

    Toshiba - Contacts
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/navShell.jsp?CF=su_contact

    Toshiba - drivers - access your model
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba - Support
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

    ========================================

    There may be a program that runs in the tray near the clock in the bottom right that controls the
    device. Some Toshiba models have the keys of the map at the top of the screen (move the mouse all the way to)
    up to see if your model has this feature) which allows control on some devices. Some models
    have (usually indicated on the key cards) shortcut keys that control input devices.

    If nothing else works, try Control Panel - double - mouse and other pointing devices - devices Manager
    Click the device - driver tab - Disable. I would use this as last resort than the other options possible
    allow you to activate and deactivate the device much easier.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Is there independent configurations, or just that kind of creative things Cloud with monthly cost? I tested the Lr5 before trial and now wishes to purchase the full version, but not interested and won't pay a monthly fee for it. All the opti

    .. .and the same thing here, I apparently just typed in the header...

    Is there independent configurations, or just that kind of creative things Cloud with monthly cost? I tested the Lr5 before trial and now wishes to purchase the full version, but not interested and won't pay a monthly fee for it. The options seem to grow the CC, but would like to know if there is any means possible to get the version stand alone more. Thank you in advance!

    Frustration is closer...

    There is still an option purchase on https://www.adobe.com/products/catalog/software._sl_id-contentfilter_sl_catalog_sl_softwar e_sl_mostpopular.html

    Make sure you only select between upgrade/Full and Mac/Win.

  • Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Alanysis and Hyperion reports has a scope of report include Hyperion Finanicial Reporting, web analytics services RA framework and the Foundation as a layer application and client level there EMP Workspace, SmartView etc.

    Thank you

    ~ KKT ~.

  • How can I add a custom coding to change the appearance of the "add to cart" and "view cart" paypal

    How can I add a custom coding to change the appearance of the "add to cart" and "view cart" paypal?  I can do these buttons on muse, or should I make them on Illustrator?

    Hello

    Here is some info:

    PayPal API developer - product page of Button Manager - classic

  • Where the Oracle Portal forum?

    Hello everyboy.

    I have a question on the Oracle Portal version 10

    If there is someone who knows where the Oracle Portal forum?
    Please responds me. Because I have not found, and it is very urgent.

    I await your quick response, any help will be much appreciated.
    Thank you in advance.
    Best regards

    Erik,
    Please visit:

    Oracle Application Server Portal
    

    Best wishes
    -Michael

  • When will it be possible to navigate in the components of small and big day in the calendar with the arrow keys and PgUp/Dwn?

    Because I have difficulty working with the mouse (like many people), would be nice if I can use the keyboard as far as possible when applications on the computer. I often use Alt Tab, Ctrl-Tab, PgUp/Dwn - < item of menu or button-to-do-something thing > etc. The lightning might be easier to use in this regard.

    In my opinion, this way of designing the user interface must be applied as much as possible. And it should not hinder - but supplement - other ways to navigate through the applications, as in the mouse, scroll bars, etc.

    When a developer or more find time to fix it. You can keep an eye on https://bugzilla.mozilla.org/show_bug.cgi?id=472448 and https://bugzilla.mozilla.org/show_bug.cgi?id=431076 for the current state.

  • Is it possible to keep all the brush strokes, textures and layers of Adobe iPad drawing apps to illustrator CC?

    First of all, I want to say 'Hi' to everyone, because I am a completely newbie in this forum !

    As I am more in love with the design of the apps on my iPad 2 air and as a user of Adobe CS6 Adobe illustrator, I am seriously considering subscribing to CC Illustrator just to fully evaluate all my drawings of iPad in vector format instead of getting jpg or png files.

    Is it possible to keep all the contours, textures and layers EXACTLY as the original drawing of drawing Adobe apps, like Adobe draw or sketch of my iPad to illustrator CC?

    I actually downloaded the trial version of Illustrator CC, I noticed that the workflow is a little different from CS6 (with CS6, I use the trace of the image) and I can send the drawing directly to illustrator CC, but I've always had a PNG / jpg picture I need to work more with the following steps to turn to a vector format true :

    Object > sketching and line drawing > expand path

    and of course all the layers went with the method above. And all original textures and the brush strokes are replaced by the command-line images...

    And when I open a file in Photoshop, sketch a "version 2 of the adobe photoshop sketch file format is not supported in this version of adobe illustrator" message and the file that can open but was in jpg / png?

    Did I miss something? Or it's because I don't have a full subscription to CC? :/

    Simple question first:

    The error message does not appear to say anything - just click 'OK' and it works fine for me.

    Regarding the conversion of the brushes and work, it's a little more difficult.

    In Illustrator, (on my test), features all had a generic brush applied.   To get a better brush, I just clicked on the route of the path and then choose a new brush.

    AND

    If you use Adobe Brush (mobile application), you can design your own brushes and their port on Photoshop or Illustrator.

    BUT

    There are some things that I wasn't expecting with Adobe Illustrator brush that I had not experienced in Photoshop and use with Sketch/draw lots

    The brush behaves differently in applications, so when you're in Adobe brush, there are buttons to help you see how it will look in different applications.

    MORE

    I can't figure out how to get my 'BASIC' brush library to synchronize with my CC Illustrator brush library.   I probably shouldn't have saved my brushes in there?

    If you are planning a workflow from the sketch to the Illustrator, save your brushes in a custom library of CC (on your iPad), then the answer is: sort of.

    Sketch brush behaves a little like Illustrator brushes, but it seems to be a png or another bitmap.

    The brush for Illustrator is vector.

    You can't record two.  I can't understand how you can duplicate, but you can change it back and save it.

    Brush, create your personalized Sketch brushes.

    Make your Illustration

    Send your Illustrator Illustration

    Return to the brush, convert your brushes for Illustrator

    go to Illustrator, convert your artwork in vectorized text

    in the brush library, download and apply your custom brushes.

    It is NOT optimal, but it works.

  • Task flow train bounded with new transaction to add to the master-detail table

    JDeveloper 11 g 11.1.1.0.2
    ADF BC
    ADF RC

    When I implemented workflows task train bounded to add line to the main table and two-step
    first step and first page insert the info from the main table as model of information
    second stage and second page to insert a line in the secondary table as emp info

    I get the error:

    Messages for this page are listed below.
    Constraint "EMP_COMP_FK1" violated during the post operation: 'Insert' with SQL statement ' BEGIN INSERT INTO EMP (EMP_ID, PERSON_ID, COMP_ID, JOB, CONTACT_FLAG, BILL_FLAG, STATUS, CREATED_BY, CREATED_DATE, UPDATED_BY, UPDATED_DATE) VALUES (: 1,: 2,: 3,: 4,: 5,: 6,: 7,: 8: 9,: 10,: 11) in RETURNING EMP_ID INTO: 12; END; ».
    ORA-02291: integrity constraint (DB1. EMP_COMP_FK1) violated - key parent not found
    ORA-06512: at line 1


    I think that this error occurs when trying to insert in master and detail in the same transaction, but what is the solution for my case?

    Note:
    I don't want to use the strong association when define the relationship master detail

    Concerning
    Zuhair

    Zuhair,

    Have a reading of article 34.8 Fusion developer Guide - he talks about how to control the display order as the parent is always inserted before the child - it does indeed sound like this is the cause of your problem.

    John

  • ODI - 1228:Task Load Data - LKM File to SQL-fails on the connection target: table or view does not exist

    While performing a mapping (present in the package) that loads the file to table data, my mapping is being failed in the step - LKM file with above mentioned SQL error.

    This task is running for 30 candy Mint and loading data about 30 to 40 million for the temporary table of C$ ODI.

    Before the completion of the task is to make failure and also C$ table is also get deleted.

    Any possible resolution for above mentioned the issue?

    Problems have been solved.

    In our case, the prefix of all the data store name has been SRC_ so the nickname of all the data store became SRC, and the table name C$ depends on the daatastore Alias.

    So for executing two mapping tables $ CAN have been getting dropped by other mapping due to the same table name $ CAN.

    Change the Alias name giving it a unique name solve the problem.

  • No coordination happening between the form of table and adf Adf

    I created an entity object.

    In the page, I separated the two page in horizontally with separator and top once again part I applied the vertical separator.

    Upper area, left side, I created adf search fast and right side have added the collection of panel above it, I added adf table.

    The bottom region, I created the dashboard Panel and I created two box. 1 box, I created the shape of the adf.

    Now the part of the question.

    What I've inserted into the quick query part are completed in the table of the adf, but when I move the cursor on each line on adf table form respective adf not getting not changed and it only shows the 1st record of adf table.


    Please guide me where I made mistake.


    Thanks in advance


    Kind regards

    Iqbal

    Now, I changed af:table set rowSelection = "single" and previously empty

    but I don't know what 'something' must map as I am new to ADF for this part selectionListener = ' something '

    Drag / move your new VO as a table and the 'select lines' option so it is automatically generated.

    Dario

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • How to handle the ORA-00942: table or view does not exist

    HII All,

    I'm trying to delete a table dynamically independently of its existence in a procedure. Sound fine when the table exists, but when the table does not work I am facing following error
     ORA-00942: table or view does not exist
    I've made use of pragma exception_init and modified my code like below
    Create or replace Procedure sp_FSASA_FEEDUPLOAD_process
              (
               p_test_dir               in     varchar2,
               p_feed_file_name     in     varchar2
              )
    is
              l_exttable_str varchar2(32000) ;
              
              l_log_file constant varchar2(200) := 'logfile_rgh.log';
              
              l_table_doesnt_exist Exception;
              
              pragma exception_init(l_table_doesnt_exist,-00492);
              
              
              
    Begin
              
              Begin
                   execute immediate 'drop table FSASA_FEEDUPLOAD_EXT purge' ;
              Exception
                        when l_table_doesnt_exist then
                             null;
              
              End;
              
              
              
              
              l_exttable_str := 'Create table FSASA_FEEDUPLOAD_EXT ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' Category_No                    varchar2(1), ';
              l_exttable_str := l_exttable_str||' Financial_Category          varchar2(300), ';
              l_exttable_str := l_exttable_str||' GFCID                         number, ';
              l_exttable_str := l_exttable_str||' Balance                         number(34,14), ';
              l_exttable_str := l_exttable_str||' Refernce_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' Account_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' ce_trans_id                    varchar2(20) ';
              l_exttable_str := l_exttable_str||' ) ';
              l_exttable_str := l_exttable_str||' Organization external ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' type                    oracle_loader ';
              l_exttable_str := l_exttable_str||' default directory      '||p_test_dir;
              l_exttable_str := l_exttable_str||' Access parameters ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||'  records delimited by newline ';
              l_exttable_str := l_exttable_str||'BADFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||'feed.bad '||q'[']' ;
              l_exttable_str := l_exttable_str||'LOGFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||':feed.log '||q'[']' ;
              l_exttable_str := l_exttable_str||q'[FIELDS TERMINATED BY X'09']';
              l_exttable_str := l_exttable_str||' missing field values are null ';
              l_exttable_str := l_exttable_str||')location('||q'[']'||p_feed_file_name||q'[']';
              l_exttable_str := l_exttable_str||')' ;
              l_exttable_str := l_exttable_str||' )Reject limit unlimited ';
              
              dbg_print(l_log_file,'l_exttable_str : '||l_exttable_str);
    
              
              execute immediate l_exttable_str;
    
    
    End;
    But I am still unable to get rid of him. Pls help me.

    (1) I need the drop because I need to immediately create the table with the name of different file and different path.

    (2) the last thing I do not do is to check the name of the table in the USER_OBJECTS and then drop.

    (3) suggest that create an external table dynamically as a correct approach or not.

    (4) up to now, we use utl_file for reading stream file but I am much interested to use the concept of EXTERNAL TABLE.

    (5) as the file name and the path is changed, I need to create my external table during execution.

    Please suggest me that I can change my file name and the path when running

    Don't drop and re-create it, just create once as DDL not in code and then change it to point to a new file.

    External table

  • In the form of table and colspan or how to return more items in one line?

    I want to put a line in a higher number of items table it fits. So I want to put several options on an entry line field and text on another and so on. To restart the line, I made a dummy field with html like this:

    < table > < /tr > < tr > < td >

    But it's really ugly: http://apex.oracle.com/pls/apex/f?p=29764:1
    How to force colspan = X extend this cell of the input line along the table and get rid of these unnececary of the empty cells on the right? Attribute of the element does not (obviously)...

    Create a model of a named column custom report to meet the requirements in the form of tables.

Maybe you are looking for