BDC not behaving as expected

Hi all,
I had done BDC for FB05. It was working fine.
Now the requirement changed a bit and I need to pass one more field special gl indicator.
So I added a line in the FM i created using the recording and expected that bdc should work fine. But it didn't . The filed get populated correctly but then the next screen data is not getting populated . Any Idea what could be the problem.
perform bdc_field       using 'RF05A-NEWUM'
                              SPL_GL_LINE_1.
FUNCTION ZFM_FB05_BDC_BILL.
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'
*"     VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'
*"     VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'
*"     VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL
*"     VALUE(USER) LIKE  APQI-USERID OPTIONAL
*"     VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL
*"     VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL
*"     VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'
*"     VALUE(BLDAT_001) LIKE  BDCDATA-FVAL DEFAULT '09/09/2010'
*"     VALUE(BLART_002) LIKE  BDCDATA-FVAL DEFAULT 'sa'
*"     VALUE(BUKRS_003) LIKE  BDCDATA-FVAL DEFAULT 'K101'
*"     VALUE(BUDAT_004) LIKE  BDCDATA-FVAL DEFAULT '09/09/2010'
*"     VALUE(MONAT_005) LIKE  BDCDATA-FVAL DEFAULT '9'
*"     VALUE(WAERS_006) LIKE  BDCDATA-FVAL DEFAULT 'USD'
*"     VALUE(DOCID_007) LIKE  BDCDATA-FVAL DEFAULT '*'
*"     VALUE(NEWBS_008) LIKE  BDCDATA-FVAL DEFAULT '09'
*"     VALUE(NEWKO_009) LIKE  BDCDATA-FVAL DEFAULT '1000021'
*"     VALUE(SPL_GL_LINE_1) LIKE  BDCDATA-FVAL DEFAULT '2'
*"     VALUE(WRBTR_010) LIKE  BDCDATA-FVAL DEFAULT '100'
*"     VALUE(ZFBDT_011) LIKE  BDCDATA-FVAL DEFAULT '09/09/2010'
*"     VALUE(AGBUK_012) LIKE  BDCDATA-FVAL DEFAULT 'K101'
*"     VALUE(AGKON_013) LIKE  BDCDATA-FVAL DEFAULT '100000'
*"     VALUE(AGKOA_014) LIKE  BDCDATA-FVAL DEFAULT 'D'
*"     VALUE(AGUMS_015) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(XNOPS_016) LIKE  BDCDATA-FVAL DEFAULT ''
*"     VALUE(ABPOS_017) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_018) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_019) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_020) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(XPOS1_01_021) LIKE  BDCDATA-FVAL DEFAULT ''
*"     VALUE(XPOS1_03_022) LIKE  BDCDATA-FVAL DEFAULT 'X'
*"     VALUE(SEL01_01_023) LIKE  BDCDATA-FVAL DEFAULT '100000002'
*"     VALUE(ABPOS_024) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_025) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_026) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(PSZAH_01_027) LIKE  BDCDATA-FVAL DEFAULT '             50'
*"     VALUE(ABPOS_028) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_029) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(XPOS1_01_030) LIKE  BDCDATA-FVAL DEFAULT ''
*"     VALUE(XPOS1_03_031) LIKE  BDCDATA-FVAL DEFAULT 'X'
*"     VALUE(SEL01_01_032) LIKE  BDCDATA-FVAL DEFAULT '100000000'
*"     VALUE(ABPOS_033) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_034) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(ABPOS_035) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(PSZAH_01_036) LIKE  BDCDATA-FVAL DEFAULT '             50'
*"     VALUE(ABPOS_037) LIKE  BDCDATA-FVAL DEFAULT '1'
*"     VALUE(DOC_LIST) TYPE  ZTT_DOC_LIST
*"  EXPORTING
*"     VALUE(SUBRC) LIKE  SYST-SUBRC
*"  TABLES
*"      MESSTAB STRUCTURE  BDCMSGCOLL OPTIONAL
data wa_doc_list type zst_doc_list.
subrc = 0.
perform bdc_nodata      using NODATA.
perform open_group      using GROUP USER KEEP HOLDDATE CTU.
perform bdc_dynpro      using 'SAPMF05A' '0122'.
perform bdc_field       using 'BKPF-BLDAT'
                              BLDAT_001.
perform bdc_field       using 'BKPF-BLART'
                              BLART_002.
perform bdc_field       using 'BKPF-BUKRS'
                              BUKRS_003.
perform bdc_field       using 'BKPF-BUDAT'
                              BUDAT_004.
perform bdc_field       using 'BKPF-MONAT'
                              MONAT_005.
perform bdc_field       using 'BKPF-WAERS'
                              WAERS_006.
perform bdc_field       using 'FS006-DOCID'
                              DOCID_007.
perform bdc_field       using 'RF05A-NEWBS'
                              NEWBS_008.
perform bdc_field       using 'RF05A-NEWKO'
                              NEWKO_009.
*perform bdc_field       using 'RF05A-NEWUM'
*                              SPL_GL_LINE_1.  " Uncomment this line and the next screen '0301' values don't get populated.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-NEWUM'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF05A' '0301'.
perform bdc_field       using 'BDC_CURSOR'
                              'BSEG-WRBTR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=SL'.
perform bdc_field       using 'BSEG-WRBTR'
                              WRBTR_010.
perform bdc_field       using 'BSEG-ZFBDT'
                              ZFBDT_011.
perform bdc_dynpro      using 'SAPMF05A' '0710'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-AGUMS'.
perform bdc_field       using 'BDC_OKCODE'
                              '=PA'.
perform bdc_field       using 'RF05A-AGBUK'
                              AGBUK_012.
perform bdc_field       using 'RF05A-AGKON'
                              AGKON_013.
perform bdc_field       using 'RF05A-AGKOA'
                              AGKOA_014.
perform bdc_field       using 'RF05A-AGUMS'
                              AGUMS_015.
perform bdc_field       using 'RF05A-XNOPS'
                              XNOPS_016.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=PART'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_017.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OMX'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_018.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=Z-'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_019.
* here !!
loop at doc_list into wa_doc_list.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OSU'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_020.
perform bdc_dynpro      using 'SAPDF05X' '2000'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-XPOS1(03)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=GO'.
perform bdc_field       using 'RF05A-XPOS1(01)'
                              XPOS1_01_021.
perform bdc_field       using 'RF05A-XPOS1(03)'
                              XPOS1_03_022.
