Hide Master when detail is null

Hello
I apologize if my question has been answered, just point me to the right thread.
I have a report with one master query and two detail queries. There is a data link joining the two details to the master.
My problem is that many of the master records have no details. I would like to suppress the master record when there are no details. I can't use a format trigger because at the master record level you can't see the detail.
I tried using a summary column, to count records, but that didn't work either.
Has anyone accomplished this? Any ideas on how I might get started?
Thanks

there are 2 ways i can think of doing this.
you can use 'global variables' in the report. i got this to work once, but it was not easy. it involves using a package_spec to hold values and writing pl/sql triggers to set the values at certain times. see doc id 34751.1 in metalink knowledge base.
the other way you should be able to know whether the 'sub query' has records - is to write a count field into your main query. if you're joining/linking the sub queries in oracle reports, you can write it as a sub-query in your main query (SELECT COUNT(xxx) FROM yyyy WHERE yyy.filed = mainquery.field1, etc.) not super efficient, but it lets your main query know if/when the sub-query has data. then you show/hide the 'main' parts based on the 'sub' parts.
hope that helps.

Similar Messages

  • How to save only master when detail is blank.

    In master-detail can I use getTransaction().commit(); for only master because I finish only master not yet to keyin detail.
    How to do.
    Thank you very much.

    commit() while save all pending changes, so when you haven't entered the details, it will only save the master row I guess.

  • Master and detail in the same page

    db11xe , apex 4.0 , firefox 24 ,
    hi all ,
    i am trying to insert the master and detail data in one step in the same page :
    i have two tables (clients) and (tests_administered)
    the client table's region contains theses items
    client_id
    client_name
    the other table's region contains these columns -- the tabular region
    row selector
    test_admin_id -- pk,  hidden
    client_id          -- hidden , this is the one i should populate with values
    and more columns
    i've done this :
    1- removed the condition of the tabular region .
    2- Added the request CREATE to the list in condition of the APPLYMRU process -- or :request like ('CREATE')
    3- Added new process with following code : -- with sequence before the applymru process and after process row of clients process
    for i in 1..apex_application.g_f02.count
    loop
    apex_application.g_f02(i) := :p2_client_id ;
    end loop ;
    but nothing happened . why ? what did i miss ?
    thanks

    Hi,
    Create a Master Detail Form through the APEX Wizard 
    Make sure you choose the Primary Keys for the Master Detail as one of your Column and not the ROW ID.
    Selecting an existing Sequence for the Primary Key is preferred.
    Select the option the where your Master and Detail appears in the same page.
    Initially when you run the page your master and detail will not appear at the same time in the page when your Master Detail Form is in the entry form mode. For this you have to go to your Tabular Form(Detail Form) region, and below you will have to remove the Condition for the display of your Tabular form and set it to “No Condition”.
    Now when you run the page both the Master and Detail form will appear together in the create mode but you will not be able to insert or create both master and detail records at the same time when u click the create button. For this the following needs to be done: You need to create a PL SQL Tabular Form process :
    Let's say your master form is based on DEPT and your detail tabular form is based on EMP. Make sure the following things are configured:
    The DEPT insert/update DML process runs before the new tabular form PLSQL process. (ie) the new PL SQL Tabular Form Process that you create should be inbetween Automatic Row Processing(DML) and Multi Row Update Process , so create the new Tabular Form Pl SQL process with a sequence number inbetween these two Processes.
    Make sure you choose Tabular form while creating this PL SQL process.
    The new tabular form PL/SQL process executes the following as the source
       :DEPTNO := :P1_DEPTNO;
    Where DEPTNO is the Foreign Key column in the Tabular Form that links the Primary Key Item P1_DEPTNO of the Master Form.
    Finally this new PL SQL process conditionally runs when DEPTNO is null, so you need to add the following condition to the process:
    The final step to accomplish in creating both the Master and Detail records at the same time is to make a change in the condition of the Multi Row Update Process. :request in ('SAVE','CREATE') or :request like 'GET_NEXT%' or :request like 'GET_PREV%'
    -We make this change so that records get inserted into the Detail table when we click the ‘’Create” button.
    Now you can Run your page and create both the Master and Detail records at the same time.
    Thanks and Regards,
    Madonna

  • Master table, detail table, detail table not getting refreshed selection

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    will i have to use table selection listener
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5

    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

  • Master table detail table with SQL based read only VO with bind variables

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5
    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

    Instead of doing the master-detail layout by dragging the details over, can you try a new page where you first drag the master VO over and then drag the detail VO over, and then set partialTrigger from the detail to point to the master?

  • 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

  • Insert master, then details

    I'm using JDeveloper 10.1.3.5. I've set up ADF BC EO's and VO's for a master table and a detail table. There is also a 1:* Association, and a 1:* View Link between the master and details and this has all been added to an Application Module. The primary key of the master table is a surrogate PK generated from a sequence in a trigger. So the PK attribute has been designated as a DBSequence and has Refresh after Insert turned on.
    I have a jspx page using ADF Faces. It has a Create Form based on the master table. That means that a Create action was added to the page definition, and an invokeAction set to make sure Create is done when the page is first displayed. I added an InputFile component set to an UploadedFile in a backing bean. The files that users will be uploading contain detail records to be associated with this master. So I added an Iterator, Create action named CreateDetail, and AttributeValues for each attribute in the detail table's VO to the page definition. There is also a Commit action in the page definition.
    In the backing bean, there is an ActionEvent method tied to a commandButton on the page. It takes the uploaded file and executes CreateDetail for each record in the uploaded file, parses the record and sets the attributes. Then it executes Commit.
    Here's the problem:
    If I execute Commit before I start creating the detail records from the uploaded file, then Commit again after creating details, this works fine. However, if there is an error when I process the details, the master has already been committed. I'd rather consider master and details as a single transaction to be committed or rolled back as a unit.
    If I don't commit before I start creating the detail records, the new primary key for the master record hasn't been retrieved yet. So the detail records don't have the foreign key that points to the master. So the commit fails - missing mandatory field.
    I tried changing the Create on the master record to a CreateInsert, hoping that the framework would do the Insert of the master and retrieve its PK before processing the details, but no dice - it still works only if I Commit before processing details.
    Any ideas?

    In 11g, I've had some issues with compositions automatically maintaining foreign-key relationships for a sequence-based PK correctly if both master and detail are new. Have you tried implementing the (Java) solution provided by the aforementioned section of the dev guide (even though you shouldn't need it for compositions)?
    If that doesn't work for you, I've found the "old" method to be successful:
    In master:
    public void postChanges(TransactionEvent e) {
    /* Only references if this is NEW */
    RowSet newDetailsBeforePost = null;
    if (getPostState() == STATUS_NEW) {
    // Store the rowset of details related
    // to this new image before calling super
    newDetailsBeforePost = (RowSet)getXXX(); // replace "getXXX" with your association accessor method
    super.postChanges(e);
    if (newDetailsBeforePost != null) {
    adjustDetails(newDetailsBeforePost);
    private void adjustDetails(RowSet details) {
    Number newFkValue = getYYY.getSequenceNumber(); // replace "getYYY" with the getter for your sequence-based PK attribute
    while (details.hasNext()) {
    DetailImpl detail= (DetailImpl) details.next(); // replace "DetailImpl" with your detail EO class
    detail.setZZZ(newFkValue); // replace "setZZZ" with the setter for the detail's FK attribute
    In detail:
    public void postChanges(TransactionEvent e) {
    MasterImpl master = getMaster(); // replace "MasterImpl" with master EO class, "getMaster" with assoc accessor method
    if (STATUS_NEW == master.getPostState()) {
    master.postChanges(e);
    super.postChanges(e);
    Even better is to create an EO framework class that just fixes this problem (in general) for you, but that's more complicated--<plug>see the forthcoming JDev11g handbook</plug>.
    Hope this helps,
    Avrom

  • Master table / detail table: Problem refreshing the content

    Hi,
    I have a Master table/detail table on my page. When I add a new row to the master or detail table, the new row is inserted in the database, but not shown in the ADF Tables on the page. After restarting the OC4J the ADF Tables show the correct data, including the new rows.
    While dropping the collection on my page there were one methodIterator and two accessorIterators created.
    In several tutorials the solution for the refresh problem is to change the chacheResult parameter of the methodIterator to false. But this causes in "No row found for rowKey:null" errors.
    An other solution should be to create a new invokeAction with the id "tableRefresh" and the corresponding RefreshConditions. This doesn't helps, too.
    So how could I solve this problem? I want to update/refresh the master and detail table, after I inserted a new row.
    Thanks,
    Thomas

    Hi,
    thanks for your answer.
    Sorry, but I forgot to say, that I am using Jdev 10.1.3.1, Toplink, ADF and EJB3.
    I think I will give some further informations about the scenario. I created the m/d table by drag-and-droping the object out of the data control palette on site A. Each row stores a goLink item, which navigates to a new page B. After creating and saving the new entry the user navigates back to the page with the m/d table (page A). Storing the new entry is handled by an action in the page B managed bean.
    Now the question: How could I re-execute in page B backing bean the iterator which is stored in page A? Could this be handled by an invokeAction? Or is it possible to get access to the iterator used and stored on another page (definition)?
    Thanks,
    Thomas

  • [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)

    Dear Experts,
    i am getting the below error when i was giving * (Star) to view all the items in DB
    [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)
    As i was searching individually it is working fine
    can any one help me how to find this..
    Regards,
    Meghanath.S

    Dear Nithi Anandham,
    i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
    Regards,
    Meghanath

  • How to create one Oprations button (Create Button Or CreateInsert Button )for all master And Detail block?

              hi
       I have master And Detail with 4 level ,I want to have on operations button for all block in data control .
      (similar to Oracle form toolbar)
    how to do it ?

    Well, if you tell us your jdev version and what exactly you try to do, without just telling us 'as in forms' we might be able to help.
    Most of us don't know how it's done in forms. So be specific when you describe your use case.
    Timo

  • Vendor Master CIN Details Tab

    Dear All,
    Where will we do the field settings for the fields in Vendor Master CIN Details Tab?
    Points will be awarded.
    Thanks in advance!
    SAP FC

    Hi,
    U want the Cin tab on the vendor master rite.
    It comes on the address screen.
    In the spro under LG -- tax on goods movement---india...
    drop down and u have a place where we give ur user id ... (new entry) gv ur user id and put a star * and save.
    then when u create vendor master now u will get the CIN tab.
    I have no sap so i could not tell u the exact path.
    Thanks & regards,
    Kiran

  • MySQL Sytax error with master and detail pages

    Master and Detail pages.
    I get an SQL error when I click on an Item in the Master
    page.
    “You have an error in your SQL syntax; check the manual
    that corresponds to your MySQL server version for the right syntax
    to use near 'ID = 16 LIMIT 0, 10' at line 1 “
    If I try to open the detail page I get
    “You have an error in your SQL syntax; check the manual
    that corresponds to your MySQL server version for the right syntax
    to use near 'ID = -1 LIMIT 0, 10' at line 1 “
    I created this pair by simply clicking on Insert/data object/
    master detail page.
    I have tried this various ways, but always get the same
    result.
    Is there a bug in CS3?

    Sorry I have solved it myself.
    I had accidentally put a space in a table header in the mySQL
    data bank.
    All works well now.

  • Master with Detail Tab Pages

    I have a master with multi-detail pages. I would like to have the master record appear on the top of each screen and have the user select one of the multi-tab pages to select which detail information they would like to see.
    Is this possable with Forms 6i and if so how do I put them together. When I tried to create the form I could see the master and detail together ONLY when I navigated to the detail records.
    To carry this a step further is it possable to have Multi-masters each with their own tab and each master have detail tab pages?
    Thanks

    You could try the following:
    Create 1 canvas and place the header items on the top portion. Create another canvas - Tab type and place or create all you tabs with the details on then. Then stack the tab canvas on top of the main header canvas, resize so that the header is visible an that is it.

  • Connect third ViewObject to 2 ViewObjects (Master And Detail) via ViewLink

    I have three ViewObjects; 1 Master 1 Detail connected with a ViewLink; i have a third Read-Only (SQL Based) ViewObject which can only be resolved by two bind variables. But the 1st bind variable is on the Master and the second is on the Detail. How can I connect the third ViewLInk to the Master and Detail ViewObjects?

    I dropped both viewobjects as read-only tables and they both have the rangesize set to -1.
    I think I made myself a bit unclear when asking my question. I do not want a "normal" master-detail view in my jsp where you see one masterrow and all the detailrows. I want my page to show all the masterrows with all their corresponding detail rows listed under the master row.
    The pseudocode may look like this:
    for each row in MasterViewObject loop
    <<display data in MasterViewObject>>
    for each row in DetailViewObject loop
    <<display data in DetailViewObject>>
    end inner loop
    end outer loop
    As you see I have a double loop here. Is somehing like this possible without "manually" doing all the stuff?
    Thanx
    Tom

  • Master form -detail table

    Hi,
    Jdeveloper Verison: 11.1.2.1.0
    I m creating a master detail form .
    hr_feedback_mt
    id_feedback
    employee_no
    id_training_program
    trainer
    location
    attended date
    hr_ratings_tt
    id_feedback
    id_question
    rating
    hr_questions_mt
    id_question
    question
    I have created master EO and VO for hr_feedback_mt, hr_ratings_tt. created associations and viewlink between EO and VO's.
    On the form I have dragged the master VO from the data control as form, and detial VO as editable  table.
    On master from i clicked createinsert operation and filled the attributes. on details table, i click on createinsert operation, it creates on row in the detail table.
    But actually when i click on createinsert operation of detail table, i need to display all the questions(rows and the ratings so that user fills all the questions.
    on commit master and detail should be saved into the database.
    How to achieve detail table to show all the questions on one click of createinsert operation and user fills all the questions and ratings.

    There is no automatic insert of all possible question in the detail table. You have to do this by hand in a beam method or better in a service method in the Application module or VO.
    Timo

Maybe you are looking for