MergeEntity not firing

I have been experimenting with 11g ADF and Toplink and have created a simple page that displays the contents of a DB table in an af:table. Everything has been great up until today.
I seem to have an issue with using mergeEntity. persistEntity works as expected (inserting records); however, when I try to update a record with mergEntity everything appears to work, but the row does not get updated.
The table only displays 2 of 5 coulmns; I am updating the bindings of the other three values from the backing bean (the values displayed on screen are not being edited).
I am updating the bindings like so:
JSFUtils.setExpressionValue("#{bindings.inactiveDate.inputValue}", new Date());mergeEntity is being invoked like so:
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("mergeEntity");
operationBinding.execute();methodAction for mergeEntity within the pageDef:
<methodAction id="mergeEntity" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="mergeEntity"
    IsViewObjectMethod="false" DataControl="ODPublicFacadeLocal"
    InstanceName="ODPublicFacadeLocal.dataProvider"
    ReturnName="ODPublicFacadeLocal.methodResults.mergeEntity_ODPublicFacadeLocal_dataProvider_mergeEntity_result">
   <NamedData NDName="entity"
       NDValue="#{bindings.findAllBaseIterator.currentRow.dataProvider}"
       NDType="java.lang.Object"/>
</methodAction>The console logs show the followign when the update methods fires:
client acquired
[EL Finer]: 2010-05-18 15:14:05.221--ClientSession(24977073)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--acquire unit of work: 4697150
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX binding to tx mgr, status=STATUS_ACTIVE
[EL Finest]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadObjectQuery(referenceClass=Base )
[EL Finest]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Merge clone olvims.dispatch.datamodel.Base@10e4b63
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--begin unit of work commit
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commit
[EL Finer]: 2010-05-18 15:14:05.221--UnitOfWork(4697150)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--release unit of work
[EL Finer]: 2010-05-18 15:14:05.221--ClientSession(24977073)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client releasedAs you can see, the update statement does not happen.
Anyone have an idea as to why?
Thanks.

Hi Pedja, thanks for the assist.
The immediate attribute is set to false on the command button.
Using this syntax has the same outcome as before; no change.
JSFUtils.setExpressionValue("#{bindings.findAllBaseIterator.currentRow.dataProvider.inactiveDate}", new Date());My mergEntity method with in my session facade bean is as follows:
public Object mergeEntity(Object entity) {
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    Object workingCopy = uow.readObject(entity);
    if (workingCopy == null)
        throw new RuntimeException("Could not find entity to update");
    Base myBase = (Base)workingCopy;
    System.out.println("uow class <\"+myBase.getInactiveDate()+\">");
    System.out.println("before deepMergeEntity**************");
    uow.deepMergeClone(entity);
    System.out.println("after deepMergeEntity**************");
    uow.commit();
    return workingCopy;
}I added some printlns to determine if the data was being passed from the backing bean; it is.
[EL Finer]: 2010-05-19 08:56:52.006--ClientSession(729393)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--acquire unit of work: 31643867
[EL Finer]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX binding to tx mgr, status=STATUS_ACTIVE
[EL Finest]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query ReadObjectQuery(referenceClass=Base )
uow class <Wed May 19 08:56:51 CDT 2010>
before deepMergeEntity**************
[EL Finest]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Merge clone olvims.dispatch.datamodel.Base@1efaf4
after deepMergeEntity**************
[EL Finer]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE
[EL Finer]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--begin unit of work commit
[EL Finer]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED
[EL Finer]: 2010-05-19 08:56:52.022--UnitOfWork(31643867)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commitIt looks as if I will need to create a custom sql method and not use the mergeEntity method. Disappointing.