perform bdc_dynpro      using 'SAPDF05X' '0731'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-SEL01(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=GO'.
perform bdc_field       using 'RF05A-SEL01(01)'
*                              SEL01_01_023.
                               wa_doc_list-belnr.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OMX'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_024.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=Z+'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-ABPOS'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_025.
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'DF05B-PSZAH(01)'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_026.
perform bdc_field       using 'DF05B-PSZAH(01)'
*                              PSZAH_01_027.
                              wa_doc_list-WRBTR.
"here
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OSE'.
perform bdc_field       using 'BDC_CURSOR'
                              'DF05B-PSZAH(01)'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_028.
endloop.
*perform bdc_dynpro      using 'SAPDF05X' '3100'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=OSU'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'RF05A-ABPOS'.
*perform bdc_field       using 'RF05A-ABPOS'
*                              ABPOS_029.
*perform bdc_dynpro      using 'SAPDF05X' '2000'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'RF05A-XPOS1(03)'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=GO'.
*perform bdc_field       using 'RF05A-XPOS1(01)'
*                              XPOS1_01_030.
*perform bdc_field       using 'RF05A-XPOS1(03)'
*                              XPOS1_03_031.
*perform bdc_dynpro      using 'SAPDF05X' '0731'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'RF05A-SEL01(01)'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=GO'.
*perform bdc_field       using 'RF05A-SEL01(01)'
**                              SEL01_01_032.
*                              wa_doc_list-WRBTR.
*perform bdc_dynpro      using 'SAPDF05X' '3100'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=OMX'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'RF05A-ABPOS'.
*perform bdc_field       using 'RF05A-ABPOS'
*                              ABPOS_033.
*perform bdc_dynpro      using 'SAPDF05X' '3100'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=Z+'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'RF05A-ABPOS'.
*perform bdc_field       using 'RF05A-ABPOS'
*                              ABPOS_034.
*perform bdc_dynpro      using 'SAPDF05X' '3100'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '/00'.
*perform bdc_field       using 'BDC_CURSOR'
*                              'DF05B-PSZAH(01)'.
*perform bdc_field       using 'RF05A-ABPOS'
*                              ABPOS_035.
*perform bdc_field       using 'DF05B-PSZAH(01)'
*                              PSZAH_01_036.
*"here
perform bdc_dynpro      using 'SAPDF05X' '3100'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.
perform bdc_field       using 'BDC_CURSOR'
                              'DF05B-PSZAH(01)'.
perform bdc_field       using 'RF05A-ABPOS'
                              ABPOS_037.
perform bdc_transaction tables messtab
using                         'FB05'
                              CTU
                              MODE
                              UPDATE.
if sy-subrc <> 0.
  subrc = sy-subrc.
  exit.
endif.
perform close_group using     CTU.
ENDFUNCTION.
INCLUDE BDCRECXY .

I agree with Sujay.......redo recording...
The reason of error maight be the GL Indicator.....
Check the combination of Posting Key & GL Indicator exits or not.......by posting directly thru txn FB05....
With the GL indicator & Posting key...might be the next screen no. changes.....just check...wild guess....
If so....Redo the recording for each combination of PK & GL Ind.
Thnx
RK

Similar Messages

  • Venue 11 Pro - Slim Keyboard not behaving as expected or it should.

    I recently received the slim keyboard from dell for my Venue 11 Pro - Baytrail tablet.    Overall I like the quality and functionality, although I too like others have encountered the intermittent non-functional keyboard, but that's not the subject of this post.
    I have noticed a couple items in its behavior that don't work as you would expect and I hope can be corrected via software. 
    1. When the keyboard is attached but folded back behind the tablet (ie the keyboard is not in use) the on screen keyboard will not appear.  This makes it hard to use the device as a tablet as anytime data entry is required you need to unfold the keyboard and hold it somehow while you type then fold it back behind the screen to continue tablet use.   When folding the keyboard behind the unit its just as important to make the on screen keyboard available as it is to stop the keyboard itself from functioning,  right now the keyboard stops working as it should be no alternative input is available. 
    2. In much the same way as item #1.  When the keyboard is attached but folded back behind the tablet orientation is locked so the screen will not rotate to portrait or landscape mode at need.  So if you were carrying it with the cover / slim keyboard on and opened it up, folding the keyboard behind the screen the screen is stuck in landscape mode.   The only method ive found to change its orientation is to go to desktop and run the intel graphics app to edit the orientation.
    Combined this makes the slim keyboard worse than useless in several usage scenarios.   I want the slim keyboard for the occasional need to input more data than is practical on the touch screen AND to protect the tablet.... but if your usage is more tablet than notebook you will find yourself constantly working around these limitations.   
    You have a great product here, but you really need to take a page from the surface playbook here.   They kind of set the standard and expectations for how keyboard covers on tablets should work and while I really like the hardware the usage is awkward as it stands. 

    Just got our first Venue 11 into the office and was very disappointed to find this thread already active.  Yes, this is a very simple use-case where someone will have the slim keyboard connected and then flip it back to use the onscreen keyboard for the modern UI.  Auto screen rotation and pop-up onscreen keyboard really are a must when the keyboard is flipped back.  Not sure how that very basic behavior could have been missed in testing.  Hoping for a resolution soon...

  • Reader not behaving as expected...

    I'm trying to read from a java.io.Reader and I am not getting the -1 at the end of the input as expected. My code is below.
    The while(true) loop, which is the outerloop, should be broken out of as soon as the -1 is read. The problem is that the -1 is never read and the loop ends up looping infinitely.
    Any ideas?
    Reader reader = parser.getReader();
    String text = "";
    outerloop:while (true)
        if ( ! reader.ready()) Thread.sleep(50);
        innerloop:while (rdr.ready())
            int c = rdr.read();
            if (c==-1)  break outerloop;
            text += (char)c;
    }

    1) if the reader wasn't ready what assures that it
    will be ready after 50 ms?Nothing does. However, if it is not ready, then the following loop will simply not execute and the main loop will start over and it will wait another 50 ms. The alternative of putting the Thread.sleep(50) line in a loop as follows...
    while ( ! reader.ready()) Thread.sleep(50);...has gotten me in trouble in the past when the reader is finished and so is never ready, so I just end up sleeping over and over again. Of course my current implementation is also giving me an infinite loop since I'm never reading the -1, so I guess I haven't gained much.
    2) to what is that reader connected? If the reader is connect to, say, the
    standard input (keyboard), it won't return -1 unless you type ctrl-D (unix
    flavour) or ctrl-Z (ms flavour). If the reader is connected to a socket, the
    other side has to close the socket in order for your reader to detect an
    EOF condition.The reader provided by an objecet in the Apache Jakarta Lucene package. It is an HTML Parser that takes an HTML document and is supposed to write out just the text after stripping all the tags. I am supposed to be able to read this text using the Reader.
    It has occured to me that perhaps the object is not writing -1 when it is finished or is not closing the stream. In this case it would appear that whoever programmed that class did not do what he was supposed to. I'm skeptical of this line of reasoning, however, because the Apache Jakarta stuff is pretty reputable and I don't think this is just a mistake on their end.
    The object that I get the reader from launches a new thread when I call the getReader() method. Somehow this thread has to signal that it is done with the processing and I have received all the input I am ever going to get. I just don't know what this signal is. The "-1" signal that the API tells me I should get never arrives.
    Thanks for your help. Any more help would be appreciated.

  • Trigger not behaving as expected

    I have the following trigger on my table. I want to log in records which fail to insert into my main table RTS_EXCEL_UPLOAD into my audit table RTS_EXCEL_UPLOAD_BK. However, when I try to insert a bad record into my main table it throws an exception but does not log the record into RTS_EXCEL_UPLOAD_BK.
    CREATE OR REPLACE TRIGGER TRG_RTS_EXCEL_UPLOAD_BF_I
    BEFORE INSERT ON RTS_EXCEL_UPLOAD
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO RTS_EXCEL_UPLOAD_BK
    (LG_NAME,LG_CODE,PRODUCT_CODE,RTS_PERCENTAGE,LAST_UPDATE_DATE,LAST_UPDATE_USER,COUNTRY_ID)
    VALUES
    (:new.LG_NAME,:new.LG_CODE,:new.PRODUCT_CODE,:new.RTS_PERCENTAGE,:new.LAST_UPDATE_DATE,:new.LAST_UPDATE_USER,:new.COUNTRY_ID)
    DBMS_OUTPUT.PUT_LINE('TRIGGER FIRED');
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('TRIGGER NOT FIRED');
    END;
    CREATE TABLE RTS_EXCEL_UPLOAD_BK
    (LG_NAME VARCHAR2(256)
    ,LG_CODE VARCHAR2(256)
    ,PRODUCT_CODE VARCHAR2(256)
    ,RTS_PERCENTAGE VARCHAR2(256)
    ,LAST_UPDATE_DATE VARCHAR2(256)
    ,LAST_UPDATE_USER VARCHAR2(256)
    ,COUNTRY_ID VARCHAR2(256));
    CREATE TABLE RTS_EXCEL_UPLOAD
    ((LG_NAME VARCHAR2(256)
    ,LG_CODE NUMBER
    ,PRODUCT_CODE VARCHAR2(256)
    ,RTS_PERCENTAGE VARCHAR2(256)
    ,LAST_UPDATE_DATE VARCHAR2(256)
    ,LAST_UPDATE_USER VARCHAR2(256)
    ,COUNTRY_ID VARCHAR2(256));
    INSERT INTO RTS_EXCEL_UPLOAD (LG_CODE)VALUES('A1');
    this is not inserting record into my audit table RTS_EXCEL_UPLOAD_BK as expected.

    Hi,
    You can use FORALL SAVE EXCEPTIONS to audit in your backup table.
    Let us see the example below :
    create table test_tab
    col1 number,
    col2 varchar2(20),
    constraint test_tab_ck check  ( col1 in (1,2,3))
    create table test_tab_bk
    col1 number,
    col2 varchar2(20)
    SET serveroutput ON
    DECLARE
         CURSOR cur_insert
         IS
         SELECT
              ROUND(dbms_random.value(1,4)) AS col1,
              '#######'                     AS col2
         FROM
              dual
         CONNECT BY level <= 10;
         TYPE rec_insert_tbl IS   TABLE OF cur_insert%ROWTYPE INDEX BY PLS_INTEGER;
         insert_tbl rec_insert_tbl;
         /* Exceptions */
         dml_errors EXCEPTION;
         PRAGMA EXCEPTION_INIT(dml_errors, -24381);
         /*Variables*/
         w_error_count NUMBER;
    BEGIN
         OPEN cur_insert;
         FETCH cur_insert bulk collect INTO insert_tbl;
         BEGIN
         FORALL idx IN insert_tbl.FIRST .. insert_tbl.LAST SAVE EXCEPTIONS
         INSERT
         INTO
           test_tab
              col1,
              col2
           VALUES
              insert_tbl(idx).col1,
              insert_tbl(idx).col2
         EXCEPTION
              WHEN dml_errors THEN
              w_error_count := SQL%BULK_EXCEPTIONS.count;
              FOR i  IN 1 .. w_error_count
              LOOP
                dbms_output.put_line ( 'Error: ' || i || ' Array Index: ' || SQL%BULK_EXCEPTIONS(i).error_index
                || ' Message: ' || SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE) ) ;
                  /* Again looping through the data which is to inserted */
                   FOR idx IN  insert_tbl.FIRST .. insert_tbl.LAST
                   LOOP
                        /* If the index of the cursor is same as error index, insert in the Backup table */
                        IF idx = SQL%BULK_EXCEPTIONS(i).error_index THEN
                             INSERT
                             INTO
                               test_tab_bk
                                  col1,
                                  col2
                               VALUES
                                  insert_tbl(idx).col1,
                                  insert_tbl(idx).col2
                          END IF;
                     END LOOP;
              END LOOP;
         END;
         CLOSE cur_insert;
      commit;
    END;
    select * from test_tab;
    select * from test_tab_bk;This will work, but not sure if it can be implemented in your code.
    This solution is also not great performance wise as for backup table we are inserting row by row.
    LOG ERRORS INTO is still the best solution(both in usability and performance wise) and if possible try to use it.

  • CFLogin Not Behaving as Expected

    Hello,
    I'm creating a login system based on one in the live articles (found here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24 -7c30.html#WSc3ff6d0ea77859461172e0811cbec0c8f9-7fdf ) Basically, am trying to modify the files so that the Application.cfc sets variables and returns them to the loginform (if login fails) or redirects to a secured page if login succeeds.
    Here's my modified code: (I've added comments here in blue to explain my logic)
    Application.cfc
    <cfcomponent>
    <cfset This.name = "LoginAdminTool">
    <cfset This.Sessionmanagement="True">
    <cfset This.loginstorage="session">
    <cffunction name="OnRequestStart">
        <cfargument name = "request" required="true"/>
        <cfif IsDefined("Form.logout")>
            <cflogout>
        </cfif>
        <cflogin>
            <cfif NOT IsDefined("cflogin")>
                <cfinclude template="loginform.cfm">
                <cfabort>
            <cfelse>
                <cfset Session.loginErrEmptyString = "False"> This resets values of variables in the login form
                <cfset Session.loginErrInvalidString = "False"> This resets values of variables in the login form
                <cfif cflogin.name IS "" OR cflogin.password IS ""> 
                    <cfoutput>
                        <cfset Session.loginErrEmptyString = "True"> If the string is empty, set the variable to true, return to login
                        <cflocation url="loginform.cfm">
                    </cfoutput>
                    <cfabort>
                <cfelse>
                    <cfquery name="loginQuery" dataSource="myds"> If there is a  value, validate it against my db...
                    SELECT userName, userPass, userRole
                    FROM security
                    WHERE
                        userName = '#cflogin.name#'
                        AND userPass = '#cflogin.password#'
                    </cfquery>
                    <cfif loginQuery.userRole NEQ "">
                        <cfloginuser name="#cflogin.name#" Password = "#cflogin.password#" roles="#loginQuery.userRole#">
                        <cfset Session.userLoggedIn = "True"> if a result comes back, setuser logged in to true and redirect him to index.cfm
                        <cflocation url="index.cfm">
                    <cfelse>
                        <cfoutput>
                            <cfset Session.loginErrInvalidString = "True"> Otherwise login is invalid... return to form
                            <cflocation url="loginform.cfm">
                        </cfoutput>    
                        <cfabort>
                    </cfif>
                </cfif>    
            </cfif>
        </cflogin>
    </cffunction>
    </cfcomponent>
    And here is the form:
                    <cfoutput>
                    <form action="#CGI.script_name#?#CGI.query_string#" method="Post">
                    <fieldset>
                    <ul class="logIn">
                        <li><label for="userName">Username</label></li>
                        <li><input type="text" name="j_username" id="userName"></li>
                        <li><label for="userPass">Password</label></li>
                        <li><input type="password" name="j_password" id="userPass"></li>
                        <li><input type="submit" value="Log In"></li>
                    </ul>
                    </fieldset>             
                    </form>
                    </cfoutput>
                </div><!--/box_sml-->
                <div class="box">
                    <cfif Session.LoginErrEmptyString IS "True"> If the strings were empty error comes back, the page displays this error code
                        <cfoutput>
                        <h2>You must enter text in both the Username and Password fields.</h2>
                        </cfoutput>
                    <cfelse>                   
                        <cfif Session.LoginErrInvalidString IS "True"> If login is invalid, it does that
                            <cfoutput>
                            <h2>The login information entered is invalid. Please Try again.</h2>
                            </cfoutput>
                        </cfif>
                    </cfif>
                    <cfdump var="#cgi#">
                    <cfdump var="#session#">
    The problem i am having is that, even when I am logging in correctly, the Application.cfc is not redirecting to index.cfm.... does anyone know the cause of this issue? Any help would be great appreciated... I'm sure there are many ways to code my logic better, but my intent was to avoid Application.cfc dumping html tags above the include="loginform.cfm" tag as per original script. I want to create my error messages within the form page itself..

    Test by replacing <cfif loginQuery.userRole NEQ ""> with <cfif loginQuery.recordcount GT 0>

  • Bean not behaving as expected

    OK, I have a JSP running the following script section.
    <% irCollection mgrq = new irCollection(); 
          mgrq.setMgrid("Chris Novish");
          mgrq.populateCollection();
          int pagenum;
          if (request.getParameter("p") != null) {
            String pagedatum=request.getParameter("p");
            pagenum = Integer.parseInt(pagedatum);
          } else { pagenum = 0; }
          for (int i=0;i<10;i++) {
            int rownum = pagenum * 10 + i;
            InquireRecord currec = mgrq.getCurRecords(rownum);
            out.println(currec.getID()); %>irCollection has an ArrayList property that stores a several InquireRecord objects. It gets this data from a database using the mgrid as (set in line 2 there) as the matching term.
    But I'm getting an IndexOutOfBounds exception on what appears here as line 11.
    I've done some tests, and I'm pretty sure that it's because populateCollection() isn't getting things done. I have a getSize method that gives me a size of 0.
    I made a test class in Eclipse to make sure all my methods were working:
    package com.serco.inquire;
    public class test {
         public static void main (String[] args) {
              String mgr = "Chris Novish";
              irCollection bob = new irCollection();
              bob.setMgrid(mgr);
              bob.populateCollection();
              InquireRecord fred = bob.getCurRecords(1);
              System.out.println(fred.getID());
    }That test class produces exactly what I'd expect.
    Other than the names of some of the local variables, I can't see what I'm doign different in the JSP.
    So... tell me, what noobish mistake did I make?
    for the sake of being thorough, here's the populateCollection() method:
    public void populateCollection() {
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   String filename = "inquire.mdb";
                   String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
                   database+= filename.trim() + ";DriverID=22;READONLY=true}";
                   Connection con = DriverManager.getConnection( database ,"","");
                   Statement s = con.createStatement();
                   s.execute ("SELECT * FROM inquiries WHERE manager = '" + mgrid + "'");
                   ResultSet rs = s.getResultSet();
                   int cur;
                   if (rs != null) {
                   while (rs.next()) {
                        cur = rs.getRow();
                        cur -- ;
                        int curID = rs.getInt("ID");
                        this.newIR.setID(curID);
                        String cursub = rs.getString("submitter");
                        this.newIR.setSubmitter(cursub);
                        this.iRecords.add(cur, this.newIR);
                   this.size = iRecords.size();
                   this.pages = this.size / 10;
                   int remain = this.size % 10;
                   if (remain > 0) { this.pages++; }
                             } else { System.out.println("no records."); }
              catch (Throwable e) {
                   System.out.println(e);
         }Edited by: EJP on 21/06/2011 09:15: added {noformat}{noformat} tags. Please use them.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    But I'm getting an IndexOutOfBounds exception on what appears here as line 11.Line 11 of what? You've posted three separate pieces of code.
                   Statement s = con.createStatement();
                   s.execute ("SELECT * FROM inquiries WHERE manager = '" + mgrid + "'");
    PreparedStatement s = con.prepareStatement("SELECT * FROM inquiries WHERE manager = ?'", Statement.NO_GENERATED_KEYS);
    s.setObject(1, mgrid);
                   ResultSet rs = s.getResultSet();
                   int cur;
                   if (rs != null) { 'rs' cannot be null. Test is pointless.
                        cur = rs.getRow();
                        cur -- ;
    cur = rs.getRow()-1;
                        this.iRecords.add(cur, this.newIR);
    this.iRecords.add(this.newIR);'newIR' mustn't be a member variable, it should be local, and refer to a newly created instance every time around the loop. At the moment you are overwriting previous elements of 'iRecords'.
                   this.pages = this.size / 10;
    this.pages = (this.size+9)/10;
                   if (remain > 0) { this.pages++; }
                             } else { System.out.println("no records."); }Wrong message. If 'remain' is zero there may be any multiple of 10 records. You can remove this entire block: adding 9 above does all you need.

  • Question on Processing Pattern Sessions - not behaving as expected

    I have implemented some schedulable jobs in my extensible cache configuration that are scheduled at a fixed rate and then use the processing pattern to submit work to the grid.
    However I am seeing some unexpected behaviour which does not seem to make much sense. My jobs are submitted to the grid as follows (some code edited for brevity):-
    @Override
         public void run() {
              ProcessingSession session = null;
              try {
              session = new DefaultProcessingSession(StringBasedIdentifier.newInstance("MySession"));
              SubmissionOutcome outcome = session.submit(this, new DefaultSubmissionConfiguration(),
         new TaskSubmissionCallback(taskName));
              catch (Throwable t) {
                   log.error("Failed to Submit Process Pattern Task [{}] For Session [{}]", taskName, nodeName);
              finally {
                   try {
                        session.shutdown();
                   catch (Throwable t) {
                        log.error("[{}] Failed to Shutdown Processing Pattern Session [{}]", this, nodeName);
    My tasks get scheduled and then submiited and executed in the grid. I am currently only running a single node through eclipse for testing.
    But after the task has excecuted my TaskSubmissionCallback class gets invoked and the onDone() gets called and returns my result:-
    public void onDone(Object oResult)
         log.debug("[{}] Submission done - Result = [{}]", m_sTaskName, oResult);
    So all is working. However a couple of milliseconds later I see the following in the logs:-
    2012-04-03 17:15:50.407/19.274 Oracle Coherence GE 3.6.0.4 <Error> (thread=DistributedCache:DistributedServiceForProcessingPatternSubmissionResults:EventDispatcher, member=1): The following exception was caught by the event dispatcher:
    2012-04-03 17:15:50.407/19.274 Oracle Coherence GE 3.6.0.4 <Error> (thread=DistributedCache:DistributedServiceForProcessingPatternSubmissionResults:EventDispatcher, member=1):
    java.util.concurrent.RejectedExecutionException
         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
         at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:216)
         at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:366)
         at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:438)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession.removeCacheObjectsAsynch(DefaultProcessingSession.java:313)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession.handleResultChange(DefaultProcessingSession.java:288)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession$1.onMapEvent(DefaultProcessingSession.java:204)
         at com.tangosol.util.MultiplexingMapListener.entryUpdated(MultiplexingMapListener.java:42)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
         at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:557)
         at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
         at com.tangosol.coherence.component.util.SafeNamedCache.entryUpdated(SafeNamedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap$ProxyListener.dispatch(PartitionedCache.CDB:22)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap$ProxyListener.entryUpdated(PartitionedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:619)
    I have managed to solve this by removing the session.shutdown() call in the class that submits the job for processing using the Processing Pattern. However this seems odd to me
    as the submitter should not need to hang around until the job completes (as that is surely the point of the Callback handler). I can of course code around this by having a Singleton
    class which keeps the Processing session alive constantly and stores this in the Environment. But the question is why ???
    This is running Coherence 3.6 and coherence-processingpattern-1.3.423238.
    Would be grateful to know if this is a bug or my understanding is somehow confused !
    TIA
    Martin

    I agree, believe me. However, one goes to war with the army one has, not the army one wishes one had, to quote somebody who, um... okay, failed miserably. Hmm...
    It's a flat-rate project, so the troubleshooting isn't costing them any more, and their IT department wags the rest of the company and won't buy stuff. Eventually they'll have CS4 and these problems will go away, but probably not until next year.
    If I were willing to give up the CS4-specific features (which I'm not; maximum efficiency in long documents is the core competency of my business), working in CS3 still wouldn't be an option because I don't own it. I'm also not likely to be able to talk the client into the idea that I'll take care of the last-minute tweaks instead of their having to do it all.
    (Keep in mind, too, that there's more behind the scenes than I'm necessarily sharing in a quick forum post. If I can keep the typesetting from shifting in the .inx for now, I'm good.)
    I filed that bug report--thanks!
    UPDATE: Client says it looks right. Off we go...

  • Cache Management: Firefox does not behave as expected when setting cache preferences

    I presently play a game online and override my cache management. I Set in the preferences the following parameters.
    browser.cache.disk.max_entry_size = 2000:
    browser.cache.disk.smart_size.enabled = false
    However, when I check the properties of the cache folder it currently shows 2200.
    Here is a subset of the problem I am experiencing. There are alot of files stored in cache_001, 002 and 003 which do not get stored on disk. I use mozillacacheview to view the cache. Is there a way to remove these files without deleting the entire cache.

    no problem, i'm not sure if understand your follow-up question correctly. _cache_001_ 002, 003 contain a mix of index files, metadata and data of the cache itself, so it woudn't be safe to delete those whole files in windows when you want to keep the integrity of the cache intact. i don't know if mozillacacheview offers the option to selectively remove files from the cache, but i think this extension does: [https://addons.mozilla.org/firefox/addon/cacheviewer-continued/]

  • BufferedInputStream does not behave as expected in HP-UX

    Hi !
    I don't know if anybody experienced similar problem before.
    I have this code:
    try{
              BufferedInputStream     bis=new BufferedInputStream(ios,bufferSize*1024*1024);
              log.debug("The mark support val in retrieveFileRemote: "+bis.markSupported());
              //archive in source
              //mark as resetable
              bis.mark(0);
              archiveFile(filename,bis);
              bis.reset();
              if(!commandOK){
                   //TODO: log some error here
                   log.error("There is something wrong in the process of retrieving the file: "+filename+" in "+getHost());
                   eAlert.setEmBody("There is something wrong in the process of retrieving the file: "+filename+" in"+getHost());
                   eAlert.sendEmail();
                   return bis;
              return bis;
              }catch(Exception e){
                   log.error("something wrong in BufferedInputStream",e);
              }what it does is just initialize an InoutStream into BufferedInputStream to be able to be marked and reset for reuse. This is a part of my webapps and run under Tomcat 5.0.28. The code works well in Windows box, but when I deploy the exact same code in HP-UX it does not return the value to me. the 'bis' is just null and it doesn't return any error either.
    The bufferSize was set to 50. So it is quite large. Would this be a problem in UNIX ? Do I need to chane the heap size setting ? I'm using default setting from Tomcat.
    Thanks for any comment.

    Need to see more of you program. Make sure you're not working against UNIX file permissions.

  • Items in session state not behaving as expected

    And again...
    (I hope I'm not asking too much, posting 2 new questions in under 5 min....)
    This is something new I experienced: I need to show the value of an item (P210_EXTERNAL_ID) on a page (P215)
    ... not a big thing I thought... BUT when I tried to do this I hit the ground pretty rough (I thought I had actually gained some knowledge about html-db.)
    My problem is that I pass on a lot of values from P200 (the report) to P215 (the form) and I reached the limit of characters, that can be used to specify the link (to P215).
    So I thought to myself: Well, lets do it different!
    I tried:
    - specifying a default for the item on P215: P215_EXTERNAL_ID,
    - specifying the source for P215_EXTERNAL_ID,
    - creating a computation on P215_EXTERNAL_ID,
    - filling P215_EXTERNAL_ID 'manually' with a process...
    none of these did play the trick for me.
    (By the way, I used both syntaxes to reference :P210_EXTERNAL_ID and &P210_EXTERNAL_ID.)
    I used Display as Text (saves state) for the item on P215: P215_EXTERNAL_ID,
    the item on P210: P210_EXTERNAL_ID is a Text Field.
    The unexpected thing I experienced, was that the Item on P215 stayed empty or lagged behind:
    - visit P210 with P210_EXTERNAL_ID = 1234
    --- branch to P215 (P215_EXTERNAL_ID is empty)
    - revisit P210 with P210_EXTERNAL_ID = 5
    --- branch to P215 (P215_EXTERNAL_ID = 1234)
    - revisit P210 with P210_EXTERNAL_ID = 66
    --- branch to P215 (P215_EXTERNAL_ID = 5)
    After realizing this I took a look at the session (with the link at the bottom of each page).
    And in the Session State the value of P210_EXTERNAL_ID was the old value (always one behind)!!!
    Has anybody ever seen something like this??
    I'm really running out of ideas here.
    -David-

    Bill,
    Usually I use the pass-on-only-the-PK method too, but here I built something like a consolidated view on a table: one row in the report doesn't correspond to one row in the table, but a group of rows, that are located in the same freezer, same shelf, same rack and same box. So the PK woun't work here b/c I don't have one in the first place... But the thing with referencing other pages items might do the trick to bring down the number of other values I pass on.
    Another thought with the example:
    - visit P210 with P210_EXTERNAL_ID = 1234
    --- branch to P215 (P215_EXTERNAL_ID is empty)
    - revisit P210 with P210_EXTERNAL_ID = 5
    --- branch to P215 (P215_EXTERNAL_ID = 1234)
    - revisit P210 with P210_EXTERNAL_ID = 66
    --- branch to P215 (P215_EXTERNAL_ID = 5)
    When I click on the edit button on P210 to go to P215, is the page P210 not submitted?
    If that's the case, I understand why P210_EXTERNAL_ID in Session State has the last, but not the current value.... Since I branche off that page before submit, the items current values are not written to session state.
    Anyone any thoughts to that???
    -David-

  • Purge Cache by Table not behaving as expected

    Hello Gurus,
    We are using OBIEE 10.1.3.3.1.
    We have requirement where we need to Purge the cache by Table.
    So I am using ODBC function:
    Call SAPurgeCacheByTable ('DBName','Catalog','Schema','Physical Table');
    so when I run this from cmd prompt :
    nqcmd -d AnalyticsWeb -u Username -p password -s C:\OracleBI\Server\Bin\clear_cache.txt
    I got the result message as succeeded like below:
    [59118] Operation SAPurgeCacheByTable succeeded!
    row count 1
    Processed Queries 1
    But the thing is Local cache and web cache is not getting purged (.TBL files)
    Please help to resolve this issue.
    Thanks
    Kanna

    Hi,
    the problem is that OBIEE 10.1.3.4.0 ha a bug, see the support document SAPurgeCacheByTable and SAPurgeCacheByDatabase not working [ID 787797.1].
    The bug is logged as Bug 6906535 and it is fixed in the next release which is 11.1.
    There is currently no fix for 10.1.3.4.
    The support proposes to use SAPurgeAllCache() as a workaround.
    I hope it helps.
    Regards,
    Gianluca Ancarani

  • Checkboxes not behaving as expected

    All,
         I am pulling my hair out here.  I have a movieclip that contains some checkboxes "preferences_mc".  I have an xml file that is loaded in and has an element called "isUnique" which has children with unique names like id, title, version and such.  What I am trying to accomplish is for the form I am building to be able to select/deselect each checkbox and save the selection out to an xml file.  I have gotten that far and everything is working perfectly.  My problem is that after I load the xml back in and try to set the checkbox.selected = xmlPrefs.isUnique.id to get the checkbox to use the data from the xml file to decide whether it is selected or deselected, it ALWAYS selects the box whether it is true or false.  I have tried everything.  xmlPrefs.isUnique.id traces out as false which is correct but the screen still shows the checkbox selected.  I even tried casting the xml as a Boolean and it still returns as a selected checkbox.  I can select/deselect each checkbox and save the preferences out to an xml file correctly as well as read it back in correctly, it just will NOT set the checkboxes selection correctly.  Anyone have a clue because apparently, I am lost.  Oh, by the way, I also tried creating a new instance in actionscript and tried to assign the .selected property and then addChild and it STILL comes out selected even though it traces false.

    Hi,
    Try this:
    var isUnique:Boolean = ( xmlPrefs.isUnique.id == "true" ) ? true : false;
    checkbox.selected = isUnique;
    Actually, when fetching values from xml, they come as string and hence just type-casting them will only return true as it just check for a value to be present.
    Warm Regards
    Deepanjan Das
    http://deepanjandas.wordpress.com/

  • Script Logic is not behaving as expected

    I've written the script shown below and I can't figure out why I can use "GET" to retrieve temporary Revenue records that I'm creating but not the temporary Visit records.  I need to retrieve 6 months of actual Revenue and Visits (a statistic), then multiply Budget Visits by actual revenue / actual visits.  There are some differences in the datasrc, account, entity and category dimensions among the three types of recods, but I think I've accomodated them.  I'm hoping that another set of eyes will see somthing obvious - any help would be greatly appreciated.
    Thanks,
    Tom
    //$$ HERE'S THE CONTENTS OF A FILE THAT CONTAINS CONSTANTS
    /////////// BEGIN ConstGrossRev.lgf ///////////////////////////////////////////////////////////////////////
    // CONSTANTS FOR USE IN BUDGET GROSS REVENUE AND ALLOWANCES CALCULATIONS
    // @@@@@@@ EDIT THE FOLLOWING LINES ONLY WHEN NEW BUDGET YEAR BEGINS @@@@@@@
    // Budget Year
    *FUNCTION varBUDYR=2009
    // Current Year
    *FUNCTION varCURYR=2008
    // @@@@@@@@ EDIT THE ABOVE LINES ONLY WHEN NEW BUDGET YEAR BEGINS @@@@@@@@
    // Current Year Months for Average Charge Calculation
    // FIRST 6 MONTHS
    *FUNCTION varCURMOS=varCURYR.JAN,varCURYR.FEB,varCURYR.MAR,varCURYR.APR,varCURYR.MAY,varCURYR.JUN
    /////////// END ConstGrossRev.lgf ///////////////////////////////////////////////////////////////////////
    //$$ THE CODE....
    /////////// BEGIN CreateGrossRev.lgf ///////////////////////////////////////////////////////////////////////
    // Budget Gross Revenue = Act 6 mos Gross / Act 6 mos Visits * Bud Visits
    // ie. 2009 Bud Gross Rev = 2008 Act 6 Mos Gross / 2008 Act 6 mos Visits * 2009 Bud Visits
    // Include the Constants File - This contains a user modifiable value that changes from year to year.
    *INCLUDE ConstGrossRev.LGF
    // SCOPE FOR ALL VISIT ACCOUNTS AND GROSS CHARGES, ACTUAL AND BUDGET
    *MEMBERSET(%ACCTS%,"Descendants([ACCOUNTFIN].[OPTotalVisits],99,LEAVES)")
    *MEMBERSET(%BUDMOS%,"Descendants([TIME].[varBUDYR.TOTAL],99,LEAVES)")
    *XDIM_MEMBERSET ACTIONPLAN=<ALL>
    *XDIM_MEMBERSET AFFILIATE=<ALL>
    *XDIM_MEMBERSET CHARGECODE=<ALL>
    *XDIM_MEMBERSET DATASRCFIN=<ALL>
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET PROJECT=<ALL>                                                
    *XDIM_MEMBERSET CATEGORY=ACTUAL,BUDGET
    *XDIM_MEMBERSET TIME=%BUDMOS%,varCURMOS
    *XDIM_MEMBERSET ACCOUNTFIN=%ACCTS%,A_41000,A_41100,A_41150,A_41170,A_41200,A_41300,A_41400,,A_41500,A_41600
    *WHEN CATEGORY
      *IS "ACTUAL"
        *WHEN TIME.YEAR
          *IS "varCURYR"
            *WHEN ACCOUNTFIN.GRREV_ACCT
              *IS <> ""
    //$$ NEXT NON-COMMENT LINE RETURNS
    //$$ ACCOUNTFIN,ACTIONPLAN,AFFILIATE,CATEGORY,PROJECT,CHARGECODE,DATASRCFIN,ENTITY,TIME,SIGNEDDATA
    //$$ A_90700,BASE,NO_AFFILIATE,#TEMP_VIS,NO_PROJECT,ALL_cHARGECODES,PEOPLESOFT,FORES,2009.INP,567.89  (AND ANOTHER 50 VALID RECORDS)
                *REC(TIME="varBUDYR.INP",ENTITY=ENTITY.BU,CATEGORY="#temp_VIS")
            *ELSE
    //$$ NEXT NON-COMMENT LINE RETURNS
    //$$ ACCOUNTFIN,ACTIONPLAN,AFFILIATE,CATEGORY,PROJECT,CHARGECODE,DATASRCFIN,ENTITY,TIME,SIGNEDDATA
    //$$ A_90700,BASE,NO_AFFILIATE,#TEMP_REV,NO_PROJECT,NO_cHARGECODE,PEOPLESOFT,FORES,2009.INP,234567.89  (AND ANOTHER 15 VALID RECORDS)
                *REC(ACCOUNTFIN=ACCOUNTFIN.VIS_ACCT,TIME="varBUDYR.INP",ENTITY=ENTITY.BU,CATEGORY="#temp_REV")
            *ENDWHEN
        *ENDWHEN
    *ENDWHEN
    *GO
    *WHEN CATEGORY
      *IS "BUDGET"
        *WHEN TIME.YEAR
          *IS "varBUDYR"
            *WHEN ACCOUNTFIN.GRREV_ACCT
              *IS <> ""
    //$$ NEXT NON-COMMENT LINE RETURNS
    //$$ ACCOUNTFIN,ACTIONPLAN,AFFILIATE,CATEGORY,PROJECT,CHARGECODE,DATASRCFIN,ENTITY,TIME,SIGNEDDATA
    //$$ A_90700,BASE,NO_AFFILIATE,BUDGET,NO_PROJECT,NO_cHARGECODE,PEOPLESOFT,FORES,2009.INP,234567.89  (AND ANOTHER 200 VALID RECORDS)
    //$$ THIS RETURNS THE CORRECT RECORDS FROM BEFORE THE "GO"
                 *REC(EXPRESSION=GET(TIME="varBUDYR.INP",CATEGORY="#temp_REV",ENTITY=ENTITY.BU,DATASRCFIN="PEOPLESOFT",CHARGECODE="NO_CHARGECODE"))
    //$$ NEXT NON-COMMENT LINE RETURNS
    //$$ ACCOUNTFIN,ACTIONPLAN,AFFILIATE,CATEGORY,PROJECT,CHARGECODE,DATASRCFIN,ENTITY,TIME,SIGNEDDATA
    //$$ A_90700,BASE,NO_AFFILIATE,BUDGET,NO_PROJECT,ALL_cHARGECODES,PEOPLESOFT,FORES,2009.INP,0  (AND ANOTHER 50 VALID RECORDS)
    //$$ THIS RETURNS RECORDS WITH A VALUE OF ZERO IN ALL CASES!
                 *REC(EXPRESSION=GET(TIME="varBUDYR.INP",CATEGORY="#temp_vis",ENTITY=ENTITY.BU,DATASRCFIN="PEOPLESOFT"))
            *ENDWHEN
        *ENDWHEN
    *ENDWHEN
    *COMMIT
    /////////// END ConstGrossRev.lgf ///////////////////////////////////////////////////////////////////////

    Hi Tom
    I don't see where you define or set value for #TEMP_REV and #TEMP_VIS
    something like
    *WHEN CATEGORY.FLAG
    *IS = Y
      *REC(CATEGORY=#TEMP_VIS)
    *ELSE
      *REC(CATEGORY=#TEMP_REV)
    *ENDWHEN
    *GO

  • Bc4j not behaving correctly when details are repeatedly added/removed

    Hi,
         I'm having problems creating a form with a master detail relationship. Seems like bc4j is not behaving correctly when details with the same keys are repeatedly added and removed.
         I've 3 entities maintenance order, maintenance and maintenance type with the relationships maintenance order 1:n maintenance n:1 maintenance type. My application module data model has one view for each of these entities and a view link between maintenance order and maintenance.
         In the maintenance order form, I can choose which maintenance types apply to a maintenance order by marking checkboxes. The struts action that saves the maintenance order, I remove/add maintenance records base on the selected/unselected checkboxes.
    Sequence of events:
    1) Open maintenance order - Maintenance order shown with all maintenances selected
    2) Uncheck all maintenances and save order - all maintenances removed from db
    3) Open maintenance order - Maintenance order shown with no maintenances selected as expected
    4) Check all maintenances and save order - all maintenances saved to db
    5) Open maintenance order - Maintenance order shown with all maintenances selected as expected
    6) Uncheck all maintenances and save order - NO maintenances removed from db
    7) Open maintenance order - Maintenance order shown with NO maintenances selected, even thought there are maintenances in the db
    8) Check all maintenances and save order - bc4j tried to insert new maintenance records in the db and an exception was raised due to unique constraint violation
    My environment is: Sun JDK 1.4.1_01, JDeveloper 9.0.3.4 (build 1247), testing with the embedded server
    Server log produced with jbo.debugoutput=console:
    [17] BC4J Property jbo.default.language='pt' -->(MetaObjectManager) from System Default
    [18] BC4J Property jbo.default.country='BR' -->(MetaObjectManager) from System Default
    [19] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [20] Skipping empty Property ConnectionMode from System Default
    [21] Skipping empty Property HostName from System Default
    [22] Skipping empty Property ConnectionPort from System Default
    [23] BC4J Property jbo.locking.mode='pessimistic' -->(MetaObjectManager) from System Default
    [24] Skipping empty Property ApplicationPath from System Default
    [25] BC4J Property AppModuleJndiName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule' -->(SessionImpl) from Client Environment
    [26] Skipping empty Property java.naming.security.principal from System Default
    [27] Skipping empty Property java.naming.security.credentials from System Default
    [28] Skipping empty Property jbo.user.principal from System Default
    [29] Skipping empty Property jbo.object.marshaller from System Default
    [30] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [31] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [32] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [33] Skipping empty Property jbo.pcoll.mgr from System Default
    [34] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [35] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [36] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [38] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [40] Skipping empty Property JBODynamicObjectsPackage from System Default
    [41] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [43] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [44] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [45] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [46] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [47] Skipping empty Property HandleName from System Default
    [48] Skipping empty Property Factory-Substitution-List from System Default
    [49] BC4J Property jbo.project='Sinalizacao' -->(Configuration) from Client Environment
    [50] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [51] BC4J Property jbo.dofailover='true' -->(Configuration) from System Default
    [52] BC4J Property jbo.doconnectionpooling='false' -->(Configuration) from System Default
    [53] BC4J Property jbo.recyclethreshold='10' -->(Configuration) from System Default
    [54] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(Configuration) from System Default
    [55] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [56] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.http.HttpSessionCookieFactory' -->(Configuration) from Client Environment
    [57] BC4J Property jbo.ampool.connectionstrategyclass='oracle.jbo.common.ampool.DefaultConnectionStrategy' -->(Configuration) from System Default
    [58] BC4J Property jbo.ampool.maxpoolsize='2147483647' -->(Configuration) from System Default
    [59] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from System Default
    [60] BC4J Property jbo.ampool.monitorsleepinterval='600000' -->(Configuration) from System Default
    [61] BC4J Property jbo.ampool.minavailablesize='5' -->(Configuration) from System Default
    [62] BC4J Property jbo.ampool.maxavailablesize='25' -->(Configuration) from System Default
    [63] BC4J Property jbo.ampool.maxinactiveage='600000' -->(Configuration) from System Default
    [64] BC4J Property jbo.ampool.doampooling='true' -->(Configuration) from System Default
    [65] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [66] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [67] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [68] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [69] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [70] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
    [71] BC4J Property PoolClassName='oracle.jbo.common.ampool.ApplicationPoolImpl' -->(Configuration) from System Default
    [72] BC4J Property jbo.maxpoolsize='2147483647' -->(Configuration) from System Default
    [73] BC4J Property jbo.initpoolsize='0' -->(Configuration) from System Default
    [74] BC4J Property jbo.poolrequesttimeout='30000' -->(Configuration) from System Default
    [75] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(Configuration) from System Default
    [76] BC4J Property jbo.poolminavailablesize='5' -->(Configuration) from System Default
    [77] BC4J Property jbo.poolmaxavailablesize='25' -->(Configuration) from System Default
    [78] BC4J Property jbo.poolmaxinactiveage='600000' -->(Configuration) from System Default
    [79] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [80] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [81] BC4J Property jbo.viewlink.consistent='false' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [82] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [83] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [84] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [85] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [86] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [87] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [88] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [89] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [90] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [91] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
    [92] Skipping empty Property jbo.tmpdir from System Default
    [93] Skipping empty Property jbo.server.internal_connection from System Default
    [94] Skipping empty Property SessionClass from System Default
    [95] Skipping empty Property TransactionFactory from System Default
    [96] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [97] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [98] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [99] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [100] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [101] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [102] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [103] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [104] Skipping empty Property oracle.home from System Default
    [105] Skipping empty Property oc4j.name from System Default
    [106] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [107] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [108] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [109] Skipping empty Property oracle.jbo.schema from System Default
    [110] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [111] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [112] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [113] Skipping empty Property ord.HttpTempDir from System Default
    [114] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [115] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [116] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [117] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [118] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [119] Skipping empty Property ord.rp.codebase from System Default
    [120] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [121] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [122] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [123] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [124] BC4J Property jbo.security.loginmodule='oracle.security.jazn.tools.Admintool' -->(SessionImpl) from System Default
    [125] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [126] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@cdsvandromeda:1521:dctm') to session
    [127] Copying unknown Client property (password='kitbordo') to session
    [128] Copying unknown Client property (JDBCName='Kitbordo') to session
    [129] Copying unknown Client property (jbo.jndi.use_default_context='true') to session
    [130] Copying unknown Client property (user='kitbordo') to session
    [131] Copying unknown Client property (jbo.applicationmoduleclassname='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
    [132] Copying unknown Client property (ApplicationName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
    [133] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [134] }} finished loading BC4J properties
    [135] -----------------------------------------------------------
    Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [136] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [137] JavaVMVersion: 1.4.1_01-b01
    [138] JavaVMVendor: Sun Microsystems Inc.
    [139] JavaVMName: Java HotSpot(TM) Client VM
    [140] OperatingSystemName: Windows 2000
    [141] OperatingSystemVersion: 5.0
    [142] OperatingSystemUsername: Lbueno
    [143] Jbo323Compatible Flag: false, str: false
    [144] Loading from Sinalizacao.jpx file
    [145] Loading from indvidual XML files
    [146] Loading the Containees for the Package 'Sinalizacao.Sinalizacao'.
    [147] Connected to Oracle JBO Server - Version: 9.0.3.11.88
    [148] BC4J: Instrumentation disabled
    [149] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/service.xml file
    [150] Loading from indvidual XML files
    [151] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.service'.
    [152] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/CadastroDeManutencaoModule.xml file
    [153] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/view.xml file
    [154] Loading from indvidual XML files
    [155] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.view'.
    [156] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/TipoManutencaoBoiaView.xml file
    [157] ViewObjectImpl's default fetch mode = 0
    [158] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/entity.xml file
    [159] Loading from indvidual XML files
    [160] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.entity.entity'.
    [161] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaEntity.xml file
    [162] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
    [163] Stringmanager using default locale: 'pt_BR'
    [164] CSMessageBundle (language base) being initialized
    [165] OracleSQLBuilder reached getInterface
    [166] Oracle SQL Builder Version 3.2.0.0.0
    [167] ViewRowSetImpl's jbo.viewlink.consistent = false (0)
    [168] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/BoiasPorCanalView.xml file
    [169] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/BoiaEntity.xml file
    [170] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoBoiaView.xml file
    [171] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoManutencaoBoiaEntity.xml file
    [172] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaView.xml file
    [173] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaEntity.xml file
    [174] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaViewLink.xml file
    [175] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaAssociation.xml file
    [176] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [177] mUsePersColl is false
    [178] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [179] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [180] DBTransactionImpl Max Cursors is 50
    [181] Created root application module: 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule'
    [182] Locale is: 'pt_BR'
    [183] DefaultConnectionStrategy is establishing an application module connection
    [184] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [185] Creating a new pool resource
    [186] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo}' ...
    [187] Successfully logged in
    [188] JDBCDriverVersion: 9.0.1.4.0
    [189] DatabaseProductName: Oracle
    [190] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production
    [191] **PCollManager.resolveName** tabName=PS_TXN
    [192] **retrieve** id=-1, collid=6838, keyonly=falseGetting a connection for internal use...
    [193] Creating internal connection...
    [194] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [195] Creating a new pool resource
    [196] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo, dll=ocijdbc9, protocol=thin}' ...
    [197] , parid=0, ret=oracle.jdbc.driver.OracleBlobInputStream
    [198] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
    [199] **retrieve** id=1, collid=6838, keyonly=false, parid=-1, ret=oracle.jdbc.driver.OracleBlobInputStream
    [200] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
    [201] Clearing VO cache for TipoManutencaoBoiaView
    [202] Clear QueryCollection in cache...
    [203] Clearing VO cache for BoiasPorCanalView
    [204] Clear QueryCollection in cache...
    [205] Clearing VO cache for HistoricoManutencaoBoiaView
    [206] Clear QueryCollection in cache...
    [207] Getting a connection for internal use...
    [208] Creating internal connection...
    [209] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [210] Clearing VO cache for BoiasPorCanalView
    [211] Clear QueryCollection in cache...
    07/09/2004 12:07:51 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    [212] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoViewLink.xml file
    [213] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoDeManutencaoDeBoiaAssociation.xml file
    [214] Column count: 23
    [215] ViewObject : Created new QUERY statement
    [216] SELECT Boia.H55SCANA, Boia.H55CODBO, Boia.H55LATGR, Boia.H55LATMI, Boia.H55LATSE, Boia.H55INDLA, Boia.H55VALEX, Boia.H55LONGR, Boia.H55LONMI, Boia.H55LONSE, Boia.H55INDLO, Boia.H55VALEY, Boia.H55CORLP, Boia.H55REMOV, Boia.H55NRORD, Boia.H55PROJE, Boia.H55PINTU, Boia.H55CARAC, Boia.H55EQLUM, Boia.H55FOLUM, Boia.H55EQFUN, Boia.H55EQMON FROM H55BOIAT Boia WHERE Boia.H55SCANA = :1
    [217] Binding param 1: 21
    [218] Clearing VO cache for TipoManutencaoBoiaView
    [219] Clear QueryCollection in cache...
    [220] Column count: 2
    [221] ViewObject : Created new QUERY statement
    [222] SELECT TipoManutencaoBoiaEntity.H5PSTPMB, TipoManutencaoBoiaEntity.H5PNOMAN FROM H5PTPMBT TipoManutencaoBoiaEntity ORDER BY TipoManutencaoBoiaEntity.H5PNOMAN ASC
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    [223] Application Module failover is enabled
    [224] Getting a connection for internal use...
    [225] Creating internal connection...
    [226] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [227] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" im="1" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [228] **insert** id=1, parid=-1, collid=6844, keyArr.len=-1, cont.len=1043
    [229] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [230] **commit** #pending ops=1
    [231] **insert** id=-1, parid=0, collid=6844, keyArr.len=-1, cont.len=665
    [232] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [233] **commit** #pending ops=1
    [234] Getting a connection for internal use...
    [235] Creating internal connection...
    [236] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [237] **deleteAll** collid=6838
    [238] stmt: delete "PS_TXN" where collid=:1
    [239] **commit** #pending ops=1
    [240] Reusing a cached session application module instance
    [241] Getting a connection for internal use...
    [242] Creating internal connection...
    [243] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [244] Column count: 5
    [245] ViewObject : Created new QUERY statement
    [246] SELECT HistoricoManutencaoBoia.H56CODBO, HistoricoManutencaoBoia.H56DTMAN, HistoricoManutencaoBoia.H56DESCR, HistoricoManutencaoBoia.H56SCANA FROM H56HIMAT HistoricoManutencaoBoia WHERE HistoricoManutencaoBoia.H56CODBO = ? and HistoricoManutencaoBoia.H56SCANA = ?
    [247] Binding param 1: XPPP
    [248] Binding param 2: 21
    [249] Clearing VO cache for HistoricoManutencaoBoiaView
    [250] Clear QueryCollection in cache...
    [251] Column count: 5
    [252] ViewObject : Reusing defined prepared Statement
    [253] Binding param 1: XPPP
    [254] Binding param 2: 21
    [255] Application Module failover is enabled
    [256] Getting a connection for internal use...
    [257] Creating internal connection...
    [258] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [259] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [260] **insert** id=1, parid=-1, collid=6847, keyArr.len=-1, cont.len=1036
    [261] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [262] **commit** #pending ops=1
    [263] **insert** id=-1, parid=0, collid=6847, keyArr.len=-1, cont.len=665
    [264] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [265] **commit** #pending ops=1
    [266] Getting a connection for internal use...
    [267] Creating internal connection...
    [268] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [269] **deleteAll** collid=6844
    [270] stmt: delete "PS_TXN" where collid=:1
    [271] **commit** #pending ops=1
    [272] Reusing a cached session application module instance
    [273] Getting a connection for internal use...
    [274] Creating internal connection...
    [275] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [276] Column count: 6
    [277] ViewObject close prepared statements...
    [278] ViewObject : Created new QUERY statement
    [279] SELECT ManutencaoBoiaEntity.H6ASCANA, ManutencaoBoiaEntity.H6ACODBO, ManutencaoBoiaEntity.H6ADTMAN, ManutencaoBoiaEntity.H6ASTPMB, TipoManutencaoBoiaEntity.H5PSTPMB AS CODIGO_TIPO_MANUTENCAO_BOIA1, TipoManutencaoBoiaEntity.H5PNOMAN FROM H6AMABOT ManutencaoBoiaEntity, H5PTPMBT TipoManutencaoBoiaEntity WHERE (ManutencaoBoiaEntity.H6ASCANA = :1 AND ManutencaoBoiaEntity.H6ACODBO = :2 AND ManutencaoBoiaEntity.H6ADTMAN = :3)
    [280] Binding param 1: 21
    [281] Binding param 2: XPPP
    [282] Binding param 3: 2004-06-02
    07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    [283] Application Module failover is enabled
    [284] Getting a connection for internal use...
    [285] Creating internal connection...
    [286] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [287] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDAT07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:08:20 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    A[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [288] **insert** id=1, parid=-1, collid=6849, keyArr.len=-1, cont.len=1036
    [289] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [290] **commit** #pending ops=1
    [291] **insert** id=-1, parid=0, collid=6849, keyArr.len=-1, cont.len=665
    [292] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [293] **commit** #pending ops=1
    [294] Getting a connection for internal use...
    [295] Creating internal connection...
    [296] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [297] **deleteAll** collid=6847
    [298] stmt: delete "PS_TXN" where collid=:1
    [299] **commit** #pending ops=1
    [300] Reusing a cached session application module instance
    [301] Getting a connection for internal use...
    [302] Creating internal connection...
    [303] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [304] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [305] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [306] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [307] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatoriosSetorSinalizacaoNauticaBoiaAssociation.xml file
    [308] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatorioSetorSinalizacaoNauticaEntity.xml file
    [309] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [310] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [311] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [312] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaAssociation.xml file
    [313] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [314] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
    [315] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
    [316] QueryCollection: afterRemove(0)
    [317] ViewRowCache: removeReference
    [318] ViewRowCache: removeReference
    [319] QueryCollection: afterRemove(5)
    [320] ViewRowCache: removeReference
    [321] ViewRowCache: removeReference
    [322] QueryCollection: afterRemove(10)
    [323] ViewRowCache: removeReference
    [324] ViewRowCache: removeReference
    [325] QueryCollection: afterRemove(15)
    [326] ViewRowCache: removeReference
    [327] ViewRowCache: removeReference
    [328] QueryCollection: afterRemove(20)
    [329] ViewRowCache: removeReference
    [330] ViewRowCache: removeReference
    [331] QueryCollection: afterRemove(25)
    [332] ViewRowCache: removeReference
    [333] ViewRowCache: removeReference
    [334] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [335] Reusing prepared LOCK statement
    [336] QueryCollection: afterRemove(0)
    [337] ViewRowCache: removeReference
    [338] ViewRowCache: removeReference
    [339] QueryCollection: afterRemove(4)
    [340] ViewRowCache: removeReference
    [341] ViewRowCache: removeReference
    [342] QueryCollection: afterRemove(8)
    [343] ViewRowCache: removeReference
    [344] ViewRowCache: removeReference
    [345] QueryCollection: afterRemove(12)
    [346] ViewRowCache: removeReference
    [347] ViewRowCache: removeReference
    [348] QueryCollection: afterRemove(16)
    [349] ViewRowCache: removeReference
    [350] ViewRowCache: removeReference
    [351] QueryCollection: afterRemove(20)
    [352] ViewRowCache: removeReference
    [353] ViewRowCache: removeReference
    [354] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [355] Reusing prepared LOCK statement
    [356] QueryCollection: afterRemove(0)
    [357] ViewRowCache: removeReference
    [358] ViewRowCache: removeReference
    [359] QueryCollection: afterRemove(3)
    [360] ViewRowCache: removeReference
    [361] ViewRowCache: removeReference
    [362] QueryCollection: afterRemove(6)
    [363] ViewRowCache: removeReference
    [364] ViewRowCache: removeReference
    [365] QueryCollection: afterRemove(9)
    [366] ViewRowCache: removeReference
    [367] ViewRowCache: removeReference
    [368] QueryCollection: afterRemove(12)
    [369] ViewRowCache: removeReference
    [370] ViewRowCache: removeReference
    [371] QueryCollection: afterRemove(15)
    [372] ViewRowCache: removeReference
    [373] ViewRowCache: removeReference
    [374] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [375] Reusing prepared LOCK statement
    [376] QueryCollection: afterRemove(0)
    [377] ViewRowCache: removeReference
    [378] ViewRowCache: removeReference
    [379] QueryCollection: afterRemove(2)
    [380] ViewRowCache: removeReference
    [381] ViewRowCache: removeReference
    [382] QueryCollection: afterRemove(4)
    [383] ViewRowCache: removeReference
    [384] ViewRowCache: removeReference
    [385] QueryCollection: afterRemove(6)
    [386] ViewRowCache: removeReference
    [387] ViewRowCache: removeReference
    [388] QueryCollection: afterRemove(8)
    [389] ViewRowCache: removeReference
    [390] ViewRowCache: removeReference
    [391] QueryCollection: afterRemove(10)
    [392] ViewRowCache: removeReference
    [393] ViewRowCache: removeReference
    [394] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [395] Reusing prepared LOCK statement
    [396] QueryCollection: afterRemove(0)
    [397] ViewRowCache: removeReference
    [398] ViewRowCache: removeReference
    [399] QueryCollection: afterRemove(1)
    [400] ViewRowCache: removeReference
    [401] ViewRowCache: removeReference
    [402] QueryCollection: afterRemove(2)
    [403] ViewRowCache: removeReference
    [404] ViewRowCache: removeReference
    [405] QueryCollection: afterRemove(3)
    [406] ViewRowCache: removeReference
    [407] ViewRowCache: removeReference
    [408] QueryCollection: afterRemove(4)
    [409] ViewRowCache: removeReference
    [410] ViewRowCache: removeReference
    [411] QueryCollection: afterRemove(5)
    [412] ViewRowCache: removeReference
    [413] ViewRowCache: removeReference
    [414] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [415] Reusing prepared LOCK statement
    [416] QueryCollection: afterRemove(0)
    [417] ViewRowCache: removeReference
    [418] ViewRowCache: removeReference
    [419] QueryCollection: afterRemove(0)
    [420] ViewRowCache: removeReference
    [421] ViewRowCache: removeReference
    [422] QueryCollection: afterRemove(0)
    [423] ViewRowCache: removeReference
    [424] ViewRowCache: removeReference
    [425] QueryCollection: afterRemove(0)
    [426] ViewRowCache: removeReference
    [427] ViewRowCache: removeReference
    [428] QueryCollection: afterRemove(0)
    [429] ViewRowCache: removeReference
    [430] ViewRowCache: removeReference
    [431] QueryCollection: afterRemove(0)
    [432] ViewRowCache: removeReference
    [433] ViewRowCache: removeReference
    [434] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [435] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [436] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [437] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [438] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [439] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [440] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [441] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [442] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [443] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [444] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [445] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [446] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [447] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [448] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [449] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [450] TipoManutencaoBoiaView notify COMMIT ...
    [451] BoiasPorCanalView notify COMMIT ...
    [452] HistoricoManutencaoBoiaView notify COMMIT ...
    [453] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [454] EntityCache close prepared statement
    [455] EntityCache close prepared statement
    [456] EntityCache close prepared statement
    [457] Clearing VO cache for BoiasPorCanalView
    [458] Clear QueryCollection in cache...
    [459] Column count: 23
    [460] ViewObject : Reusing defined prepared Statement
    [461] Binding param 1: 21
    [462] Clearing VO cache for TipoManutencaoBoiaView
    [463] Clear QueryCollection in cache...
    [464] Column count: 2
    [465] ViewObject : Reusing defined prepared Statement
    [466] Application Module failover is enabled
    [467] Getting a connection for internal use...
    [468] Creating internal connection...
    [469] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [470] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [471] **insert** id=1, parid=-1, collid=6850, keyArr.len=-1, cont.len=1036
    [472] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [473] **commit** #pending ops=1
    [474] **insert** id=-1, parid=0, collid=6850, keyArr.len=-1, cont.len=665
    [475] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [476] **commit** #pending ops=1
    [477] Getting a connection for internal use...
    [478] Creating internal connection...
    [479] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [480] **deleteAll** collid=6849
    [481] stmt: delete "PS_TXN" where collid=:1
    [482] **commit** #pending ops=1
    [483] Reusing a cached session application module instance
    [484] Getting a connection for internal use...
    [485] Creating internal connection...
    [486] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [487] Application Module failover is enabled
    [488] Getting a connection for internal use...
    [489] Creating internal connection...
    [490] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [491] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [492] **insert** id=1, parid=-1, collid=6851, keyArr.len=-1, cont.len=1036
    [493] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [494] **commit** #pending ops=1
    [495] **insert** id=-1, parid=0, collid=6851, keyArr.len=-1, cont.len=665
    [496] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [497] **commit** #pending ops=1
    [498] Getting a connection for internal use...
    [499] Creating internal connection...
    [500] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [501] **deleteAll** collid=6850
    [502] stmt: delete "PS_TXN" where collid=:1
    [503] **commit** #pending ops=1
    [504] Reusing a cached session application module instance
    [505] Getting a connection for internal use...
    [506] Creating internal connection...
    [507] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [508] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [509] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [510] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [511] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [512] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [513] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [514] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [515] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [516] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [517] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [518] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [519] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [520] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [521] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [522] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [523] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [524] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [525] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [526] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [527] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [528] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [529] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [530] TipoManutencaoBoiaView notify COMMIT ...
    [531] BoiasPorCanalView notify COMMIT ...
    [532] HistoricoManutencaoBoiaView notify COMMIT ...
    [533] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [534] EntityCache close prepared statement
    [535] EntityCache close prepared statement
    [536] Clearing VO cache for BoiasPorCanalView
    [537] Clear QueryCollection in cache...
    [538] Column count: 23
    [539] ViewObject : Reusing defined prepared Statement
    [540] Binding param 1: 21
    [541] Clearing VO cache for TipoManutencaoBoiaView
    [542] Clear QueryCollection in cache...
    [543] Column count: 2
    [544] ViewObject : Reusing defined prepared Statement
    [545] Application Module failover is enabled
    [546] Getting a connection for internal use...
    [547] Creating internal connection...
    [548] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [549] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [550] **insert** id=1, parid=-1, collid=6853, keyArr.len=-1, cont.len=1036
    [551] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [552] **commit** #pending ops=1
    [553] **insert** id=-1, parid=0, collid=6853, keyArr.len=-1, cont.len=665
    [554] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [555] **commit** #pending ops=1
    [556] Getting a connection for internal use...
    [557] Creating internal connection...
    [558] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [559] **deleteAll** collid=6851
    [560] stmt: delete "PS_TXN" where collid=:1
    [561] **commit** #pending ops=1
    [562] Reusing a cached session application module instance
    [563] Getting a connection for internal use...
    [564] Creating internal connection...
    [565] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [566] Application Module failover is enabled
    [567] Getting a connection for internal use...
    [568] Creating internal connection...
    [569] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [570] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [571] **insert** id=1, parid=-1, collid=6854, keyArr.len=-1, cont.len=1036
    [572] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [573] **commit** #pending ops=1
    [574] **insert** id=-1, parid=0, collid=6854, keyArr.len=-1, cont.len=665
    [575] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [576] **commit** #pending ops=1
    [577] Getting a connection for internal use...
    [578] Creating internal connection...
    [579] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [580] **deleteAll** collid=6853
    [581] stmt: delete "PS_TXN" where collid=:1
    [582] **commit** #pending ops=1
    [583] Reusing a cached session application module instance
    [584] Getting a connection for internal use...
    [585] Creating internal connection...
    [586] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [587] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [588] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [589] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [590] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [591] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [592] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [593] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [594] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
    [595] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
    [596] QueryCollection: afterRemove(0)
    [597] ViewRowCache: removeReference
    [598] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [599] Reusing prepared LOCK statement
    [600] QueryCollection: afterRemove(0)
    [601] ViewRowCache: removeReference
    [602] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [603] Reusing prepared LOCK statement
    [604] QueryCollection: afterRemove(0)
    [605] ViewRowCache: removeReference
    [606] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [607] Reusing prepared LOCK statement
    [608] QueryCollection: afterRemove(0)
    [609] ViewRowCache: removeReference
    [610] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [611] Reusing prepared LOCK statement
    [612] QueryCollection: afterRemove(0)
    [613] ViewRowCache: removeReference
    [614] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [615] Reusing prepared LOCK statement
    [616] QueryCollection: afterRemove(0)
    [617] ViewRowCache: removeReference
    [618] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [619] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [620] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [621] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [622] TipoManutencaoBoiaView notify COMMIT ...
    [623] BoiasPorCanalView notify COMMIT ...
    [624] HistoricoManutencaoBoiaView notify COMMIT ...
    [625] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [626] EntityCache close prepared statement
    [627] EntityCache close prepared statement
    [628] EntityCache close prepared statement
    [629] Clearing VO cache for BoiasPorCanalView
    [630] Clear QueryCollection in cache...
    [631] Column count: 23
    [632] ViewObject : Reusing defined prepared Statement
    [633] Binding param 1: 21
    [634] Clearing VO cache for TipoManutencaoBoiaView
    [635] Clear QueryCollection in cache...
    [636] Column count: 2
    [637] ViewObject : Reusing defined prepared Statement
    [638] Application Module failover is enabled
    [639] Getting a connection for internal use...
    [640] Creating internal connection...
    [641] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [642] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [643] **insert** id=1, parid=-1, collid=6855, keyArr.len=-1, cont.len=1036
    [644] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [645] **commit** #pending ops=1
    [646] **insert** id=-1, parid=0, collid=6855, keyArr.len=-1, cont.len=665
    [647] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [648] **commit** #pending ops=1
    [649] Getting a connection for internal use...
    [650] Creating internal connection...
    [651] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [652] **deleteAll** collid=6854
    [653] stmt: delete "PS_TXN" where collid=:1
    [654] **commit** #pending ops=1
    [655] Reusing a cached session application module instance
    [656] Getting a connection for internal use...
    [657] Creating internal connection...
    [658] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [659] Application Module failover is enabled
    [660] Getting a connection for internal use...
    [661] Creating internal connection...
    [662] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [663] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [664] **insert** id=1, parid=-1, collid=6856, keyArr.len=-1, cont.len=1036
    [665] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [666] **commit** #pending ops=1
    [667] **insert** id=-1, parid=0, collid=6856, keyArr.len=-1, cont.len=665
    [668] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [669] **commit** #pending ops=1
    [670] Getting a connection for internal use...
    [671] Creating internal connection...
    [672] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [673] **deleteAll** collid=6855
    [674] stmt: delete "PS_TXN" where collid=:1
    [675] **commit** #pending ops=1
    [676] Reusing a cached session application module instance
    [677] Getting a connection for internal use...
    [678] Creating internal connection...
    [679] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [680] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [681] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [682] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [683] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [684] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [685] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [686] EntityCache:add WARNING - a new row with a key equal to a removed row
    [687] EntityCache:add WARNING - a new row with a key equal to a removed row
    [688] EntityCache:add WARNING - a new row with a key equal to a removed row
    [689] EntityCache:add WARNING - a new row with a key equal to a removed row
    [690] EntityCache:add WARNING - a new row with a key equal to a removed row
    [691] EntityCache:add WARNING - a new row with a key equal to a removed row
    [692] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [693] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [694] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [695] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [696] OracleSQLBuilderImpl.doEntityDML failed...
    [697] X/Open SQL State is: 23000
    [698] java.sql.SQLException: ORA-00001: restrição exclusiva (KITBORDO.PK_H6AMABOT) violada
    ORA-06512: em line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:241)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1477)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2004)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1924)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2562)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:452)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:526)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:370)
     

    Hi Sung, Thanks for your reply.
    Leonardo:
    If I understand your msg correctly, I'm wondering if
    the data model as you described is complete.
    You state that you have MaintenanceType, Maintenance,
    and MaintenanceOrder, but don't you need
    MaintenanceOrderLine?MaintenanceOrderLine is what I'm calling Maintenance. A Maintenace record is used just to link a MaintenanceOrder to a MaintenanceType
    >
    Otherwise, you say that you removed all Maintenance's
    in step 2). How did you form a list of all
    Maintenance's in step 4)? How do you form this
    list?
    was raised due to unique constraint violationAt step 3) I'm using a view object, MaintenanceTypeView, to create a list of checkboxes, one for each MaintenanceType.
    At step 4), for each MaintenanceType selected in the form, I'm creating a new Maintenance using:
    //All codes of maintenance types, that already have a
    //respective maintenance record in the db, have already
    //been remove from the maintenancesToInsert list at this
    //point
    for (Iterator iter = maintenancesToInsert.iterator(); iter.hasNext();) {
    MaintenanceViewRow maintenanceRow = (MaintenanceViewRow) maintenanceView.createRow();
    maintenanceRow.setMaintenanceTypeCode(Integer.valueOf((String)iter.next()));
    maintenanceView.insertRow(maintenanceRow);
    >
    Sung

  • SCM Upgrade 4x to 7 Macros have issues not functioning as expected

    Hi All,
    We have upgraded SCM 4x to 7 and some of macros are not functioning as expected.
    This is a start macro Specifically for lay out attributes macro where many of the key figures are editable, which are not suppose to be.
    I have deactivated and activated, I have also verified the syntax of the production and quality macros. I did not find any difference. but behaving differently.
    Please share your thoughts any one come across this kind of issues.
    Appreciate your help.
    Thanks,
    Sreeni

    Sreeni,
    When you upgraded from 4.1 to 7.X, did you have to go throuh any interim steps like to 5.0 or 5.1 first.
    My understanding is that you can go from 4.1 directly to 7.0.
    Can you share your experience. Do you have any lessons learned that you put into a document that you would share.
    Shane

Maybe you are looking for

  • Error while calling an RFC from R/3

    Hi all, I am new to webdynpro. I am calling a RFC from R/3/.the code is like this. Zhr_Fm_Loan_Input input = new Zhr_Fm_Loan_Input(); wdContext.nodeZhr_Fm_Loan_Input().bind(input); input.setUsrid(wdContext.currentContextElement().getEmpnoa()); try wd

  • Daisy-chaining firewire 400 and firewire 800?

    I would like to daisy-chain two Western Digital MyBook Pros to a Macbook: - FW 400 from Macbook to first drive - FW 800 between the drives Would this work or not? I have one of those, they have 2 x FW 800, 1 x FW 400, 1 x USB at back. (If not, I'll b

  • Warning message in j1iin

    Hi when we are doing Transaction J1IIN the system is giving an error message " Don't assign any object in Cost accounting to account 271199".  But the account 271199 is a balance sheet account and it is not a cost element.  (271199 is a cenvat suspen

  • Mail set-up on server 10.4.8

    We just had our web server upgraded from 10.1 to 10.4. The drive was reformated, the server software was installed/configured and we loaded the web sites from a back-up. The web sites are working, ftp is working but we can not get the POP mail workin

  • Microsoft Access onto a webpage

    I have a very large database made in Microsoft Access.  I was wanting to put my database on dreamweaver.  I have quite a few other programs with Adobe that I can use. I do NOT want to use Acrobat because I want an interactive database available on th