Property of AutoSubmit causing the query to run.

Hello Gurujis!

10.1.3.1 with JSF + ADF + EJB 3.0 using JDev stack.

I have an inputTextBox whose property Autosubmit (due to a ValueChangeListener) is originally a MethodIterator for a request to fire and run a query each time the ValueChangeListener is triggered.

When I try setting the RefreshCondition of the MethodIterator ${! adfFacesContext.postback}, my query no longer works when I click on the button that you run the query.

Is there a way to put the RefreshCondition to something as "whenever a specific button is clicked" or "not by activating a ValueChangeListener?

I seem to have a fundamental misunderstanding of how it works and any help would be greatly appreciated.

Thank you

Hello

sounds all so weired that you declare so I guess a specific problem of implementation. If you set ${! adfFacesContext.postback} then the method runs only on applications for publication, which is not what brings the button (the button behavior is to use the postbacks).

The simplest thing to try is to set a session attribute using a setActionListener on the button.

in: #{'good'}
in: #{sessionScope.condition}

Then the State of refreshment of the action value

#{sessionScope.condition 'good' eq}

However, this might solve the problem but can only fix a failed implementation based on a false assumption

Frank

Tags: Java

Similar Questions

  • Void query causes the query to run forever

    Here are the two original requests that I started with. They refer to the correct when executed separately results but when combined it causes the query to run and run and run and run forever. I try to delete the query results of query 2 1 with a statement of "not in". 3 is the query that runs always with this 'not in' statement that runs forever. Please help me! *!

    -Request 1
    SELECT DISTINCT
    S.NAME,
    S.RRN,
    RTRIM (LTRIM (S.STREET_NBR) |) ' ' ||
    RTRIM (SUBSTR (S.STREET, 33, 2)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 1, 28)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 29, 4)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 35, 2))) | ' ' ||
    NVL2 (S.UNIT_NBR, ' #',' ') | ' ' ||
    ADDRESS LTRIM (S.UNIT_NBR),
    CITY OF S.CITY_NAME,
    S.STPV_CODE STATE,
    RTRIM (S.ZIP_CODE) |
    '-'||
    S.ZIP_PLUS4 ZIP,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR (S.EXPR_DATE, 'MMDDYY') START_DATE,
    TO_CHAR ((P.EFF_DATE-1), 'MMDDYY') END_DATE.
    TO_CHAR(SYSDATE,'MMDDYY') FILE_DATE,
    ROUND ((-1 * (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT)) * 100) TO BALANCE.
    S.STAT_FLAG,
    MIN (P.SEQ_CTR)
    Of
    THE DISCUS THROW. SUB_SUN S,.
    THE DISCUS THROW. TRN_STP_SUN P,.
    THE DISCUS THROW. TRN_MEM_SUN M.
    (SELECT
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    MIN (SEQ_CTR)
    Of
    THE DISCUS THROW. TRN_DLR_SUN
    WHERE
    TRAN_CODE = 'BILL' AND
    EFF_DATE > = TRUNC (SYSDATE)-65
    GROUP BY
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    D SEQ_CTR)
    WHERE
    S.RRN = P.SUB_RRN AND
    S.RRN = M.SUB_RRN AND
    S.RRN = D.SUB_RRN (+) AND
    TRIM (P.PAPR_CODE) = "SS" AND
    S.BILL_CODE NOT IN ("PRTY", "EZCC', 'EMPB', 'CTCE', 'NSPC", "NYET", "NIEF", "SAMP", "ALTP", "COMP", "CMHC", "MAIL") AND
    TRIM (S.STAT_FLAG) = 'F' AND
    P.TYPE = 'P' AND
    P.SPRS_CODE IN ('NOPY","CHMD","SCOUT","TIME") AND
    TRUNC (P.EFF_DATE) BETWEEN TRUNC (SYSDATE)-43 AND TRUNC (SYSDATE)-29 AND
    S.NAME_FLAG! = 'B' AND
    (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + (S.DLVF_AMT)) <-6.99 AND
    M.CODE! = 'DISP' AND
    NOT EXIST
    (SELECT
    Q.HOME_PHONE
    Of
    THE DISCUS THROW. SUB_SUN Q
    WHERE
    S.HOME_PHONE = Q.HOME_PHONE AND
    Q.SUBT_CODE IN ('HARD DRIVES', 'HDLV') AND
    Q.STAT_FLAG = 'C')
    GROUP BY
    S.NAME,
    S.RRN,
    RTRIM (LTRIM (S.STREET_NBR) |) ' ' ||
    RTRIM (SUBSTR (S.STREET, 33, 2)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 1, 28)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 29, 4)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 35, 2))) | ' ' ||
    NVL2 (S.UNIT_NBR, ' #',' ') | ' ' ||
    LTRIM (S.UNIT_NBR),
    S.CITY_NAME,
    S.STPV_CODE,
    RTRIM (S.ZIP_CODE) |
    '-'||
    S.ZIP_PLUS4,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR (S.EXPR_DATE, 'MMDDYY'),
    TO_CHAR ((P.EFF_DATE-1), 'MMDDYY').
    TO_CHAR (SYSDATE, 'MMDDYY'),
    (-1 * (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT) * 100),
    S.STAT_FLAG
    ORDER BY 10;

    -The application 2
    Select
    THE DISCUS THROW. TRN_STP_SUN. SUB_RRN
    Of
    THE DISCUS THROW. TRN_STP_SUN,
    (select SUB_RRN, min (seq_ctr) MINSEQ, SRCE_CODE1 of DISCUS. SUB_RRN TRN_STP_SUN, SRCE_CODE1 group) MIN_ROWS
    where
    THE DISCUS THROW. TRN_STP_SUN. MIN_ROWS = SUB_RRN. SUB_RRN
    And DISCUS. TRN_STP_SUN. MIN_ROWS = SRCE_CODE1. SRCE_CODE1
    And DISCUS. TRN_STP_SUN. MIN_ROWS = SEQ_CTR. MINSEQ
    And DISCUS. TRN_STP_SUN. SRCE_CODE1 IN ('FREE', 'ALTP","CANADA","E","DENY","DOOR")
    And TRUNC (DISCUS. TRN_STP_SUN. EFF_DATE) BETWEEN TRUNC (SYSDATE)-460 AND TRUNC (SYSDATE)-0
    And DISCUS. TRN_STP_SUN. TYPE = S"

    Request 3 (Broken query)
    SELECT DISTINCT
    S.NAME,
    S.RRN,
    RTRIM (LTRIM (S.STREET_NBR) |) ' ' ||
    RTRIM (SUBSTR (S.STREET, 33, 2)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 1, 28)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 29, 4)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 35, 2))) | ' ' ||
    NVL2 (S.UNIT_NBR, ' #',' ') | ' ' ||
    ADDRESS LTRIM (S.UNIT_NBR),
    CITY OF S.CITY_NAME,
    S.STPV_CODE STATE,
    RTRIM (S.ZIP_CODE) |
    '-'||
    S.ZIP_PLUS4 ZIP,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR (S.EXPR_DATE, 'MMDDYY') START_DATE,
    TO_CHAR ((P.EFF_DATE-1), 'MMDDYY') END_DATE.
    TO_CHAR(SYSDATE,'MMDDYY') FILE_DATE,
    ROUND ((-1 * (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT)) * 100) TO BALANCE.
    S.STAT_FLAG,
    MIN (P.SEQ_CTR) SEQ_CTR
    Of
    THE DISCUS THROW. SUB_SUN S,.
    THE DISCUS THROW. TRN_STP_SUN P,.
    THE DISCUS THROW. TRN_MEM_SUN M.
    (SELECT
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    MIN (SEQ_CTR)
    Of
    THE DISCUS THROW. TRN_DLR_SUN
    WHERE
    TRAN_CODE = 'BILL' AND
    EFF_DATE > = TRUNC (SYSDATE)-65
    GROUP BY
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    D SEQ_CTR)
    WHERE
    S.RRN = P.SUB_RRN AND
    S.RRN = M.SUB_RRN AND
    S.RRN = D.SUB_RRN (+) AND
    TRIM (P.PAPR_CODE) = "SS" AND
    S.BILL_CODE NOT IN ("PRTY", "EZCC', 'EMPB', 'CTCE', 'NSPC", "NYET", "NIEF", "SAMP", "ALTP", "COMP", "CMHC", "MAIL") AND
    TRIM (S.STAT_FLAG) = 'F' AND
    P.TYPE = 'P' AND
    * S.RRN NOT IN (select + _ *)
    DISCUS. TRN_STP_SUN. SUB_RRN_ *.
    de_ *
    DISCUS. TRN_STP_SUN,_ *.
    + (select SUBNRNS, min (seq_ctr) MINSEQ, SRCE_CODE1 de DISCUS.) SUB_RRN TRN_STP_SUN, SRCE_CODE1 group) MIN_ROWS + _ *.
    _ *
    DISCUS. TRN_STP_SUN. MIN_ROWS = SUB_RRN. SUB_RRN_ *.
    And DISCUS. TRN_STP_SUN. MIN_ROWS = SRCE_CODE1. SRCE_CODE1_ *.
    And DISCUS. TRN_STP_SUN. MIN_ROWS = SEQ_CTR. MINSEQ_ *.
    And DISCUS. TRN_STP_SUN. SRCE_CODE1 IN ('FREE', 'ALTP","CANADA","E","DENY","DOOR")_ *.
    And DISCUS. TRN_STP_SUN. TYPE = the of '_ *.
    and discus.trn_stp_sun.sub_rrn is not null) *AND _
    P.SPRS_CODE IN ('NOPY","CHMD","SCOUT","TIME") AND
    TRUNC (P.EFF_DATE) BETWEEN TRUNC (SYSDATE)-35 AND TRUNC (SYSDATE)-29 AND
    S.NAME_FLAG! = 'B' AND
    (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + (S.DLVF_AMT)) <-6.99 AND
    M.CODE! = 'DISP' AND
    NOT EXIST
    (SELECT
    Q.HOME_PHONE
    Of
    THE DISCUS THROW. SUB_SUN Q
    WHERE
    S.HOME_PHONE = Q.HOME_PHONE AND
    Q.SUBT_CODE IN ('HARD DRIVES', 'HDLV') AND
    Q.STAT_FLAG = 'C')
    GROUP BY
    S.NAME,
    S.RRN,
    RTRIM (LTRIM (S.STREET_NBR) |) ' ' ||
    RTRIM (SUBSTR (S.STREET, 33, 2)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 1, 28)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 29, 4)) | ' ' ||
    RTRIM (SUBSTR (S.STREET, 35, 2))) | ' ' ||
    NVL2 (S.UNIT_NBR, ' #',' ') | ' ' ||
    LTRIM (S.UNIT_NBR),
    S.CITY_NAME,
    S.STPV_CODE,
    RTRIM (S.ZIP_CODE) |
    '-'||
    S.ZIP_PLUS4,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR (S.EXPR_DATE, 'MMDDYY'),
    TO_CHAR ((P.EFF_DATE-1), 'MMDDYY').
    TO_CHAR (SYSDATE, 'MMDDYY'),
    (-1 * (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT) * 100),
    S.STAT_FLAG,
    P.SEQ_CTR
    ORDER BY 10;

    Yes, your problem is that the not exists clause. Try:

    SELECT DISTINCT
    S.NAME,
    S.RRN,
    RTRIM(LTRIM(S.STREET_NBR) || ' ' ||
    RTRIM(SUBSTR(S.STREET,33,2)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,1,28)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,29,4)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,35,2))) || ' ' ||
    NVL2(S.UNIT_NBR, '#', ' ') || ' ' ||
    LTRIM(S.UNIT_NBR) ADDRESS,
    S.CITY_NAME CITY,
    S.STPV_CODE STATE,
    RTRIM(S.ZIP_CODE) ||
    '-'||
    S.ZIP_PLUS4 ZIP,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR(S.EXPR_DATE,'MMDDYY') START_DATE,
    TO_CHAR((P.EFF_DATE-1),'MMDDYY') END_DATE,
    TO_CHAR(SYSDATE,'MMDDYY') FILE_DATE,
    ROUND((-1*(S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT))*100) BALANCE,
    S.STAT_FLAG,
    MIN(P.SEQ_CTR) SEQ_CTR
    FROM
    DISCUS.SUB_SUN S,
    DISCUS.TRN_STP_SUN P,
    DISCUS.TRN_MEM_SUN M,
    (SELECT
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    MIN(SEQ_CTR)
    FROM
    DISCUS.TRN_DLR_SUN
    WHERE
    TRAN_CODE = 'BILL' AND
    EFF_DATE >= TRUNC(SYSDATE)-65
    GROUP BY
    SUB_RRN,
    TRAN_CODE,
    EFF_DATE,
    SEQ_CTR)D,
    (select distinct
    DISCUS.TRN_STP_SUN.SUB_RRN
    from
    DISCUS.TRN_STP_SUN,
    (select SUB_RRN, min(seq_ctr) MINSEQ, SRCE_CODE1 from DISCUS.TRN_STP_SUN group by SUB_RRN, SRCE_CODE1) MIN_ROWS
    where
    DISCUS.TRN_STP_SUN.SUB_RRN = MIN_ROWS.SUB_RRN
    And DISCUS.TRN_STP_SUN.SRCE_CODE1 = MIN_ROWS.SRCE_CODE1
    And DISCUS.TRN_STP_SUN.SEQ_CTR = MIN_ROWS.MINSEQ
    And DISCUS.TRN_STP_SUN.SRCE_CODE1 IN ('FREE','ALTP','ELSN','EMPL','NIE','DOOR')
    And DISCUS.TRN_STP_SUN.TYPE = 'S'
    And DISCUS.TRN_STP_SUN.SUB_RRN is not null) Z
    WHERE
    S.RRN = P.SUB_RRN AND
    S.RRN = M.SUB_RRN AND
    S.RRN = D.SUB_RRN(+) AND
    TRIM(P.PAPR_CODE) = 'SS' AND
    S.BILL_CODE NOT IN ('PRTY','EZCC','EMPB','EMPP','NSPC','NIET','NIEF','SAMP','ALTP','COMP','SCHL','MAIL') AND
    TRIM(S.STAT_FLAG) = 'F' AND
    P.TYPE = 'P' AND
    P.SPRS_CODE IN ('NOPY','CHMD','OTHR','TIME') AND
    TRUNC(P.EFF_DATE) BETWEEN TRUNC(SYSDATE)-35 AND TRUNC(SYSDATE)-29 AND
    S.NAME_FLAG != 'B' AND
    (S.BALANCE_AMT + (S.BALANCE_AMT*.06) + (S.DLVF_AMT)) < -6.99 AND
    M.CODE != 'DISP'  and
    NOT EXISTS
    (SELECT
    Q.HOME_PHONE
    FROM
    DISCUS.SUB_SUN Q
    WHERE
    S.HOME_PHONE = Q.HOME_PHONE AND
    Q.SUBT_CODE IN ('HDDS','HDLV') AND
    Q.STAT_FLAG = 'C')
    AND Z.SUB_RRN (+) = S.RRN
    AND Z.SUB_RRN is null
    GROUP BY
    S.NAME,
    S.RRN,
    RTRIM(LTRIM(S.STREET_NBR) || ' ' ||
    RTRIM(SUBSTR(S.STREET,33,2)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,1,28)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,29,4)) || ' ' ||
    RTRIM(SUBSTR(S.STREET,35,2))) || ' ' ||
    NVL2(S.UNIT_NBR, '#', ' ') || ' ' ||
    LTRIM(S.UNIT_NBR),
    S.CITY_NAME,
    S.STPV_CODE,
    RTRIM(S.ZIP_CODE) ||
    '-'||
    S.ZIP_PLUS4,
    S.HOME_PHONE,
    S.ACCT_NBR,
    TO_CHAR(S.EXPR_DATE,'MMDDYY'),
    TO_CHAR((P.EFF_DATE-1),'MMDDYY'),
    TO_CHAR(SYSDATE,'MMDDYY'),
    (-1*(S.BALANCE_AMT + (S.BALANCE_AMT*.06) + S.DLVF_AMT)*100),
    S.STAT_FLAG,
    P.SEQ_CTR
    ORDER BY 10;
    
  • How export (unload) result of the query without running query on sql developer

    Hello

    I want to know how export (unload) result of the query without running query on sql developer.

    I know this way.
    1. execution of query
    2. click on "Download" on the results tab
    http://i.stack.imgur.com/CQ4Qb.jpg


    Is he available unload a query result before the race?

    No, but you can do this ask the developer SQL change however, for other users can vote and add weight to the possible future implementation.

    Kind regards
    K.

  • Paramerterized interactive reports - is there a quick fix to stop the query to run when the page is entered before user by clicking OK.

    Example of

    Currently, when the user enters the page interactive report runs (unless the user hitting ' go') and - does no data found because one "parameterized" field is required and the sql is not set to NULL values.

    I'm looking for a way to not run a query at all -until the user hits go for the first time on the page - each time that they re - enter the page in the same session, it would be OK to auto submit the query.

    I believe that I can install a hidden item and check on my interactive report E1 not null.  Then create a 'calculation' on 'after bid"that would set this value to a value - say 1.

    I can't seem to be able to get this to work however.

    In my interactive report - I wonder what 'type condition' should I use.  Any thoughts would be greatly appreciated.

    You have two regions, research and order Type. You have items in the two regions. However, I think you are talking about the area "Search" when you say 2 parameters.

    If you want to just display IR when the user clicks on 'Go' or click on 'Go' earlier in the same session, then I suggest,

    • Create a new item of the hidden page, P6_SHOW_IR
    • Create page process that runs when the user clicks on the button 'Go '. Here to update the value of P6_SHOW_IR 'Y '.
    • Create a branch that connects to the same page with "State of Session saving" checked (connections conditional, when click on the button "Go")
    • Set "Conditions" for the region of infrared, so it displays only when the value of the P6_SHOW_IR element is Y

    Kind regards

    Hari

  • The query will run Oracle 10 g?

    Hello

    This is the structure of the table emp and dept. There is a request on this basis, please let me know if this request is going to work?

    EMP table
    =========
    EMPID NUMBER PRIMARY KEY,
    NAME
    ADDRESS

    DEPT table
    ==========
    DEPTNO NUMBER,
    DEPTNAME

    Select * from emp where empid in (select empid from dept where dept_no = 10);

    Nordik wrote:
    Hello

    This is the structure of the table emp and dept. There is a request on this basis, please let me know if this request is going to work?

    EMP table
    =========
    EMPID NUMBER PRIMARY KEY,
    NAME
    ADDRESS

    DEPT table
    ==========
    DEPTNO NUMBER,
    DEPTNAME

    Select * from emp where empid in (select empid from dept where dept_no = 10);

    Yes, it will run.

    Oracle must first check if the EMPID column exists in the DEPT table.
    If it's not, then it checks for columns in the outer query.

    And in this case, because you do not Alias of Table. An Alias has been used, the column would have been checked only in the table with an alias.

    In addition, you will lose everything except to check the query on a database, would you?

    Pretty easy to verify this, right?

    create table test_table (col1 number, col2 varchar2(5));
    
    create table test_table2 (col1 number);
    
    select *
      from test_table t1
     where col2 in (select col2 from test_table2 t2 where t1.col1 = t2.col1);
    
    no rows returned
    
  • Get the columns returned by the query without running

    I have a table that stores SELECT queries in a column. I developed a .net application where the interesting thing for the user is what columns of the following SELECT statement returns. Currently, I load the sql as an OracleCommand object CommandText and fill a DataTable using an OracleDataAdapter object. I then read the names of the columns of the table filled. The data is not fully used. Requests can take up to 15 seconds to run. Because I do not used the data, I was hoping to eliminate the actual recovery of data and reduce the time needed to retrieve the records. Is it possible to analyze the statement for the colunm names with it makes the request for enforcement? Thank you.

    I imagine that there is a way you can search in the data dictionary, but you can also try to add 'WHERE 1 = 0' If you want the metadata.

    It will be useful,
    Greg

  • Failed to set the specified property while the session is running - 6552

    I created a program to run several different scripts.  The first time through my program works perfectly.  The second time through (without reset of the card, or re - download vectors etc.) but it fails.

    As he tried to run the following command:

    niHSDIO_ConfigureDataVoltageCustomLevels (DIO3_acq_session, 11-13, 18, 19', 1.8, 2.0)

    I have the following error:

    "Specified property cannot set while the session is running.
    Set the property before the opening of the session, or abandon the session before setting the property. »

    Any suggestions on what could happen?  Alternatively, any advice for troubleshooting techniques to learn more about the problem?

    I found my error:

    Several of my scripts include a list of markers so that the records are captured, and I download the recordings captured later.  Whenever I'm about to run a script that has files, I made the "niHSDIO_ConfigureAcquisitionSize" function in order to identify the size and quantity of records.

    However, the first script in my program that I run I don't need records captured, so I didn't bother to call the function "niHSDIO_ConfigureAcquisitionSize".

    So, first map like the default setting for the number of records for the first script (in which I do not bother with all the captured records), but then the subsequent pass in my stream of test cards do not like the fact that I have had set up for many more records that he caught (lack of markers / triggers).

    It's a little confusing to explain, but I found the problem, so any help is needed.

  • Is it possible to get the query Details of the old run from oracle?

    Is it possible to get the query Details of the old run from oracle? I mean, I wanted to know the details of a request executed work, I know the time taken by the query to run? Is it possible to know?

    Yes, it is possible to obtain, provided you use enterprise edition version + additional license *. A few tables to get information of are:

    dba_hist_sqltext

    dba_hist_sqlstat

    dba_hist_snapshot

    dba_hist_sql_plan

    dba_hist_active_sess_history

  • How do I check how much time running on the query server

    Hello

    I work as a junior DBA. The guys on the team application gives the SID from v$ session and asking me how long running this query.
    I'm connecting ther server and get the PID and cpu utilization on unixbox, but cannot get it question time.
    Pls help help get duration/how running queries. Verion Oracle's 9i.

    SQL > select * from v version $;

    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE Production 9.2.0.8.0
    AMT for Solaris: 9.2.0.8.0 - Production Version
    NLSRTL Version 9.2.0.8.0 - Production

    Kind regards
    Vincent

    >
    This means 113547 minutes. Right?
    >

    Yes, it's true. But it is not a few Minutes but microseconds. ELAPSED_TIME is microseconds (10g or higher. Not sure about 9i. Please check the doc)

    >
    Number of executions increasing very fast now its 29999. with in wrigting mail its increase. to get the output why this query execution of this many times.
    >

    This means there are a few sessions by running the same query (which is fine). Only, you will need to tell us why the query is run that many times :) Maybe, you need it!

    Published by: user12035575 on September 11, 2011 14:38

  • in the SQL query inserting a record - it will appear on the result of the query

    Hello
    Oracle 10g SELECT-query running ca 10 seconds and contains joins several tables on the database connection.
    The 3rd second performance a new record is inserted into another connection at the base and are committed to the database, the 3rd fileters satisgy the query SELECT query.
    Wil ogical inserted record 3 then appear on the query results?
    THX.

    N ° Oracle can see the data that exist at the start of the sql statement.

    He can't see the data in another session, unless the query is run again.

  • NoAvailableServersException when you run the query in applications

    I only run the UI applications connected to a carrier co-located in my distributed system. When I run a query of the applications I have a NoAvailableServersException. The trace of the full stack of the applications log is below. I can run the same query successfully in gfsh on the same machine, the I'm running the applications. I' wvv looked through the applications documentation but can't find problems with my setup. Please let me know if you need more information.

    Tom

    [06/02/2013 INFO 17:39:19.135 IS main] Manual applications path is C:\vmware\vfabric-gemfire\vFabric_GemFire_70_b38623\tools\DataBrowser\docs\index.html
    [06/02/2013 INFO 17:39:19.512 IS main] Start interviewing for the results link to JMX Manager operation.
    [17:39:19.692 JMXCallExecutorThread IS SERIOUS 2013/02/06] An exception occurred while connecting to the mark on the host: idcprdgflocator2.carecorenational.com and port: 1099: com.gemstone.gemfire.management.ManagementException: Locator has failed. It is normal if the index was arrested. If it wasn't not check his diary for exceptions.
    [06/02/2013 INFO 17:39:19.692 IS JMXCallExecutorThread] Try to connect to a JMX Manager on the host: idcprdgflocator2.carecorenational.com and port: 1099
    [06/02/2013 INFO 17:39:19.793 IS JMXCallExecutorThread] Connected to the Gemfire distributed system
    [06/02/2013 INFO 17:39:21.666 IS JMXCallExecutorThread] Added members: ccnscupadsgf01 (10552) < v14 >: 4709
    [06/02/2013 INFO 17:39:21.679 IS JMXCallExecutorThread] Updated the refreshInterval to 60000
    [06/02/2013 INFO 17:39:23.594 IS JMXCallExecutorThread] GemFire (7.0) Cache is created. Support PDX is available.
    [06/02/2013 INFO 17:39:23.710 IS JMXCallExecutorThread] GemFire jar in the classpath version: 7.0
    [06/02/2013 INFO 17:39:23.710 IS JMXCallExecutorThread] Is the system of GemFire version: 7.0
    [06/02/2013 INFO 17:39:23.710 IS JMXCallExecutorThread] The LIMIT clause is supported by this version of the GemFire system: false
    [06/02/2013 INFO 17:39:23.711 IS JMXCallExecutorThread] The user is connected successfully to JMX Manager to idcprdgflocator2.carecorenational.com: 1099
    [06/02/2013 INFO 17:40:01.633 IS query run] Pool preparation for members:
    [06/02/2013 SERIOUS, 17:40:04.692 IS run query] Error occurred during execution of the query: com.gemstone.gemfire.mgmt.DataBrowser.controller.QueryConfigurationPrms@5608a6fc com.gemstone.gemfire.mgmt.DataBrowser.query.QueryExecutionException: com.gemstone.gemfire.cache.client.NoAvailableServersException
    at com.gemstone.gemfire.mgmt.DataBrowser.query.QueryUtil.executeQuery(QueryUtil.java:74)
    at com.gemstone.gemfire.mgmt.DataBrowser.connection.internal.GemFireClientConnectionImpl.executeQuery(GemFireClientConnectionImpl.java:122)
    to com.gemstone.gemfire.mgmt.DataBrowser.controller.internal.QueryExecutionHelper$ QueryExecutor.run (QueryExecutionHelper.java:169)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.gemstone.gemfire.cache.client.NoAvailableServersException
    at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(ConnectionManagerImpl.java:246)
    at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:135)
    at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:114)
    at com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:638)
    at com.gemstone.gemfire.cache.client.internal.QueryOp.execute(QueryOp.java:51)
    at com.gemstone.gemfire.cache.client.internal.ServerProxy.query(ServerProxy.java:81)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.executeOnServer(DefaultQuery.java:282)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:213)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:195)
    at com.gemstone.gemfire.mgmt.DataBrowser.query.QueryUtil.executeQuery(QueryUtil.java:70)
    ..
    . 3 more
    [06/02/2013 SERIOUS, 17:40:04.694 IS query result processor] Error executing query: com.gemstone.gemfire.mgmt.DataBrowser.query.QueryExecutionException: com.gemstone.gemfire.cache.client.NoAvailableServersException
    at com.gemstone.gemfire.mgmt.DataBrowser.query.QueryUtil.executeQuery(QueryUtil.java:74)
    at com.gemstone.gemfire.mgmt.DataBrowser.connection.internal.GemFireClientConnectionImpl.executeQuery(GemFireClientConnectionImpl.java:122)
    to com.gemstone.gemfire.mgmt.DataBrowser.controller.internal.QueryExecutionHelper$ QueryExecutor.run (QueryExecutionHelper.java:169)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.gemstone.gemfire.cache.client.NoAvailableServersException
    at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(ConnectionManagerImpl.java:246)
    at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:135)
    at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:114)
    at com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:638)
    at com.gemstone.gemfire.cache.client.internal.QueryOp.execute(QueryOp.java:51)
    at com.gemstone.gemfire.cache.client.internal.ServerProxy.query(ServerProxy.java:81)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.executeOnServer(DefaultQuery.java:282)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:213)
    at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:195)
    at com.gemstone.gemfire.mgmt.DataBrowser.query.QueryUtil.executeQuery(QueryUtil.java:70)
    ... 3 more

    If you set the gemfire bind-address on the cache server, applications will be able to connect. If a bind-address is not defined in gemfire.properties for a server remote cache, applications unfortunately just silently by default is localhost. This is something that will have to solve. In the meantime, you can work around this by setting the property gemfire bind-address on the cache servers for either the IP address or host name.

  • Error message when I run delete the query in SQL Server 2008.

    Error message when I run delete the query in SQL Server 2008 SP3.

    Error message:

    MSG 0, level 11, State 0, line 0
    A serious error occurred on the current command.  The results, if any, should be discarded.

    I never got any problem since 5 years.

    Please let me know what is the cause of the problem.

    You can get a response better/faster if repost you your question in the instances of SQL Server dedicated from Microsoft here:

    http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .

    Thank you.   :)

    (I'm sorry, but I can't move this thread for you because the two forums are working on separate platforms)

  • I've had my laptop for a year, and it is currently running Windows 7 Professional. I recently had a problem that causes the black screen

    I've had my laptop for a year, and it is currently running Windows 7 Professional. I recently had a problem that causes the black screen randomly with the screen turned on (I mean everything is black and I can't see a thing, but can still see the light of the LCD screen). This often happens when I open/close a window, browsers web example, the records, or even during the boot. I want to know how to solve this problem and if the upgrade to Windows 10 works for her.

    Hi Haolin,

    Thanks for posting your query in Microsoft Community.

    I do not understand that the screen goes black randomly, and I'll be happy to answer your query. Let me ask you;

    • What is the brand and model of the computer?
    • Remember to no particular change in the computer before the show?
    • When was the last time it worked?

    Video card problems are the most common cause of this problem.

    Try the following troubleshooting procedures in the order. If the steps described in the first procedure does not resolve the problem, continue to the next procedure.

    Step 1: Reinstall your video driver

    1. Right click on the bar tasks and then click Start Task Manager.

    2. Click on the processes tab, click explorer.exe, and then click end process.

    3. Click file, and then click new task (run).

    4. In the text box open, type explorer.exe, and then click OK.

    5. Click on the Start button , go into the Device Manager in the start search box, and then, in the search results, click on the peripheral Manager.
    6. Double-click on display the cards, right click the display device, click Update driver software, and then follow the steps in the wizard that appears. You can also visit the website of the manufacturer of the computer support and install the latest available graphics cards for the same model of computer you have.

    Note: After the driver is re-installed, you may need to restart your computer to complete the installation. You may also need to adjust the resolution of the display to its previous value. For more information, see change your screen resolution.

    Step 2: Search for registry problems

    1. Right click on the bar tasks and then click Start Task Manager.

    2. Click on the processes tab, click explorer.exe, and then click end process.

    3. Click fileand then click new task (run)

      In the text box open, type explorer.exe, and then click OK.

    4. Click on the Start button , type regedit in the search box, and then, in the search results, click on regedit.exe.
    5. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    6. Click to select the WinLogon key and then in the right pane, click on Shell. The value of shell in the data column must be explorer.exe. If the value of Shell is not explorer.exe, double-click Shell, and then, in the value data text box, type explorer.exe, and then click OK.

    7. Close the registry editor and restart your PC.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: How to back up and restore the registry in Windows

    If this procedure resolves the issue, you are finished. If this is not the case, proceed to the next set of steps.

    Step 3: Start the computer in safe mode and run system restore

    1. Click on the Start button , click the arrow next to Shut Down, and then click restart.
    2. Do one of the following:

      • If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, try again by waiting until the Windows logon prompt appears, and then stop and restart your computer.

      • If your computer has more than one operating system, use the arrow keys to select the operating system you want to start in safe mode, and then press F8.

    3. In the Advanced Boot Options screen, use the arrow keys to select Safe Mode, and then press enter.

    4. Log your computer with a user account with administrator rights. When your computer is in safe mode, you will see marked Safe Mode in the corners of your screen.

    5. Click on the Start button , type "System Restore" in the search box, click System Restore, and then click Next. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    6. Choose a restore point when your PC worked as expected, click Next, and then click Finish.

    7. Restart your computer normally.

    Important: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed after this date are deleted.

    If these steps resolve the issue, you are finished. If not, try to repeat the steps and chooses an older restore point (if available). If that does not resolve the problem, contact your computer manufacturer or the technical support for further assistance.

  • Re-run the query of VO

    Hello world
    First of all I must say that I am a newbie in Alice & jdev and also at this forum. So I ask sorry in advance for maybe a few obvious questions.

    Here you go, I am currently using JDev version: 11.1.2.3.0.
    Scenario: I created an OT and three based on VO. The first VO is used as a form and has a LOV as a field that displays the names of the entities are not currently assigned to any side (available for selection). The other two VO are displayed as tables and each one has a WHERE clause in the query to display the correct data, based on a value of one of the value of fields in tables (i.e. the parts mentioned above).
    What I want to do is to update the content of their iterators correspondents so that they to display up-to-date data (when an entity is assigned to one side or when it is removed or he is available for selection again).

    I use a clove of support for it:

    public class RefreshBean {}
    public RefreshBean() {}
    }

    public String refresh() {}
    DCB = DCBindingContainer
    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding iter = DCB.findIteratorBinding ("SellerVO1Iterator");
    iter.executeQuery ();
    ITER = DCB.findIteratorBinding ("BuyerVO1Iterator");
    iter.executeQuery ();
    ITER = DCB.findIteratorBinding ("PartiesContractsView1Iterator");
    iter.executeQuery ();

    Returns a null value.

    }

    }

    It is called when I press the button Commit (or Rollback).
    Is that for arrays, it works fine, but not for the LOV (PartiesContractsView1Iterator), which she gets updated when the application is redeployed, or when restoring touches (strange).
    The only difference I see in the Commit and Rollback properties (except the resetActionListener for Rollback) is the immediate property which has the value true in Rollback and false in Commit. I tried casually set immediate validation for real, but have only a strange behavior.

    Any help would be appreciated.
    Thnx in advance, Charlotte.

    Published by: Endrik Lelo on 6 June 2013 23:38

    Just to post the last result of my research. Using Rollback like I said would be tricky, and it could cause unknown behavior. So, I found the right solution.

    I've got the VO of the iterator and the Module of the Application. That I called the clearVOCaches of her method.

    This code snippet is added after the iterator I wanted to refresh:

    ViewObject vo = iter.getViewObject ();

    vo.getApplicationModule () .clearVOCaches (null, true);

  • Change the color of the font after running a query

    Hi all

    I need to change the color of the font after running a query. I mean, according to the value of a column to say BRANCH_STATUS , the color of the font of this column will has changed.

    I applied the following on the times-news-block-instance trigger code, but I get all BRANCH_STATUS lines become same color:
    execute_query;
    IF: BRANCH_STATUS = "ONLINE" THEN
    SET_ITEM_PROPERTY ('BRANCH_STATUS', 'r191g223b191', FOREGROUND_COLOR);
    ELSIF: BRANCH_STATUS = "OFFLINE" THEN
    SET_ITEM_PROPERTY ('BRANCH_STATUS', 'R255g0b0', FOREGROUND_COLOR);
    ANOTHER NULL.
    END IF;
    I want to show a different color for different values of ' BRANCH_STATUS *.»

    Sorry, I'm wrong: in point-instance-property, there is no foreground property - set a Visual attribute and use it with

    SET_ITEM_INSTANCE_PROPERTY(..., VISUAL_ATTRIBUTE, 'your_attribute');
    

Maybe you are looking for