D2k Forms did not execute query.

In D2k forms 4.5 Support. In Application "WHEN BUTTON PRESSED" event written code as "do key(EXECUTE QUERY)". if i gives db click on query button it did executed all records from oracle 8i database. only 15,16,17,18 auto generated numbers(i think created sequence for auto generated numbers) only. Please guide me how to find and solve this problem.

You should post this thread to the Forms forum...Here it is Forms

Similar Messages

  • Need to find out the queries which did not executed in 2014

    Hi All,
    I need to find out the queries which start from YY  and did not executed in 2014, earlier we used to find out by looking into the technical content cube 0TCT_C02 but now its giving dump as number of queries increases. I tried to find out using table RSZCOMPDIR but not able to trace it exactly. Please suggest some alternative solution to find out the queries which did not execute in 2014 so that we can delete it.
    Thanks,
    Asim.

    Hi,
    RSDDSTAT_OLAP : This is the table which contains query execution details
    CALDAY field in that table gives you query execution date
    OBJNAM gives the query name
    As you said RSZCOMPDIR gives list of all queries. doing a lookup between these tables will identify the queris which are not executed in particular period.
    -Sriram

  • Remote procedure call failed and did not execute response after changing contents

    Hey Hey!
    I have reviewed the other posts related to this issue but have not found a solution.
    I have done myself quite a mischief and hope someone here can help me out!
    I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
    the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
    old user's folder. 
    That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
    or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
    I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
    couldn't type anything into the search bar, I could not even select any programs from the Start Menu. 
    So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
    I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
    Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
    Greatly appreciated in advance. 
    Paris, Texas. 

    Hi,
    Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
    How to list all active directory users in a particular domain using PowerShell
    https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
    In addition, for scripts, we can also ask for help in the following forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards
    Frank Shen 

  • Org.hibernate.exception.GenericJDBCException: could not execute query

    while executing sql statements with hibernate oracle this type of errors
    org.hibernate.exception.GenericJDBCException: could not execute query
    ava.sql.SQLException: ORA-01001: cursore non valido can any one suggest
    a solution for this.
    Thanks

    This is likely due to a commit/rollback being executed after the statement has been executed but befofre the result set has been processed by the application. In TimesTen, unlike Oracle, commit/rollback closes all open cursors on the connection. This could be a case of using the wrong Hibernate dialect. Are you using a TimesTen dialect in Hibernate?
    Chris

  • Filled out pdf form, did not save, cannot locate

    filled out pdf form, did not save, cannot locate

    Hi angel07h,
    Did you try to save the file, but the save was unsuccessful? Or did you just not have a chance to save the file? Where did you get the form? Did you download it from a website, or fill it out directly on a website?
    I look forward to hearing back from you.
    Best,
    Sara

  • SQLGrammarException: could not execute query

    Hello,
    I created a table with the script belove in a Derby database and created Entity Class for that.
    create table "BAHADIR"."User"
         "id" NUMERIC(5) not null primary key,
         "name" VARCHAR(25),
         "email" VARCHAR(100),
         "password" VARCHAR(25),
         "role" VARCHAR(25)
    )In my controller class there's a method like that:
        public int getItemCount() {
            EntityManager em = getEntityManager();
            try{
                int count = ((Long) em.createQuery("select count(o) from User as o").getSingleResult()).intValue();
                return count;
            } finally {
                em.close();
        }When this method is called I get that exception stack:
    HTTP Status 500 -
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
    root cause
    javax.el.ELException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
    root cause
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
    root cause
    org.hibernate.exception.SQLGrammarException: could not execute query
    root cause
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "User" at line 1, column 42.
    root cause
    org.apache.derby.client.am.SqlException: Syntax error: Encountered "User" at line 1, column 42.
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    Sun Java System Application Server 9.1
    What does these mean? The IDE created the access method automatically, so it can not be wrong. So where's the error?
    Thanks.

    By fixing the HQL query that results in the query that is wrong. So step 1: trace down which HQL query is causing the misery. Step 2: turn on SQL logging to see which sql is generated for that HQL query. Step 3: figure out what is wrong. I can guess that there is something wrong with the annotations on an entity, like declaring something as nullable while it is in fact not according to the database schema. Another common culprit is using a name that is a reserved SQL keyword.
    EDIT:
    'from limit And the keyword name clash is the cause here. Limit is an SQL keyword in MySQL, so you can't use that as a table name.

  • Oracle ADF refresh as deferred does not execute query on page load

    In the oracle ADF page I have two panel boxes. (Oracle ADF 11.1.1.4)
    a) Personal information panel box with PanelFormLayout (PersonalInfoViewObj) - ReadOnly View Object
    b) Address information panel box with Table (AddressInfoViewObj) - Read Only View Object
    For the iterators in a) and b) I have kept refresh condition as deferred and cacheResult=false. Also in b) for af:table, I have kept contentDelivery="immediate"
    When page loads it fires SQL query for a) and populate the data in Personal information panel box. However for b) it does not execute the SQL query and the data is not getting populated ( in AddressInformation panel with the tables. Please note data is there in the DATABASE......)
    Becasue with the refresh as deferred it was not executing the sql query for Panel b) (panel with Table and table iterator). I have tried refresh as always and refresh ifNeeded/renderModel/prepareModel however in that case it is executing the SQL query two times (twice).
    Please let me know the best way to fix this issue.

    Hi,
    I think you need a method in an application module to init your data.
    In your AM : create a method like :
    public void init(){
    getViewObject().executeQuery();
    }In your adfc-config.xml create a methodCall from this method and a "control flow case" from the methodCall to your page.
    and keep refresh as "deferred " in your pageDef.
    Clément

  • Form did not open with webutil.

    Dear All;
    I am using Webutil for loading and uploading the files on local drive, it was running good through Oracle Application server on client side.
    My Orcale Application Server Detail is given below: (Before Installing the Patch)
    OS: Windows Server
    Version: 10.2.0.2
    But I have install the patch on appllication server but after installing this patch those forms in which I have used webutl did not open and hang up the whole applixcation.
    My Orcale Application Server Detail is given below: (After Installing the Patch)
    OS: Windows Server
    Version: 10.1.2.3.0
    Please provide me solution of this problem, my forms are not open. Thx. in advance.
    Edited by: zahid9999 on Oct 22, 2010 11:10 PM
    Edited by: zahid9999 on Oct 25, 2010 9:54 PM

    Dear;
    I have take the help form your post and also from this post that I have found it.
    After upgrading OAS to the latest patch 3 ( 10.1.2.3 ) we ran into a problem while using WEBUTIL. When using a webutil component from within our forms application , an exception is Thrown in to the java console and nothing seems to happen in the Form itself.
    The error message thrown :
    Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError:
    oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
    at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
    at oracle.forms.handler.UICommon.instantiate(Unknown Source)
    at oracle.forms.handler.UICommon.onCreate(Unknown Source)
    at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
    at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    This is due to the fact that the frmwebutil.jar used in a earlier version is not compiled against the new OAS 10.1.2.3 frmall.jar version. As a result this exception is thrown.
    The solution to this is to extract the orginal complid “frmwebutil.jar” from the OAS 10.1.2.3 installation files and overwrite the frmwebutil.jar currently used. To extract the GOOD frmwebutil.jar browse threw the installation path towards this point “Disk1\stage\Patches\oracle.developer.forms.builder\10.1.2.3.0\1\DataFiles\”
    Extract the this jar as followed :
    $ORACLE_HOME\jdk\bin\jar xf webutil.2.2.jar frmwebutil.jar
    Rename the frmwebutil.jar0 to frmwebutil.jar and overwrite the current version used which most likely can be found here “$ORACLE_HOME\forms\java”.
    This solved the problem for me !
    Thx................................

  • FC form did not open on multiple users' computers

    In our school computer lab this afternoon, 12 students tried to access an embedded FC form at the same time and it did not open. All they saw was the "Last modified..." message, but no form. The Internet connection was good as other parts of the site where the form is embedded were working fine, and strangely, the form was working on my computer, even after repeated refreshes. All computers are connected by wire to the same network. I also tried to open it on another student computer and it did not appear. When the students left, I refreshed that computer and the form was there. Any idea what could be going on?

    Please go through following link :
    http://ajinkya-vichare.blogspot.com/2010/11/renewed-webutil-jar-files-after.html
    i hope it will help you.
    Regards,
    Ajinkya

  • HBR sequence on data form does not execute when Planning data form is saved

    Has anyone experienced this issue before in Planning? Below I have included the scenario and what has been attempted to correct the situation.
    We are using Hyperion Planning/Essbase 9.3.1, sequence contains 3 business rules - 2 executed on the Workforce Cube and 1 transfers totals from Workforce Cube to Main cube. 2 of the BR's contain run-time prompts - 1st BR in the sequence (calculation in Workforce) and 3rd BR in the sequence (transfer of Workforce totals to Main). We are using Projects to assign access priviledges to the BR's and sequences. All 3 business rules, as well as the sequence itself, validate successfully in the admin services console.
    In Planning the data form contains BR Properties to "Save on Exit", "Use members on data form" and "Hide prompt". Have tried removing BR from data form, then put BR back on data form. Also tried building a new sequence in EAS console and attaching that BR to the existing data form. Neither of these attempts were successful. Tried building an entirely new data form with the newly created sequence, still unsuccessful. Was able to execute the sequence successfully when processed from the Tools -> Business Rules menu. Sequence was once again successful when I tried modifying the data form to remove property "Hide prompt". Problem with leaving the form in that state is, our users would not know which Planning server they were on as they access the Planning application through Workspace and we currently have 2 application servers in this environment - so essentially they have a 50/50 chance of selecting the correct server.
    We have this same setup in another environment where the execution of the sequence on the data form works successfully. We have compared everything that I can think of and it all appears the same in both environments - in fact this used to be successful in this environment, but all of a sudden stopped working earlier this year - we have not applied any patches or upgrades to either environment. Do not know if this is relevant or not, but we do currently utilize Netscaler in both of these environments.
    Any experiences with this type of situation or suggestions at this point would be greatly appreciated.

    I don't have a solution for you but more steps to solve the problem
    You are ultimately on the right track in some ways but break it down into it's components.
    The problem could like in the business rule, the form connection, the variables, even the order of operations could all be in play.
    So I would strip this baby down to its bare bones then build it back up.
    1) Run the business rule. Each one separately and only after the previous ones is complete without variables and without touching the form
    Is it successful: go to 2
    If it isn't successful: trouble shoot the calc and or try running in EAS natively to see if that gives you ideas
    2) Run the calc outside the form but with variables included. Did it prompt you correctly.
    Is it successful: go to 3
    If it isn't. What is wrong with the variable
    3) Now attach it to the form but don't hide the prompts
    Still good go to 4
    4) hide the prompts and run on save
    And if it fails on step four then it's not picking up the right variables in the prompt. And you need to look at why it wouldn't grab the right item.
    This will isolate your problem for you and give you steps to fix it. Ultimately 99% of the time something did change in the structure for example that is impacting the calc. And when you isolate the problem this will reveal itself quite quickly.

  • Urgent: executeQueryForCollection does not execute query for collection

    Some ViewLink detail views do not refresh when the master RSI navigates.
    Instead, it seems that a cached query collection is used.
    How can we control this behaviour? Under what circumstances does the rowset re-use an old QueryCollection instead of re-executing the query?
    It seems to work for some detail VOs but I cannot find a difference between the working and non-working VLs and VOs.
    This is a duplicate of
    Question about row-level ViewLink refresh
    More information is posted there.
    Thanks,
    Sascha

    Hi Sung,
    thanks for your answer. But I still don't get it.
    It's so erratic.
    I have a worklist with --- say 10 rows.
    Then:
    I navigate to every row and then back to the first row.
    Now I start an integrated application (with its own transaction and database connection) that produces a new detail row.
    I refresh the worklist, navigate back to the row.
    Then I go to the next row and repeat the same.
    Now, sometimes I can do all the stuff after "Then:" 100 times and it works every time. The detail shows the newly added row.
    Sometimes it works just 4 times, then it simply stops working. The newly added rows are not fetched.
    So what's the plan? Why does it work sometimes, and sometimes it doesn't?
    Why does it work for some ViewLinks and not for others?
    Second example: I have a tree binding. The top node has 4 children. Of course, JUTreeBinding uses RL-VLs to build the tree.
    Two of those children detail VOs show the problem all the time, the other two NEVER EVER.
    What's the plan? Why does it work for some VOs and not for the others?
    If this is really by design (I doubt it judging by the flakyness), then that means for us: get rid of ALL ViewLinks and replace them with this listener scheme. Is this really intended? This would be a nightmare. I cannot use VLs and listeners in parallel. How do I know that whether the VL already caused the execution -- this really happens! -- or not?? Is the solution to execute always twice? Where's the reduction in resource consumption then?
    What's the point in caching the query collection of 5 hours ago? Data can change in the DB in the meantime, can it?
    I tried to produce a test application based on Scott/Tiger but failed, because there, the VLs re-executed the query EVERY SINGLE TIME. No matter what changes I made with TOAD in the tables. Is this a bug then???
    And there is no way (setting, property) to control this?
    I am sorry, but I cannot believe that this is really intended. The idea is so ... weird.
    Sascha

  • My Form did not run

    hi
    i tried to buidl a test form with forms builder 11g
    when i'm trying to start (execute) the form
    i had blank page in the ie
    but in the WLS_FORMS i had this
    ====================
    17/10/2009 03:04:07 ع oracle.dms.wls.DMSServletFilter doFilter
    WARNING: The execution context put in place at the start of the request, 0000IHY
    aGkdFGBWFLznJ8A1AqRwx00000C,0, is not the execution context in place at the end
    of the request, null.
    ====================
    i'm testing with
    ie ver 8
    weblogic server 11g
    database 11g
    thank you

    Hi,
    Are you able to see the applet but not the form? If yes, try to run the test form
    http://hostname:port/forms/frmservlet?
    and see if that is working fine.
    You can open the java console from the system tray (where the clock is available - bottom right corner - there would be a java icon, and right click on that to invoke the console).
    -Arun

  • SQL*plus not executing query

    Hello,
    I am new to sqlplus and I am trying to get some queries running off of an ARCH linux box that I have.
    The install went ok and I can get sqlplus running and connect to my oracle DB. However when I enter something as easy as "select * from REASON" hit enter, all i get is a "2" on the next line
    (screenshot http://imgur.com/KvTyD.jpg)
    Is this a config issue on my sqlplus or am i Just not qualified. Any help is appreciated. thanks

    >
    I am new to sqlplus and I am trying to get some queries running off of an ARCH linux box that I have.
    The install went ok and I can get sqlplus running and connect to my oracle DB. However when I enter something as easy as "select * from REASON" hit enter, all i get is a "2" on the next line
    (screenshot http://imgur.com/KvTyD.jpg)
    Is this a config issue on my sqlplus or am i Just not qualified. Any help is appreciated. thanks
    >
    SQL*Plus is expecting input from you; you terminate the statement by putting a forward slash or semi-colon just after your statement.
    select * from REASON
    /OR
    select * from REASON;Regards,
    Phiri

  • Execute Query on form opening

    Hi,
    I am developing an application....in that application I have two forms...one is Form A and the other one is Form B ...
    Scenario Is ...Form A has a detail block with the fields like VOUCHERNO, DATE, AMOUNT. I want user to double click on FORM A'S detail block and it should pick that VOUCHERNO (read in global variable ..ive done this already) ...and on FORM 'B' which is a voucher maintenance form...contains that VOUCHER'S MASTER BLOCK and VOUCHER DETAIL BLOCK...fill that voucher no from global variable and automatically EXECUTE QUERY to bring the details of that voucher in form b's detail block.
    My problem is that on NEW FORM INSTANCE of form B ive checked the record status its 'NEW' ..whenever I move the global variable value in voucher no for Form B to execute query it says WANT TO SAVE CHANGES ? YES NO CANCEL...even though I've used clear_form(no_validate)...ive used ENTER_QUERY also...but the problem is remain the same...please help and tell me how to do this. Thanks

    create a PRE QUERY in Form B. There you use the global-variable
    use the query-technique of my one-time-timer http://talk2gerd.blogspot.com/2007/01/one-time-timer.html
    PRE QUERY:
    BEGIN
      IF :global.nameOFglobal IS NOT NULL THEN
        :EMP.ENAME := :global.nameOFglobal;
      END IF;
    END;try it
    Gerd

  • I just purchased adobe so I can convert my document to pdf form..did not work..

    I just purchased adobe to convert my document to pdf form did not work...shows only one word or like a link and nothing happens if I press the link. I have samsung galaxy 4 phone.

    ballerina701 wrote:
    I just purchased adobe...
    Purchased what?  There are several products that can convert to PDF.

Maybe you are looking for