Similar Messages

  • Key-nextrec not firing in forms 10g

    I have a code in the above trigger, but it is not firing, I have it in the block property and no other place in the form
    message('In key next rec----'); message(' ');
    IF :SYSTEM.Last_Record = 'TRUE' Then
    Null;
    Else
    next_record;
    End If;

    when-new-record-instance runs when you navigate to the next record.
    Key-Nxtrec (Nxtrec is the correct spelling) only runs when you press the key assigned to call that trigger. In my environment, it is the Shift+ Down-Arrow key, but it could be just Down-Arrow -- it all depends on what key sequence is assigned to Forms Function Number 67 in your Forms Resource file, FMRWEB.res (or fmrusw.res).
    So if the trigger runs when you press the correct keyboard key, and you issue the message but do not call the Next_Record; built-in, focus will not navigate to the next record in your running form.

  • Output--- automatic mail is not firing to sold to party.

    Dear Gurus,
        My client requirement is to sent mail to sold party when saving a sales order.
      For this I creted a new output type with following assignments
    In General data tab:acess sequence assigned and Access to conditions is checked
    In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
    ),Communication strategy(CS01) assigned.
    In Time tab: no information given
    In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
    In Print tab: print parameters(sales org) assigned.
    In mail tab: nothing assigned.
    In sort order tab:nothing assigned
    In mail title and texts: En and DE languages are assigned.
    in processing routines: program and form routine is assgned.
    in partner functions: External send+ SP is maintained.
    and in condtion record maintained in VV11 tcode with details
    Partner function and in communication assigned printer and  selected check box print immadiately and release after out.
    But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
    Rgrads,
    kishore.
    Edited by: kishore gopala on Sep 13, 2008 1:42 PM

    Check whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
    In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an  '*' asterisk has been maintained or not.
    Check the status of the email output in the Sales Order, is it showing with a green traffic light???
    If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
    If they have not gone you will be able to see them queued up there.
    Select the individual messages and press execute button. By doing this email outputs will be released.
    Hope this helps you.
    Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
    Hope this helps.
    Regards,
    Vivek

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • Breakpoints not firing

    Hello Dev's,
    I am having a problem in only one project and I have even tried to recreate the project with no success but previous projects created years prier (made with previous versions of FB) are not experiencing this.
    I am trying to place breakpoints on functions in deep rooted classes (a class that is loaded by a class by a class, its a smaller component from a greater project) which I know is firing as I see the results on the screen.
    However the break point does not fire and remains a blue circle, indicating it won't fire. If I remove and re add the break point while the app is running, it will become checked but once I run the debugger the break point turns back into a blue dot.
    If I put a break point in one of the first lines of the application class, like in it's constructor, it will trigger and then my deeper break points will fire. But if I don't make this out of the way break point (in the main class) the following break points are not firing.
    Thoughts?
    Flex Builder 4.5
    SDK 4.5.1
    Debugger 11.6.5.635 (in FireFox)

    I haven’t seen that before, but in theory would be possible if several SWFs are being loaded and you get a class collision and the breakpoint in the app changes the timing of the loaded SWFs.

  • OnRowUpdating Event not firing in my DataGrid in custom web part in my production SharePoint 2013 Foundation instance

    Hi,
    I have a custom visual web part that I've developed for SharePoint 2013 Foundation.  I am using Visual Studio 2013 to develop this web part. 
    In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database.  In dev and test the OnRowUpdatingEvent fires properly, but in production it does not.  I have the same version of SharePoint running on dev/test/prod. 
    The main difference between the three environments is the hardware.  Production has a much beefier sever than dev and test.  Dev and test are also virtual machines where production is.
    At first I thought my problem was cache related, and I made adjustments per this article:
    http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    That didn't help because the event is still not firing.  I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
    using the same credentials in both instances.
    My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
    Any suggestions on what settings to look at?
    Brian
    Brian Hochgurtel
    My blog

    Try this solution :
    http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview

  • KEY-COMMIT not firing

    I am working on an Oracle 10g database and am using Oracle Forms Developer 10g to create forms. I have created a new 2 field table in my database:
    CREATE TABLE career_cluster
    (career_cluster_code VARCHAR2(3) NOT NULL
    ,CONSTRAINT career_cluster_pk
    PRIMARY KEY (career_cluster_code)
    USING INDEX
    TABLESPACE GALINDX
    ,career_cluster_desc VARCHAR2(30) NOT NULL
    TABLESPACE galaxy;
    I have also created a form so that users can enter data into this table. I have a career_cluster data block in my form with two items: career_cluster_code (set with a maximum length of 3 in my property palette) and career_cluster_desc (set with a maximum length of 30 in my property palette). Both items are also set in the property palettes to a char data type. In my SQL code (in the form) I always have these two items set as varchar2 with (3) and (30), respectively.
    The form opens fine when I run it, however when I click on my SAVE button my KEY-COMMIT trigger is not fired -- it jumps directly to my ON-ERROR trigger and I get an Oracle ORA-06502 error message. I don't see any inconsistencies in my data types or lengths. Below is my KEY-COMMIT code:
    DECLARE hold_item varchar2(30) := :system.cursor_item;
    hold_record varchar2(10) := :system.cursor_record;
    mess_name varchar2(80);
    mess_text varchar2(80);
    BEGIN
    go_block('career_cluster');
         if (error_code = 40202) then
              goto end_of_trigger;
         end if;
    if :system.block_status = 'CHANGED' then null;
    commit_form;
    if FORM_SUCCESS then null;
    mess_name := 'Transaction Complete';
    mess_text := 'Career Cluster(s) committed to the database';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    else null;
    mess_name := 'No changes to commit';
    mess_text := 'No changes have been made to the Career Cluster Code Table';
    DISP_ALERT2(mess_text,mess_name);
    end if;
    go_item(hold_item);
    go_record(hold_record);
    <<end_of_trigger>>
    null;
    END;
    I put in a DISP_ALERT message right after the BEGIN statement but it never displayed so I don't think this trigger is firing. I also put a similar DISP_ALERT message in my ON-ERROR trigger and that does display, so I know it is going right to my ON-ERROR trigger. Does anyone have any ideas what might be triggering the ON-ERROR?
    Thanks,
    -NTW

    ORA-06502 is a numeric or value error string which is raised when an arithmetic, numeric, string, conversion, or constraint error occurrs. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).
    I would suggest you to look at the columns definitions in the table and the form fields/variables data types and lengths and make sure they are same as the backend table columns.
    Also, you don't need to put NULL; after each IF ELSE conditions if you have any other statements.
    I would also suggest that you handle any errors in either exception handler of the block or in the ON-ERROR triggers.
    Try this:
    DECLARE
        hold_item varchar2(30) := :system.cursor_item;
        hold_record varchar2(10) := :system.cursor_record;
        mess_name varchar2(80);
        mess_text varchar2(80);
    BEGIN
        GO_BLOCK('career_cluster');
        IF :system.block_status = 'CHANGED' THEN
            commit_form;
            IF FORM_SUCCESS THEN
                mess_name := 'Transaction Complete';
                mess_text := 'Career Cluster(s) committed to the database';
                DISP_ALERT2(mess_text,mess_name);
            END IF;
        ELSE
            mess_name := 'No changes to commit';
            mess_text := 'No changes have been made to the Career Cluster Code Table';
            DISP_ALERT2(mess_text,mess_name);
        END IF;
        GO_RECORD(hold_record);
        GO_ITEM(hold_item);
    EXCEPTION
      WHEN OTHERS THEN  MESSAGE(TO_CHAR(ERROR_CODE)||'-'||ERROR_TEXT);
      RAISE FORM_TRIGGER_FAILURE;
    END;

  • Sharepoint 2013 document library incoming email without attachment not firing event and not getting email

    sharepoint document library incoming email without attachment not firing event and not getting email
    If email contains attachment it works. Is there any setting in document library that will allow emails and eventhandler to fire with out attachment?
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    What is the purpose of email sent to document library if no attachment. What document library will do what that email if it cant find attachment to save and create a spdoc object. If you want to store email/communication body then opt for site mailbox
    app.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • On New Instance computation not firing if user fails authorisation

    Hi there,
    In my Apex 4 application I have:
    - An application-level field
    - An On New Instance computation that computes the above field (no conditions or authorisations set on it)
    - A public page
    - A secure page to which the user I use to log in doesn't have access
    If, after logging in, I go straight to the public page and then to the secure page, I get the error "user not authorised" but the application item is computed.
    However, if I go straight to the secure page after logging in the application I get the error message but item is not computed! (I know that because I am displaying the item in the error page template using the format &F_FIELD.)
    I thought On-New-Instance-Anything should always be executed.. but that does not seem to be the case... Or am I missing something?
    How to fix this? I need the on new instance computation to always execute even if the user fails authorisation.
    Thanks
    Luis

    - If I understand you correctly, you are suggesting to move the application computation into the login page, as a page computation?An assignment statement in a PL/SQL process that runs after the login process could work, but it would be safer to use an application-level computation that fires only after APP_USER is definitely set to the authenticated username. The condition would be something like "if :MY_USER_ID_ITEM is null and :APP_USER not in ('nobody', 'HTMLDB_PUBLIC_USER','APEX_PUBLIC_USER','ANONYMOUS')...". Then your application will work if you decide not to have a login page someday, e.g., if you switch to SSO.
    If the computation point is "after submit", why do I need to worry about "per session"? It will be fired only when the user enter/re-enter the system, right?Yes.
    My logout URL was constructed by page wizard. I don't see any session id there. Should I look anywhere specific?If you still have problems with an on-new instance event not firing after a logout URL results in a new session being created let me know. It may be moot for this case.
    Scott

  • SP Not firing

    Hi
    I am new to SP.I written a code which is executed at back end succesfully but its not firing at front end.
    I used this SP to restrict the user to change the unit price(Comes automatically from item master) for a particular item group in PO.its not showing the error message when i change the unit proce of PO.Can anyone suggest me on how to proceed?
    CREATE proc dbo.SBO_SP_RESTRICTPRICE
    @object_type nvarchar(25), -- SBO Object Type
    @transaction_type nchar(1), -- [A]dd, pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error int -- Result (0 for no error)
    declare @error_message nvarchar (200) -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    IF(@object_type='22') and (@transaction_type IN ('A','U'))
    begin
    IF Exists(select T0.Price from POR1 T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode where T0.ItemCode = T1.ItemCode AND T1.ItmsGrpCod = '126' AND T0.Price <> T2.Price AND T0.DocEntry = @list_of_cols_val_tab_del)
    Begin
    SET @error = 30
    SET @error_message =N'You are not authorized to change the price'
    end
    END
    end

    Hi Kamdasan,
    Try this.
    Insert this code in SBO_SP_TRANSACTIONNOTIFICATION
    USE [Cmp_Test]
    GO
    /****** Object:  StoredProcedure [dbo].[SBO_SP_TransactionNotification]    Script Date: 06/23/2011 10:58:51 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --     ADD     YOUR     CODE     HERE
    IF (@object_type = '22') and (@transaction_type IN ('A', 'U'))
    BEGIN
    IF exists (SELECT T1.[Dscription], T4.[ItmsGrpNam], T4.[ItmsGrpCod], T3.[PriceList], T1.[Price]
    FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN ITM1 T3 ON T2.ItemCode = T3.ItemCode
    INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
    INNER JOIN OPLN T5 ON T3.PriceList = T5.ListNum
    WHERE T4.[ItmsGrpCod] = '130'
    and  T3.[PriceList] = 40 
    and T3.[Price] <>  T1.[Price])
    Begin
    Select @error = -1,
    @error_message ='You are not authorized to change Unit Price For This Item Group'
    End
    END
    -- Select the return values
    select @error, @error_message
    end
    Thanks
    Malhaar

  • RadioButtonList not firing

    Why checkboxlist selectedindexchanged event firing from within user control in Chrome or Firefox, but radiobuttonlist selectedindexchanged event not firing from chrome or Firefox?

    Hi Ndogs,
    For ASP.NET issue , please reopen a new post on the following forum:
    http://forums.asp.net/
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Index not firing

    i checked the plan table & saw that one index is not firing. My query is like :-
    SELECT ISM.*
    FROM invoice_header IH,
    INVOICE_SIM_MOBILE_DETAIL ISM,
    ppbsnew.ppbs_distributor_master DM,
    retailer_master RM,
         ppbsnew.ppbs_inv_sim_serial ISS
    WHERE ISM.INVOICE_NO = IH.INVOICE_NO -- Not firing(1)
    and ISM.SIM_NO = ISS.SIM_SERIAL_NO --Firing(2)
    AND ih.distributor_code = dm.distributor_code --Firing(3)
    AND ih.RETAILER_CODE = rm.RETAILER_CODE --Firing(4)
    and DM.DISTRIBUTOR_CODE = RM.DISTRIBUTOR_CODE --Firing(5)
    Index specified are as Firing & Not firing. I don't understand why the index(1) is not firing.
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    Can you post the execution plan?
    Oracle Cost Based Optimizer (CBO) determines whether to use index access or not according to the cost which is the result of selectivity and cardinality of the estimated result set. A full table scan is the optimal access path when you have to read the whole table. Therefore in your case you must find out how many rows will be included in the join for the table for which index is not used.
    From the text of your statement I would estimate that you have to read the whole table INVOICE_SIM_MOBILE_DETAIL and you are joining it to invoice_header and here a hash join with a full table scan would be the optimal method. I assume that each row in INVOICE_SIM_MOBILE_DETAIL belongs to one invoice_header row.
    P.S.: It is a strange way of expressing that index is "fired" when index access is used.

  • Not firing setValueAt() in the TableModel

    Hi All,
    I have a JTabbedPane which contains 6 Tabs and each Tab contains a JTable. A table may have JTextFieldcelleditor , JCheckBoxcelleditor...
    I entered a value in the JTextFieldcelleditor of first Tab.
    and immediately ...I am changing from first Tab to second Tab, then entered value is not set with the TableModel i,.e setValueAt() of My TableModel is not firing...
    Regards,
    Ananth

    set
    yourtable.putClientProperty("terminateEditOnFocusLost",
                             Boolean.TRUE);for all tables and the values are set when changing tabs.
    EDIT: :shakefist: @ mac ! ;-)

  • Tirgger not firing sometimes

    Hi,
    Here is the problem:
    Table A has 4 triggers and one of them is updating a field in table B. On all but one installation table B does not get updated all the time. (We have this code on different versions of Oracle on Solaris, Windows and Linux)
    From the triggers one is on delete and the other three are on "insert or update" including the one, which is supposed to update the B table. A simple update of the record usually takes care of the problem meaning that the trigger gets fired and the B table gets updated. At one point I had to run the update two times for the trigger to fire but I have not been able to reproduce this (update not firing the trigger)
    There is nothing to disable the triggers. We have not been able to find anything special about the records, which when inserted in A and for which the trigger did not fire at the time.
    Could it be that the existence of several triggers all of which are on "insert or update" causes the problem? What else can we look into? It is rather annoying because it happens only every so often and it is usually discovered days after the fact.
    Thanks,
    Jivko

    HI,
    Generally if the trigger size exceeds 64K, it may not fire for the given action even though it is a right action. What i will suggest you is, Please split your "insert OR update" trigger into two different individual triggers, i.e, one with insert and another with update. Even if it exceeds, incorporate some of the functionality into PL/SQL block (procedures) and call it inside the Trigger.
    Regards,
    G. Rajakumar.

Maybe you are looking for