How to validate asynchronous i/o is used?

GDay

We put our parameter disk_async_io to true and I was curious how I can tell if we actually use asynchronous IO?
This is on solaris 10 oracle 10.2.0.4

See you soon

Search the DBWR process id, run truss Pei in a single window (you can use lattice o to save the output to a file if there is a lot of output). While the beam is running in another session test with "alter system checkpoint.

Also see SOLARIS metalink note: asynchronous i/o (AIO) on Solaris (SPARC) servers-[ID 48769.1------]

Tags: Database

Similar Questions

  • How to validate the field "Reason for change" in the commercial indications using JavaScript?

    How to validate the field "reason for change" in the commercial directions Summary tab using JavaScript?

    Current version of PLM4P: v6.1.1.5.2

    Please help me to validate the fields using JavaScript.

    Thank you

    Nefertari

    Developed using some of the Javascript predefined functions that we offer, it's just JavaScript and jQuery.

    But here is an example.

    (Use Internet Explorer F12 developer tools to find the IDS of the fields to work with.)

    $(document).ready(function() { 
    
        if (UI_Ext_isSpecInEditMode && UI_Ext_HasWorkflowBehavior('1005'))
        {
           //normally, we can use jquery to retrieve elements ($('#ifOfInput).val()), but it seems to fail when the id and the name attributes are the same. so we just use javascript document.getElementById instead.
           var reasonForChange = document.getElementById('ctl01$SpecSummaryctl1$ctlCollapsibleContentContainer$ctl00$txtChangeReason')
    
           if (reasonForChange != null) { 
    
                if (reasonForChange.value == null || reasonForChange.value.length == 0) {
                     UI_Ext_MarkFieldAsRequired('ctl01_SpecSummaryctl1_ctlCollapsibleContentContainer_ctl00_lblSpecSummaryReasonforChange');
                     alert('Reason For Change is required');
                }
           }
        }
    }); 
    

    However, not the user registration or workflow specification. If you were to do this, you must remove record them and workflow buttons and links, and this probably isn't the best practice. On the contrary, you would write validation server that would give you this error message if they try to save/workflow. (So most customers do not use Extensions of the user interface for this type of validation).

    Kind regards

    Ron

  • How to handle asynchronous calls using OSB?

    Hello

    How to handle asynchronous calls using OSB?

    Please help me?

    -Vincent

    Hello friend, here is what you need.

    Oracle Service Bus, call asynchronous Web services | Oracle... Java... OpenSource... SOA

  • Equium L300 - how to validate Windows?

    After I put my laptop to original settings, I got a message to validate windows. When I clicked on the legend now validate windows I get a message saying that the key is incorrect. The number on the computer is different from the one on the Microsoft label on the underside of the computer.
    Vista was ok before putting the laptop back to original settings. Vista was preinstalled when I got the laptop.

    Any ideas how to validate Windows?

    > Vista was ok before putting the laptop back to original settings
    The preinstalled Vista is already activated and so activation is not necessary and is not necessary.

    I put t understand what you mean by: + I put my laptop to original settings + and Feliks you asked how you did that.

    In your case, I would just try to install the operating system preinstalled by Toshiba yet once on your laptop using the Toshiba Recovery disk or the Toshiba HDD recovery option.

  • How to validate the license if installed XP from another drive?

    Hi all...

    * original title - how could validate my old driver's license if I cause istalled the BONES of another license (CD), I don't have the original to my PC (laptop IBM) CD? *

    Have you used "Your" product key during installation of operating system from another CD?

    Also is the an OEM XP CD or a CD at retail with the product key?

    Here are some utilities, which will display your product keys:

    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.)

    Also: http://www.magicaljellybean.com/keyfinder.shtml
    and: http://www.nirsoft.net/utils/product_cd_key_viewer.html

    Note: Also check the side of your PC case or at the bottom of the laptop for the
    Key OEM code. If there is a sticker with the code, it will probably not
    corresponds to what is displayed by the utilities mentioned above as OEM such as
    Dell use an internal key code when they build your PC.

    The key on the sticker code should be used with your Windows CD
    (who came if everything goes well with your PC) If you need to reinstall Windows.

    JS
    http://www.PAGESTART.com

    Never be afraid to ask. This forum has some of the best people in the world to help.

  • How to validate required fields XSD by validating the BPEL activity?

    Hi all

    Is anyone aware of how to validate only requires activity validate using XSD fields. When I'm trying to validate, validation activity is taken all the input fields its not taken specific fields. Someone suggest me how to do this.

    Thanks in advance.

    Thank you

    Hari

    Hello

    I have no experience with Schematron. But I don't have an example of a xlt:

    http://xmlns.Darwin-it.nl/CDM/XSD/v1/CBM/ADarwinProjectExample"/ >

    http://xmlns.Darwin-it.nl/CDM/XSD/v1/CBM/ADarwinProjectExample"/ >

    ?>

    "xmlns:XP20 ="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"

    "xmlns:bpws ="http://schemas.xmlsoap.org/ws/2003/03/business-process/"

    "xmlns:BPEL ="http://docs.oasis-open.org/wsbpel/2.0/process/executable"

    "xmlns:loc ="http://xmlns.darwin-it.nl/CDM/xsd/V1/CDT/Locatie"

    "" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"

    "xmlns:BPM ="http://xmlns.oracle.com/bpmn20/extensions"

    "xmlns:ORA ="http://schemas.oracle.com/xpath/extension"

    "xmlns:dwnzvpm ="http://xmlns.darwin-it.nl/CDM/xsd/V1/CBM/ADarwinProjectExample"

    "xmlns:socket ="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"

    xmlns:svnid = "" $Id: ADarwinProjectExampleCBM.xsd 148 14:55:49Z 2013-07-$23 ""

    "xmlns:mhdr ="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"

    "xmlns:oraext ="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"

    "xmlns:DVM ="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"

    "xmlns:HWF ="http://xmlns.oracle.com/bpel/workflow/xpath"

    "xmlns: med ="http://schemas.oracle.com/mediator/xpath"" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform"

    xmlns:IDs ="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"xmlns:version = "1.0.a"

    "xmlns:XDK ="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"

    "xmlns:XREF ="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"

    "container ="http://www.w3.org/2001/XMLSchema"

    "xmlns:Dom ="http://xmlns.darwin-it.nl/CDM/xsd/V1/CDD/Basis/Domeinen"

    "xmlns:BPMN ="http://schemas.oracle.com/bpm/xpath"

    "xmlns:jdz ="http://xmlns.darwin-it.nl/CDM/xsd/V1/COT/SomeCase"

    "xmlns:bas ="http://xmlns.darwin-it.nl/CDM/xsd/V1/CDD/Basis/Basis"

    "xmlns:BCT ="http://xmlns.darwin-it.nl/CDM/xsd/V1/CDT/Bericht"

    "xmlns:LDAP ="http://schemas.oracle.com/xpath/extension/ldap"

    exclude-result-prefixes = "xsi xsl loc dwnzvpm svnid psn version ns0 ns1 xsd dom jdz low bct ns2 xp20 APO bpel bpm ora socket mhdr oraext dvm hwf med xdk Xref bpmn ldap ID" >

    CDM

    ADarwinProjectExampleReqCBS

    1

    ADarwinProjectExample

    FUNCERROR

    Select = "' / dwnzvpm:aDarwinProjectExampleRequestCBM / dwnzvpm:businessData / dwnzvpm:informatieverzoekNatuurlijkPersoon" / > "

    Select = "' / dwnzvpm:aDarwinProjectExampleRequestCBM / dwnzvpm:businessData / dwnzvpm:informatieverzoekNietNatuurlijkPersoon" / > "

    Select = "' / dwnzvpm:aDarwinProjectExampleRequestCBM / dwnzvpm:businessData / dwnzvpm:informatieverzoekNatuurlijkPersoon / dwnzvpm:adres" / > "

    Select = "' / dwnzvpm:aDarwinProjectExampleRequestCBM / dwnzvpm:businessData / dwnzvpm:informatieverzoekNietNatuurlijkPersoon / dwnzvpm:adres" / > "

    DWN-00005

    An application must be made for a natural or non-natural person.

    Validation error

    DWN-00006

    A Dutch address cannot be questioned based on a cityname, but only based on a citycode.

    Validation error

    I think that it is fairly easy to add additional semantic checks.

    Kind regards
    Martian

  • How to validate SQL syntax in Application Engine Peoplecode

    Hello

    Can someone help me to find out How to validate SQL in Application Engine Peoplecode. I just need to validate SQL syntax. If the syntax is wrong, it should save the exception in the log file but engine Apllication should not go WITHOUT success. App Engine should continue with other SQL validation to check the correct syntax and to retrieve values.

    Here is given is peoplecode, which is that I currently use.

    Thanks in advance.


    String local CSG_SQL_ID & sqltext;
    Local date & effdt;
    Local Boolean & sql_flag = True;

    & CSG_SQL_ID = CSG_REP_DIS_AET. CSG_SQL_ID. value;
    SQLExec ("SELECT DEV. CST PS_CSG_SQL_TMP, CRAD PS_CSG_REP_AUT_DST SQLTEXT WHERE CSE. CSG_SQL_ID = DEV. CSG_SQL_ID AND CST. EFFDT = DEV. EFFDT AND CST. CSG_SQL_ID =: 1 ", CSG_SQL_ID, & sqltext);

    Try

    & sql_flag = SQLExec (& sqltext);
    If & sql_flag = True Then
    & sql = CreateSQL (& sqltext);
    Local string SqlString = & sql. Value;
    Logger (String (ExtractTablesJob (& SqlString)));
    Logger (String (ExtractTablesDept (& SqlString)));
    End - If;

    catch Exception & sqlerror
    MessageBox (0, "", 0, 0, "found Exception");
    end - try;

    Ludi,

    I apologize: I remembered wrong. The Select Type must be reselect. I opened a ticket with Oracle on this problem. I hope that maybe they will build better error messaging tools, but we'll see. The real result of the ticket, it is that evolution to select Type of reselect solved my problem.

    Remember that when you Reselect it, you need to follow wherever you are. Reselect him running the DoSelect SQL statement every time until it returns no rows. So, you will need a flag turned on the table. You're DoSelect should select only the rows where the transformed flag is N. Then, you must update the line you are dealing with to set the flag turned on Y. In this way, you will pass through the processing of each lines.

    Also, just to be clear, I don't think that App Designer will ever "validate" your SQL. It allows the database to do that when you run it. It can be frustrating because up to now it is not telling you that you are developing, but the advantage is that App Designer does not limit you. You can place some SQL you want in your program, and it will transmit to the database. Stored procedures, functions, all work because the App Designer do not validate things specific special platform.

    If you wish, you can copy your SQL in the SQLExec to a SQL definition:
    SELECT THE DEV. SQLTEXT
    OF PS_CSG_SQL_TMP CST.
    PS_CSG_REP_AUT_DST SLAG
    WHERE CSE. CSG_SQL_ID = DEV. CSG_SQL_ID
    AND CSE. EFFDT = DEV. EFFDT
    AND CSE. CSG_SQL_ID =: 1

    You could name MY_AE_SQL.

    Then, in your App Engine PeopleCode, you can change the SQLExec in:
    SQLExec (SQL. MY_AE_SQL, & CSG_SQL_ID, & sqltext);

    This will place your SQL in a place that teaches better, but I don't think that it will validate it no more. In my opinion, it makes your code more difficult to read. Someone coming along behind you must open several pieces of code to see what your program does.

    The more I watch your program, you want probably to validate and protect the SQL code that is in & sqltext, rather than the SQLExec. If you want it to be dynamic, I don't see what you can do.

    You could possibly launch an other App Engine as another process. You can use the object API ProcessRequest to plan the program through the process scheduler. You must pass your dynamic SQL code to the other program through a sort of serial control. In this way each SQL would go as a separate instance in process monitor and would go to success or no success individually. I still think it's too complicated.

    I hope these thoughts help. It looks like a difficult task.

    Stephen

  • How to validate button Save

    Hello

    How to validate button 'save '? Requirement is at the advanced table I have lov fields 'Application name' and 'name of responsibility. " If I choose the two lov then only it will save the records.else, it will show a message "enter values in 2 fields. I use code code below.



    If (PageContext.GetParameter ('Save')! = null)
    {

    RequestAccessDetailsVOImpl vo = am.getRequestAccessDetailsVO1 ();
    Line row = vo.first ();
    String p_appl_name = null;
    String p_resp_name = null;

    for (int i = 0; i < vo.getRowCount (); i ++)
    {
    p_appl_name = Row.GetAttribute ("ApplicationName"). ToString();
    p_resp_name = Row.GetAttribute ("ResponsibilityName"). ToString();
    p_username = PageContext.GetUserName (). ToString();
    System.out.println ("application name is" + p_appl_name);
    System.out.println ("name of responsibility is" + p_resp_name);

    }
    Row = VO. Next();

    If (((p_appl_name)! = null) & & ((p_resp_name)! = null))
    {
    System.out.println ("Working");
    am.getOADBTransaction () .commit ();
    System.out.println("6");
    throw new OAException ("successfully", OAException.INFORMATION Records);
    }
    on the other
    {
    throw new OAException ("Enter the two fields", OAException.INFORMATION);
    }

    }



    IAM get 'Application name' and values "name of responsibility." If I select the two values it works well, but if the option not all lov is showing below error.



    Details of the exception.

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.lang.NullPointerException
    at wnsgs.oracle.apps.sysadmin.requestforaccess.webui.RequestAccessDetailsCO.processFormRequest(RequestAccessDetailsCO.java:155)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
    at wnsgs.oracle.apps.sysadmin.requestforaccess.webui.RequestAccessDetailsCO.processFormRequest(RequestAccessDetailsCO.java:155)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)




    Can someone help me how to solve this error.

    Thank you
    NGO

    p_appl_name = Row.GetAttribute ("ApplicationName"). ToString();

    The statement generates error if row.getAttribute("ApplicationName") returns null as he tries to toString() to null.
    So it correctly handles to null values.

    p_appl_name = (String) row. GetAttribute ("ApplicationName");
    p_resp_name = (String) row. GetAttribute ("ResponsibilityName");

    It should work... If you are still having problem... very unlikely... in this scenario, you use only
    Object p_appl_name = row.getAttribute ("ApplicationName");
    Object p_resp_name = row.getAttribute ("ResponsibilityName");

    If you use over construction of the object then you will need to convert the objects to strings if you view them, but the comparison they work always as is.

    Kind regards
    Stephanie.

  • How dynamically update the role of oracle using the trigger

    How dynamically update the role of oracle using the trigger:

    I have svmanger owner of schema in the database. There are five tables belonged to svmanager.

    Table A, B, C, D, E.

    I have a role that is played only to these tables under the scheme: SVMANAGER_READ_ONLY

    now, if I create a new table F under svmanager. the role that svmanager_read_only does not work is updated, so the user had assigned role cannot access table F.

    is there a way to create the trigger for this role dynamically update any when a table is created or deleted?

    Thank you.

    I really really really don't suggest to do this - it's a bad habit. If possible I'd just adding the grant as part of the steps to the role on the new creation of the table.
    But for fun here's how you can accomplish this:

    create or replace procedure execute_grant(v_ddl in varchar2)
    is
    begin
       execute immediate v_ddl;
    end;
    /
    
    create or replace trigger catch_create_table_trg after create on schema
    DECLARE
    
    ddl_job number;
    ddl_str varchar2(50);
    begin
       IF ora_dict_obj_type = 'TABLE' THEN
    
           ddl_str := 'GRANT SELECT ON '||ora_dict_obj_owner||'.'||ora_dict_obj_name||' TO SVMANAGER_READ_ONLY';
    
           dbms_job.submit(job => ddl_job,
           what => 'execute_grant(''' || ddl_str || ''');',
           next_date => sysdate+(5/24/60/60));
    
       END IF;
    end;
    /
    

    Test it

    create table F (id number(1));
    

    Validate

    select * from ROLE_TAB_PRIVS where ROLE = 'SVMANAGER_READ_ONLY';
    
  • How to validate that a single check box is checked in detail block

    Hi all

    I am using oracle 10 G on windows forms.

    I need help on how to validate that a single checkbox is checked in the retail block. I have multiple records in the block of detail and I have checkboxes for each record in the detail block.

    I have a button to select values in the detail records where the check box is checked. But I want to make sure that only one record is not more than one check.

    How to validate this on a shutter release button?

    Thank you

    When I did this sort of thing, I create a variable of TYPE number form level and then add or subtract the variable I to check and uncheck the boxes. If the value of the variable is 1, then you know that only check box is selected. If the value is greater than 1, then you know that the user has selected more than one checkbox. You could also add the code to your trigger when-box-changed to test the variable and tell the user to uncheck selected record before selecing a new record.

    Regarding the variable level of form, you can use a GLOBAL package specification, PARAMETER or program unit. I prefer to use the specification of CENTRAL unit package, because this method has a smaller memory footprint. For example, in the node of the unity of the object browser program create the following:

    /* Form variables package spec */
    PACKAGE Form_Vars IS
      CheckBox_Cnt     NUMBER := 0;
    END;
    

    Now in your trigger when-box-change...

    BEGIN
       IF ( Form_Vars.CheckBox_Cnt = 0 ) THEN
          Form_Vars.CheckBox_Cnt  := Form_Vars.CheckBox_Cnt  + 1;
       ELSE
          /* it's assumed the value is greater than 0 */
          Message('Please uncheck selec ted record before choosing a new record.');
          RAISE Form_Trigger_Failure;
       END IF;
    END;
    

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

    Published by: Silvere on February 3, 2011 10:15

  • How to validate the field LOV?

    Dear members,

    I have an OFA Page in which there are two fields i.e., F1 and F2.
    I created two lov ' Lov1 and Lov2. Lov2 is a dependent lov Lov1-based.

    Lov1 attached to F1.
    Lov2 attached to F2.

    When Iam by entering values in the F1 or F2 which do not appear in their respective lov, no error is encountered. IAM able to save these values as well.

    Any one can you please tell me how to validate fields lov, my requirement is whenever I get a wrong value that isn't in the lov, I want to display an error message.

    I tried selecting the value 'Yes' for the property "use for Validation" in lovmappings, and there is still no use. "

    Thanks in advance.

    Best regards
    Arun D. Reddy

    Try the following steps:

    What we need to do is the following.

    1. create a formValue field in the form.
    2. in the LOV create a mapping, with return element as the ID of the created formValue field.
    3. also for this map, together 'use for Validation' = yes.

    It works like a charm now and the user cannot enter invalid values.

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • I just bought the last Apple TV - I can't seem to connect with the App Store and Siri is completely useless. This is an example of how Apple is unable to produce a useful product?

    I just bought the last Apple TV - I can't seem to connect with the App Store and Siri is completely useless. This is an example of how Apple is unable to produce a useful product?

    Hello

    Be sure to follow the instructions in this article to support > set up your Apple TV (4th generation) - Apple supported

  • How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    41 of Firefox is no longer uses the browser.newtab.url setting in about: config because he was constantly attacked by malware. From 41 of Firefox, you need an add-on to change the new tab page.

    Here are a few options (I'm learning more all the time):

    • If you are already using the extension classic restaurateur theme: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Setting up substitute again tab

    After installing this extension, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab override and click the Options button. (See first screenshot attached).

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Success?

    Once you have set it as you wish, you can close the Add-ons page (or use the back button to return to the list of Extensions of this Options page).

  • I have 30 messages of my Web site users. How can I (1) Replay at ALL using an email. I can't reply to all allows me to respond to each person INDIVIDUALLY.

    I have 30 messages of my Web site users. How can I (1) Replay at ALL using an email. I can't answer all allows me to respond to each person INDIVIDUALLY, and (2) how can I get all the addresses of electronic mail from senders AFTER I FILTER my mails for a list of emails which can only from my site.

    I get tons of mail from my site, and I need an easier way to manage the workflow. each email open and copy the email address for 50 emails would be a lot of work. I just want 'select' all emails, do a right-click and enter all e-mail addresses from senders.

    And, as stated above... Send an email to all by a RESPONSE/option button.

    I found a solution. Updated my Thunderbird, and the app worked. I used v.11.

  • How can I save text that I use regularly in the emails to avoid having to retype it every time?

    How can I save text that I use regularly in the emails to avoid having to retype it every time?

    Try this add-on: https://addons.mozilla.org/en-US/thunderbird/addon/clippings/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

Maybe you are looking for