How to retrieve the identifier of ADF security in PL/SQL?
I would like to create a database trigger to save changes to a table and want to take the username logged through the ADF security configuration.How to retrieve this username (not the database user name) in the trigger?
Thank you
Richard
You can override the prepareSession() method in the ApplicationModuleImpl class and call dbms_application_info.set_client_info () or dbms_session.set_identifier () to change the user name to db.
Then, in the relaxation use sys_context ('USERENV', "CLIENT_INFO") or sys_context (' USERENV', 'CLIENT_IDENTIFIER' "); to retrieve the user name.
Dario
Tags: Java
Similar Questions
-
How to retrieve the selected values of the selectOrderShuttle using ADF 11 g
Hello world
Did anyone has idea how to retrieve the selected items by using the shuttle and the order of the elements by using the 'SelectOrderShuttle '?
Thank youvaluechangeevent of the shuttle would fire when you shuttle points back.
public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) { ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue())); if (list != null){ for (int i=0; i
-
I sent an email to someone by mistake, how to retrieve the email until the receiver reads?
I sent an email to someone by mistake, how to retrieve the email until the receiver reads?
You can not. It's like putting a letter in a physical mailbox. There is no way to recover it.
-
How to remove the virus from 2012 security Win7
How to remove the virus from 2012 security Win7?
Hello jlybn1,
Take a look at this link to see if it helps: http://www.bleepingcomputer.com/virus-removal/remove-win-7-security-2012
This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.
John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com
-
How to retrieve the network icons and the taskbar sound? They disappeared
original title: extraction and network icons
How to retrieve the network icons and the taskbar sound? They disappear from the notification area of the taskbar.
Hello
There are different ways to fix it
read all the information on the link below
Try Method 1 or 3
Method 1. :
1. right click on the taskbar and click Properties.
2 tab Area of Notification .
3 check the (on) or disable (off) the options you want or do not want to display on the Taskbar Notification area
Method of reading 3 etc. in the link below
How to enable or disable the Notification area system icons in Vista
http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html
-
After the system recovery running following a power outage, my user profile is lost. Unfortunately, he is also the administrator account. How to retrieve the profile or create a new?
· Restore point:
Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.
Try a restore of the system once, to choose a Restore Point prior to your problem...
Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~If the above does not work:
See if the information in the above tutorial will help you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx
Difficulty of a corrupted user profile
After creating the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to perform these operations, including the new account that you created.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://support.Microsoft.com/kb/947242
A temporary profile is loaded after you connect to a Windows Vista-based system
See you soon.
Mick Murphy - Microsoft partner
-
Lost admin password, how to retrieve the current password to change it?
I forgot my Admin password, I connect on my laptop using the scanner print finger all the time and when I try to change the password for Admin it ask the password which I do not remember. How to retrieve the current password and change it in Windows 7 Home premium?It's a laptop Acer 5738 G
You can change your current password as follows:
1. click on start.
2. type the three letters cmd in the search box.
3. press on Ctrl + Shift + Enter
4. click on "run as Administrator".
5. type the following command and press ENTER after each:
NET user "user %%nom" 123456Now the password is 123456. While dealing with accounts and passwords: having a single admin account on a PC is about the same as having a unique key for your car. What happens if you lose? He lost? Break it? A robust Windows Setup requires at least the following:
- Two admin accounts fully tested, with their passwords to record on paper.
- A password key file. Click Start / Help, then search for help on "password". Follow the instructions to create a key on your USB flash drive file so that you'll never find yourself in this uncomfortable situation.
-
How to give the bios password and secure in windows 7
How to give the bios password and secure in windows 7
Hello
BIOS - FAQ
http://Windows.Microsoft.com/en-us/Windows7/BIOS-frequently-asked-questionsCheck with the manufacturer of your system (manufacturer of motherboard for customized systems)
information on the definition of a BIOS password.I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Mr President
This is the page of the glassfish Server
How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.
In the jdev web module are
[11: 09:38] wrote the Web for F:\backup of AshCMS\AshCMS\ViewController\deploy\AshCMS_ViewController_webapp.war application Module
[11: 10:33] wrote the Module Enterprise Application to F:\backup of AshCMS\AshCMS\deploy\AshCMS_Project1_AshCMS.ear
[11: 10:33] Application deployment...
[11: 14:24] Application deployed successfully.
[11: 14:24] time to deployment: 8 minutes, 11 seconds
[11: 14:24]-deployment is complete. ----
what url in the browser.
Concerning
Mr President.
I run my application on built-in web logic server and get the url from there
http://localhost:7101 / ViewController/faces/MainPage
then simply change the localhost of 7101 to 8081 as below
http://localhost: 8081, ViewController, faces, MainPage
and it works
Concerning
-
How to retrieve the values of character without using single quotes
Hi all
How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL
Please answer me...
For example
Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);
I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.
Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.
shagarmahabubjan wrote:
Hi all
How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL
Please answer me...
For example
Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);
I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.
Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.
In short... you can't. The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.
I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.
Be clear in what you ask: Re: 2. How can I ask a question on the forums?
and take note of the FAQ link davidp provided the solution "variable IN the list.
-
LOBs and how to retrieve the record inserted with EMPTY_BLOb()
Hi guys
How to retrieve the records inserted with EMPTY_BLOb() instead of NULL value.
Best greetings
A.G.There must be a better way, but these work:
SELECT... from tableX where length (lob_column) = 0;
SELECT... from tableX where dbms_lob.getlength (lob_column) = 0;Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
http://www.jlcomp.demon.co.UK"All experts it is a equal and opposite expert."
Clarke -
Impossible to retrieve the return value of function from pl/sql using the DB adapter
Dear Experts,
I use the DB adapter in my BPEL process. Using the DB adapter I invoke a PL / SQL function. I am able to send two input parameters for the pl/sql function. But I do not know how to retrieve the return value of the function. Please suggest me.
Thank you
RajeshCan you tell how pl/sql function looks like you? you return the value of the function, right?
-
Hallo,
I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.
In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.
I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).
Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:
System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
You kindly help me?
Thank you
Federico
Federico, sorry I didn't see your answer.
As you use 12.1.3 you can do this more easily than the code that I posted before. You can use
{} public void onCountrySelection (ValueChangeEvent valueChangeEvent)
FacesContext will involve = FacesContext.getCurrentInstance ();
Make sure that the selection change is processed and the current link lov line has the new selected line
valueChangeEvent.getComponent () .processUpdates (contxt);
BindingContext lBindingContext = BindingContext.getCurrent ();
BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();
List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);
the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov
String newindex = (String) valueChangeEvent.getNewValue ();
get the selected value in the list that is the selected line of the binding of the lov
Line lFromList = list.getSelectedValue () (line);
now, we can get the attributes of the line of lov
String s = (String) lFromList.getAttribute ("CountryId");
System.out.println ("CountryId:" + s);
String s2 = (String) lFromList.getAttribute ("CountryName");
System.out.println ("CountryName:" + s2);
BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);
System.out.println ("RegionId:" + s3.toString ());
}
The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.
If you want to get to the attributes of an action listener you can use this code
{} public void onGetSelectedCountryLov (ActionEvent actionEvent)
BindingContext lBindingContext = BindingContext.getCurrent ();
BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();
List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);
get the selected value in the list that is the selected line of the binding of the lov
Line lFromList = list.getSelectedValue () (line);
now, we can get the attributes of the line of lov
String s = (String) lFromList.getAttribute ("CountryId");
System.out.println ("CountryId:" + s);
String s2 = (String) lFromList.getAttribute ("CountryName");
System.out.println ("CountryName:" + s2);
BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);
System.out.println ("RegionId:" + s3.toString ());
}
You must add the valueChangeListener and at least add the lines
FacesContext will involve = FacesContext.getCurrentInstance ();
Make sure that the selection change is processed and the current link lov line has the new selected line
valueChangeEvent.getComponent () .processUpdates (contxt);
to ensure that the selected line is available when you click the button.
And set autosubmit'= true for the field in the UI that displays the LOV.
Timo
-
How to retrieve the id of the web client session
Is their no way to retrieve the web client session ID.
The UserSession class gives you the unique clientId identify the client session.
See how UserSession is used in the samples/vsphereviews/vsphere-wssdk -Fournisseur/src/main/java/com/vmware/echantillons/wssdkprovider/vmdataproviderimpl.java
-
How to retrieve the value of the attribute-based
Hello
I save our file XML in a clob field.
The contend of the XML file is as below
< Reports >
"< report Type = 'USE' Title = 'USE report' Link="-1-2010-11-2-0-39-48-750 ' UUTResult = 'Fail' StepCount '69' = >
< prop Name = 'USE' Type = "Obj" TypeName = "USE" Flags = "0 x 0" >
< prop Name = "Serial number" Type = "String" Flags = "0 x 0" >
< value > 20302884 < / value >
< / prop >
< prop Name = "UUTLoopIndex" Type = "Number" Flags = "0 x 0" >
< value > 2 < / value >
< / prop >
< prop Name = "CriticalFailureStack" Type = "Array" LBound = HBound "[0]" = "[1]" ElementType = "Obj" Flags = "0 x 0" >
< ArrayElementPrototype Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 0 < / value >
< / prop >
< / ArrayElementPrototype >
< value ID "[0]" = >
< prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< Value >pre-program test< / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > MainSequence < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > Challenger_Phase1.seq < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 368 < / value >
< / prop >
< / prop >
< / value >
< value ID "[1]" = >
< prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< Value >regulator LogicReg< / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > pre-program test < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > Challenger_Phase1.seq < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 371 < / value >
< / prop >
< / prop >
< / value >
< / prop >
< / prop >
< / report >
< / Reports >
Can someone guide me how can I retrieve the value of the Prop Name = "StepName", i.e. "Before the program tests" and "LogicReg regulator", which is 1 level under the TypeName = "NI_CriticalFailureStackEntry." I extracted the part of XML code below
< prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< value > pre-program test < / value >
< / prop >
and
< prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
Regulator LogicReg < value > < / value >
< / prop >
Thank you
VincentPJ * wrote:
I save our file XML in a clob field.If you still have the choice, you should consider storing XML data in XMLType column.
For the moment, assume that the XML data resides in the CLOB SAMPLE_TABLE column. DOC:
You can use XMLTable to break a sequence of XML elements in columns and relational rows:
SQL> select x.* 2 from sample_table t, 3 xmltable( 4 '//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"]' 5 passing xmltype(t.doc) 6 columns num for ordinality, 7 val varchar2(100) path 'Value' 8 ) x 9 ; NUM VAL ---------- ----------------------------------- 1 Pre-program tests 2 Regulator LogicReg
XMLQuery or to extract it as a string:
SQL> select xmlquery( 2 'string-join(//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"], "|")' 3 passing xmltype(t.doc) 4 returning content 5 ).getstringval() as "RESULT" 6 from sample_table t 7 ; RESULT ---------------------------------------------- Pre-program tests|Regulator LogicReg
Maybe you are looking for
-
How can I get information on a search engine installed?
I want to see what exactly search engines I installed, for example by seeing the page add-on from the respective search engine. How can I do this?
-
Someone knows why I didn't get connect as USB storage device when I connect my vibe turned to pc I can only choose between media (PSG) and camera (ptp) device as USB storage not shown at all any idea how to solve this problem
-
New 7510 C311a wireless printer. Does not connect to the existing airport extreme - does not recognize the password. Printer security WEP key has the 64-bit value. Network uses 128bits. Is there a way to change the settings of the printer to 128?
-
Windows Media Player not always elaborate when I click on full screen
Original title: Windows Media Player When I play a video it still will not elaborate when I click on full screen.
-
Windows Update 7 8024402f error code
Original title: JNICH I have a new Lenovo ts140, the new hard drive empty, I haven't installed windows 7 pro 64-bit, no other software other than internet explorer 11, I'm unable to update windows I get error 8024402f.