Database Validation function Question

In the Page 37 of the APEX_listener_v1.pdf, it is mentioned that we can create a function "check_valid_procedure".

I guess it's similar to the version of the EPG, wwv_flow_epg_include_mod_local.

My problem is that the admin screen will not accept it.

Request could not be processed due to the error:
Sea 14 Jul 09:58:48 EDT 2010
Database Validation function CHECK_VALID_PROCEDURE is not valid.


Should what I use to create this function?

You will need to prepend the proc with the diagram unless you've granted to public and have a public syn your help.
-kris

Tags: Database

Similar Questions

  • validation function call

    Hello
    I created an item-level validation. I have a database function side that check to make this name of user and password is valid.
    Under type of validation, I choose "function returning a Boolean.

    Here's what it looks like
    edumet_auth ('[email protected]', 'temp1');

    When I hit the "connect" button I get the error message

    ORA-06550: line 1, column 44: PLS-00221: 'EDUMET_AUTH' is not a procedure or is undefined ORA-06550: line 1, column 44: PL/SQL: statement ignored ERR-1021 cannot run the validation of the "body of the function that returns a Boolean.


    I choose the wrong type of guy? How can I fix this problem

    Thank you
    Laba

    Assuming that the edumet_auth function returns a Boolean result, use:

    return edumet_auth('[email protected]','temp1');
    

    with the type of validation function returning a Boolean .

  • The validation function, PL/SQL does not run

    Hello

    In one of my APEX listener configurations, I want to give access to the request and block the rest. Basically I'm following this nice post by Kris Rice: http://krisrice.blogspot.com.ar/2013/01/apex-listener-plsql-validations.html

    My problem is that my validation function is not executed:

    -By ${config.dir}/apex/conf/apex.xml
    <entry key="security.requestValidationFunction">MY_SCHEMA.MY_PACKAGES.is_allowed(flow_id=>:P_FLOW_ID,page_id=>:P_FLOW_STEP_ID)</entry>
    -The code of the function:
    FUNCTION is_allowed(
        flow_id IN VARCHAR2,
        page_id IN VARCHAR2)
      RETURN BOOLEAN
    AS
    BEGIN
      insert into MY_SCHEMA.logs values (sysdate, flow_id);
      IF ( flow_id = 141 ) THEN
        RETURN true;
      END IF;
      RETURN false;
    END;
    But newspapers table remains empty, snif...

    Any ideas?

    Thanks in advance,

    Luis

    APEX listener 2.0.3 upgrade solves the problem:

    http://www.Oracle.com/technetwork/developer-tools/Apex-listener/downloads/index.html

    Thank you!

    Luis

  • Problem with selectManyChoice validator function (11.1.1.1.0 JDEV)

    Hello

    I have the following definition of the component,

    < af:selectManyChoice label = "" select one or more hosts: ""
    Binding = "#{backingBeanScope.modifyingPort.SMC1} '"
    ID = "smc1' autoSubmit = 'true '.
    valueChangeListener = "#{backingBeanScope.modifyingPort.setShell} '"
    Validator = "#{backingBeanScope.modifyingPort.validate_test}" >
    < f: selectItems
    Binding = "#{backingBeanScope.modifyingPort.SI1} '"
    ID = "si1" / >
    < / af:selectManyChoice >

    and to support bean,.

    {public Sub validate_test (facesContext, UIComponent uIComponent, FacesContext, object)}

    System.out.println (SMC1. GetValue());
    {for (String s: (ArrayList < String >) {smc1.getValue ())}
    System.out.println (s);
    }

    ... ... ..
    ... ...
    }


    Once I chose the values I NTHE SelectMultipleChoice component, the validator function is executed, smc1.getValue () will always return null.

    But if I remove the validator function, and cut-and - paste the code in another function, it works very well! Pointers on why this piece of code does not work inside the validator function?



    Thanks in advance

    Hello

    You get the new value to the setting of the object of the validator, use object instead of smc1.getValue ().

    Jean Lou

  • How I replace perfectly my record excel sheet with ability of database? + General questions about computing distributed with LabVIEW

    Surprisingly, I'm almost finished with a full blown control-simulation application, that I've been working on for more than a year now, thanks in no small part of this community. The final step is to run on the simulations of k ~ 8 and be able to meet a simulation and overall statistics on performance. Each simulation is taking about 6 minutes of real time to run (~ 2 seconds of real time per hour of simulation time, valid for 7 days of simulation), as we seek to about 800 hours of your time to simulate. I have 5 computers available and a raspberry 2 Pi these simulations on, I'm looking to set up a kind of compute cluster at the end in about 2 weeks.

    The ability of current logging is sketchy; I got about 40 columns of data, and they are written in a spreadsheet with a .xls format tabs-delimited. This works very well for individual simulations, but it would be quite heavy to deal with if I had more than 20,000 of them. I think this must be done with a relational database sort, but my experience with databases is very limited, especially then, when it comes to LabVIEW. Here are my questions:

    -Can I create a kind of master-slave configuration where a computer (and probably the Pi) keeps track of the simulations are complete, which are running, and who have never run? Computers slaves ask for simulation settings, and IP would give them to him.

    -How should I take care of the database? Each simulation is about 500 k in .xls format, it's about 5 GB of data in all. Computers slaves synchronization from time to time to take care of the redundancy?

    -How can I refine my memory + General fresh disk I/O? How can I know which items from my point of view most of them?

    -Do you have suggestions for the implementation of clusters of databases relational/computer with LabVIEW?

    I have attached a picture of my configuration of logging + the overall structure of the application. It is a state machine with a structure of the event for the interruptions.


  • Cause the v5.3 TCS Cisco - database consolidation write questions

    Hello - our deployment involves two boxes of tcs of clustering. While we have created the first node in the cluster with integration of Backend successfully in NAS and SQL, we have questions, add the second server to the cluster due to a database write failure of the operation at some stage. Is attached a screenshot for reference. Error is ' write data to destination... Tandberg.DatabaseTransfer.DatabaseDataDestination... »

    From the point of view of database permission, we have permission granted and which are especially as the first server is connected to the sql cluster higher. Looking at the newspapers, other operations initiated during the second node of tcs add in the cluster to write succeeded. However, this specific write operation failed.

    From a troubleshooting perspective, beat the node primary tcs in the couple of cluster of times and tried to rebuild the cluster. But that is not the problem of fixing.

    Any input would be much appreciated

    Thank you

    PGM

    Sent by Cisco Support technique iPad App

    Hi Srinath, I see the error indicating that the name of the instance is "Null", it returns NULL if the instance name is the default instance, if the entry is not valid, or a mistake.

    What you might try to return to the local db, do a proper backup of all records and create the new instance of the database with a name.

    The new attempt of grouping again.

    Best regards / / Andrey

  • VALIDATION - function returns the error text

    I have a domain that occurs on about 12 pages, I need to post this field with some code

    I created a function on the database that performs this validation, I pass the field value to the function and it returns some text of error, or NULL if the value is correct

    I can't for the life of figure me out how to call the function of APEX

    I've tried everything

    FUNCTION RETURN ERROR TEXT, Expression SQL, PL/SQL Expression... nothing works!

    to call the function my comand is

    FN_VALIDATE_HR1_REF (: P1_GCI,: P1_HR1_REF);

    I want to return the error on the function text and display it in the banner of APEX error

    any help greatly appreciated

    A function like this return error text should work:

    Return (FN_VALIDATE_HR1_REF (: P1_GCI,: P1_HR1_REF));

    Is giving the error?

  • 12.1.3 extension XSLT editor Query-database mapping function

    Hello

    , We are trying to move from 11.1.1.7 to 12.1.3 JDeveloper. We have developed a number of xsl maps in 11.1.1.7 using the function oraext:query - database Oracle extension (where the namespace oraext is xmlns:oraext ="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" "). This works in JDeveloper 11.1.1.7 when the test of the card where the call to the map looks like this:

    < xsl: value-of select = "oraext:query - database (concat (& quot; Select fvalue GetMapCodeList ("param1", "param2", "param3") of double, quot;), false (), false (), & quot;jdbc:oracle:thin:dbuser/dbpassword@dbhost:1521:dbservicename & quot;) "/ >"

    In the statement select above is "select GetMapCodeList" which is a function defined in the database which takes 3 parameters. This works very well for us in 11.1.1.7. We are new to 12.1.3 and we get an error test map XSLT in JDeveloper. The error is

    file:/[file path] / [file name] .xsl: XML-22044: function (error) Extension error: Error invoking 'queryDatabase':'java.lang.NoClassDefFoundError: oracle/jdbc/OracleConnection '.

    It seems that it cannot find the ojdbc6.jar file, but I don't see where that should be added.

    Edit:

    OK, I realized that the extension functions XPath of Oracle do not appear in my XSLT Map Editor component palette. I also see that when I change the XPath of the oraext:query - database is highlighted by JDev as being invalid. I think my problem is with the extension being not loaded XPath functions.

    Thanks in advance.

    Steve

    OK, after working with the support of the Oracle, the answer is that the ojdbc6.jar did indeed need to be added to the configuration of JDeveloper 12.1.3. To do this the following line was added at the end of the jdev.conf file:

    AddVMOption - Xbootclasspath/r:... /... /.. /oracle_common/modules/Oracle.jdbc_12.1.0/ojdbc6.jar

    The jdev.conf file is located in your Oracle_Home\jdeveloper\jdev\bin directory. Don't forget to adjust the relative path to match your environment. In addition, please note that the only spaces in the AddVMOption line are a space immediately after "AddVMOption".

    Another concern in this thread that the functions of data base in the XPath Group advanced components from the component Palette was missing. The groups Advanced general XPath XPath and XSLT components model will appear only in the component Palette if the application is a SOA application.

    A score more. I don't know if Oracle sees this as a bug and the ojdbc6.jar to be in the classpath without the user set it up like that in the jdev.conf. If it's a bug, and then if all goes well it will be resolved in a future release, and this configuration will be necessary.

  • The page validation: function returning a Boolean

    Hi guys,.

    I'm doing a page validation simple to check an element in my presentation table if it is a number or not:

    START
    FOR i IN 1.. apex_application.g_f12. COUNTY
    LOOP
    IF LENGTH (TRIM (TRANSLATE (apex_application.g_f12 (i), "0123456789","" "))) is NOT null
    THEN
    RETURN FALSE;
    END IF;
    END LOOP;
    END;

    but I get this error message if g_f12 = AAA:

    ORA-06502: PL/SQL: digital or value error: character of number conversion error
    ERR-1021 error cannot run the validation of the "body of the function that returns a Boolean.
    Ok

    If g_f12 = A12 or a mixed alphanumeric it will work!

    * (I tried this with the function returning the text and it works like a charm, but in this case I have to use the function returns boolean to allow me to translate the error message) *.

    am I doing something wrong please help

    Thank you

    Hello

    Well, now when I look at the error message, I think that the problem is quite obvious.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Number.Floor seems to be a valid function but is not. The origin of crashes on mobile.

    This is a cross-post from http://forums.Adobe.com/message/4993660/ We do not have a response there and this issue and similar discrepancies between what the IDE can compile and runs on a device that has been costing us man-days work.

    We have recently had a problem where when using FB compilation and debugging on the device works very well. But when we built the app using Ant, it was crashing on Android devices. After debugging, that we found that the Number.floor is not a function.

    I can't find any slot that says that Number.Floor has never been a Flex/ActionScript/air function.

    Then why Flash Builder seems to think that it is valid, let's compile it, and even run it on the device? Is there some 'still more strict' compiler option I have to check?

    I reported the problem to the next version of Flash pro and Flash builder.

    It seems that the bug was marketed 11.3 in flash player.  earlier versions of fp correctly identify errors in the application of mathematical methods of the class and properties to the number class.

  • JDeveloper 11.1.1.3.0: Membership based Association vs database Validation

    Hello

    What is considered 'best practice' for the use of a composition association, when taking performance into account.

    My understanding is that through this used the FK validation done on the application server and without on the database server. The two approaches have implications of IO. How can I approach this when designing my EO models.

    Thank you.

    The 'best practice' for performance is of only to care when needed, not as a priority. Maybe you need to detail what you're trying to do, we can make a judgment you need a performance optimization... maybe what you do will be nothing special, hard to say.

    About CA FK validation, ADF is well optimized. An attempt to delete a parent row translates into a simple extraction of 1 child line based on the FK field via a variable binding query.

    You can test and verify yourself by using the Djbo.debugoutput = console option - to see that DML ADF engages with the database (see: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcqueryresults.htm#CHDBBEEB).

    CM.

  • Database Oracle OATS question

    Hi guys,.


    I work with Oracle OpenScript to generate the Script Application Siebel. For many reasons, I choose in BTA Bank of data to use for an incoming test.

    Is it possible to define in BTA camps sources (CSV file) which matches the database alias defined in OpenScript, and used to map the name of user and password for example? Thanks to this, I might be able to run subsets of SEEN on different data sets (but still using the same Script)

    Hope you understand my question :)

    Thank you

    Anthony

    Anthony

    You cannot add data in BTA only banks in OpenScript.

    You can get the same thing by using the following techniques:

    (1) - have X many different scripts, you can just do a backup as in a manuscript to clone, and then change the database.
    (2) - have a different database file that you manually change.
    (3) - select the file database in Code view.

    And finally, you can select a range of values to use in BTA, so you could use a database file and set the first 100 users to have a different role that the second series of 100 users. You can then select range he in BTA just click the database icon in the view of scenario in BTA.

    Concerning

    Alex

  • Use about Central button mouse to call the JavaScript function question

    I want to use the mouse middle button to call the function JavaScript (< a href = "javascript:help ()" >) help() opens a new window and directly to the Help Page of my GUI, but when I click on it with the middle button, it will open new tab blank Page that url = "javascript:help()"; " can't help executive function... What is a Firefox Bug or a correct behavior in Firefox? I thank.

    You must use left click to manage JavaScript links.

    See also http://kb.mozillazine.org/browser.link.open_newwindow.restriction

  • Math function questions

    Hello

    I am interested in some details over two routines of the advanced analysis library:

    (1) NonLinearFitWithMaxIters: what is stopped / criterion of convergence? a change in chi ^ 2 lower to...?

    By the Way, I would like to have a NonLinFit function that would allow one) to specify the error bars / b) return the number of iterations and weighing used. The latter would judge if the number of iterations specified enough by far or chance, the first to take into account the experimental or statistical counting errors.

    (2) what is the difference of the two Convolveex algorithms for the user? Y at - it a preference for one method or the other, for example time compared to memory consumption... I couldn't find such information.

    Thanks, Wolfgang

    Hi Wolfgang,.
    (1) the NonLinearFit routine is a bit complicated. We take the absolute and relative value into consideration. If the iteration stops when the absolute or relative difference research value.
    (2) 1000 data points should be considered as large in the choice of the Convolveex algorithm. The main difference between the two algorithms lies in the speed. The data that results could be consulted as the same, except the extremely small difference of digital. If you choose the FREQ_DOMAIN algorithm, the function performs an FFT first, followed by multiplication in the frequency domain, and finally the IFFT for time domain data. If the FREQ_DOMAIN algorithm will be much faster when the data set is important. (More than 10 times faster for 1000 points of data on my machine)

    Hope my answer helps.

    Best wishes

    xearthl

  • Copy paste functions question - use CTRL + C in the computer a. someone over the network from other data CTRL + V. use of the appearance of the computer A computer.

    Hello world

    I had a problem with the copy and paste functions in my corporate network environment.

    This must happen frequently and there associate with P & C data.

    Scenarios:

    User A is to copy data in his laptop using CTRL + C functions. and he did not make any problem with copy and paste functions.

    He is able to copy and paste without any problem.

    BUT. Someone from another computer (USER B) in same domain, use CTRL + V function to paste.

    When USER B use CTRL + V. He will receive the data that USER A previously copied.

    I'm curious to know how the data can go other the computer Clipboard?

    Hope someone can help me with that. :(

    Kind regards
    Suhail

    MSN

    I saw this on my own computer with customers.  Team Viewer or RDP was still running.  I copied my client stuck.  It is repeatable and I informed observer team (what I use) and they created a bug report.

Maybe you are looking for

  • Display on my laptop Satellite has intermitant epilepsy

    HelloI am running Windows 7 with Intel core i3, last month had this problem intermittent when the screen starts to jump around at breakneck speed, I first nocied with Mozilla (latest version), but he ha [[ens at other times I tried also, update the I

  • Update files in CVI TDMS

    Hello world I'm new in the development of CVI. My current work is on TDMS inside CVI 8.5, I experienced help ICB on PDM and a white paper on the website of OR... My current requirement is that the user runs the application and see the data on the gra

  • Hyper-v will appear in Win 8?

    I'm just curious.

  • When from the screen is filled with vertical lines. How can I stop this anomaly?

    When I start the computer the screen shows verticl lines. I stop and restart and the computor starts normally. What is my problem and how to cure it?

  • LaserJet Ypou M1217: "Out of Range".

    I've had my HP fax/printer for 4 years now.  Two weeks ago it started to give me a message "Out of Range" whenever I try to send a fax.  It's okay if it's a local fax number or a long distance number, the message is always the same "Out of Range".  T