Using Row Repeater - adding a remove row button

I have an input field on my view for users to enter Project Numbers along with an Add Button.
When the user enters a project number & clicks on the add button, I append that project to my row repeater. this is working fine.
In my Context, I defined my row repeater as having 2 attributes: project_num and rem_row.
I bound my row repeater to my context node. I wanted to use a Button element as my rem_row, so a user could click on the icon and I could remove that particular row.
However, I can't bind the Button to the rem_row attribute of my context.
is there a way to find out which row the user selects?

what i've done is place a checkbox in the second field and evaluate that on the "on toggle" event. then delete the appropriate row.
this works, but i'd really like an icon there instead of a checkbox and "Remove Row" text

Similar Messages

  • Update report row wise using row buttons and success message

    Hi Jari,
    Thanks for your reply but i wan't success message in success message region of page and not as popup or alert message.
    for report it is classic report but two columns are text field.
    Thanks
    Manish
    Hi,
    On Demand process you can use HTP.P to output success message after you code.
    Create also exception handler that output error using same HTP.P.
    When you call Ajax in JavaScript
    var ajaxResult=ajaxRequest.get();
    Result you output are in variable ajaxResult.
    You can use e.g. alert
    alert(ajaxResult);
    Refresh report depend lot of what report you have.
    There is lot of posts relating interactive report and classic in this forum.
    It might be good to create sample what you already have done to apex.oracle.com.
    Also creating new post might be good idea as this is answered.
    Regards,
    Jari

    866038 wrote:
    Errors come from trying things that don't work.
    For example, instead of =, using IN VALUEOF(NQ_SESSION.GROUP) or @{session.GROUP} or lots of other things.
    The question is this:
    how can I filter a column in Answers using the GROUP session variable which had been initialized in a row-wise initialization block?
    I can find no way to do it. Mostly it returns no rows.Hi,
    we had a similar requirement, where we have an external name that has project number values. We used row wise initialization to capture all the projects that a user belongs to. Then, we applied the filters at the RPD level, instead of doing it at the report level. From you requirement I see that you are trying to filter the groups based on user login. When a user logs in, he will see the information about the groups that he only belongs to. Correct me if I am wrong here.
    Assuming I am right about your requirement, providing the filter that you need apply in RPD.
    On all the fact tables are joined to the Package Virtual Group dimension, apply the below filter.
    case when 1=1 then (Dim)"."Package Virtual Group" END = VALUEOF(NQ_SESSION."GROUP");
    The reason for use of case statement here is, it converts the logical sql to IN Clause, helping us acheive the exact query that we would want.
    Please Award points if this helps.
    Thanks,
    -Amith.

  • 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

  • How to remove the buttons which are coming from a report?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Hi,
    I think u r mentioning about the addition buttons that appear in the selection screen when using a logical database. for removing these buttons u can use a function module RS_SET_SELSCREEN_STATUS  for setting ur own pf-status
    do this in "at selection screen output" of the program..
    in the tables parameter, u have the option for giving the ok-codes that u want to remove. append all the ok-codes into this table.
    for getting the ok-codes u can use "tab" and go the button.. press F1. it will give the ok-code.
    Regards,
    Anoop

  • ALV Grid default values for new rows added with Add/Insert buttons

    Hi!
    Help, please,  to find a way how to set default values for new rows added with Add/Insert buttons in
    ALV Grid.

    I have found salution:
    ALV Grid u2013 Insert row function
    Sometimes we need to assign some default values when we create a new row in a grid using standard ALV Append row button. In our scenario we will see how to assign default values to Airline Code (CARRID), Flight Connection Number (CONNID) and Flight date (FLDATE) when a new row is created. To do that we need to handle DATA_CHANGED event in the program like mentioned below.
    Definition of a class:
    Code:
          CLASS lcl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
    METHODS:
         handle_data_changed
         FOR EVENT data_changed OF cl_gui_alv_grid
         IMPORTING er_data_changed
                           e_ucomm.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    Implementation of a class:
    Code:
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_DATA_CHANGED.
        DATA: dl_ins_row TYPE lvc_s_moce.   " Insert Row
          FIELD-SYMBOLS: <fs> TYPE table.    " Output table
    Loop at the inserted rows table and assign default values
        LOOP AT er_data_changed->mt_inserted_rows INTO dl_ins_row.
          ASSIGN er_data_changed->mp_mod_rows->* TO <fs>.
          loop at <fs> into ls_outtab.
            ls_outtab-carrid  = 'LH'.
            ls_outtab-connid  = '400'.
            ls_outtab-fldate  = sy-datum.
            MODIFY <fs> FROM ls_outtab INDEX sy-tabix.
          endloop.
        endloop.
      ENDMETHOD.                    "handle_data_changed
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    Register the events to trigger DATA_CHANGED event when a new row is created.
    Code:
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.

  • Query for create manual tabular form using apex collection add row button functionality

    Hello everyone
    My requirement is i created a tabular form manually using apex collection but if i click on add row button then previously selected data refreshed and added new row in this form it is fine.but i don't want to refreshed previously selected data and click on add row button then add new row .how it is possible? plz help
    Thanks & Regards,
    Ujwala

    Ujwala
    Instead of starting a new thread with the same question as Query for create manual tabular form using apex collection add row button functionality.
    Could you answer the question about what you see while debug the javascript code.
    If you don't understand the question or have trouble debug javascript let us know.
    Nicolette

  • Create a new row in a table without using add new row button

    I want to add a new row to the table without using the add new row button of the table. I'm not able to display default row in the table. Though if click on apply the record appears after saving in the database. Any thoughts how to implement this functionality.

    Here is what you have to do.
    1) You have to handle this in processRequest()
    2) In the AM code , u need to check if there is already a row exisit or vo is blank
    if (vo.getFetchedRowCount() == 0)
    // first time
    vo.setMaxFetchSize(0); // THIS IS REQUIRED.
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    else
    //If already rows are there then you suppose to insert in the end
    // i assume you would have execute your vo
    YourVORowImpl row= (YourVORowImpl)vo.getRowAtRangeIndex(0);
    vo2.insertRowAtRangeIndex();
    It should work.

  • How to use add row button of a tabuler form.

    Hi all,
    I have created a Tabuler form in my application.Could you please tell me 'How can i use the add row button of this form' as When i click the button "NOTHING HAPPENS".
    Thanks
    Regards,
    Neha

    Hi,
    If you edit the button, the button name has to be 'ADD'. You can make the text / label whatever you like. On the form edit page, the button should appear with this text next to it: submit as "ADD".
    HTH

  • Add Row Button Not Working

    I've read the threads and done numerous searches.  Not sure why the add row button isn't working, other buttons work.
    Here's what I've found and done.
    Print button subform - positioned (have tried flowed, too) allow page breaks
    Table: body rows vary   -    Insert wrap in subform  - subform flowed - allow page breaks
         row 1 binding - repeat row for each data item - min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)
    Form properties - preview in dynamic PDF, interactive   -   PDF render format dynamic xml, run in 9.0 or later (to remove errors)
    Insert Row Button in Subform Row 1 Cell 1 (not counting header row) on  click, JavaScript run at client tried table.row1.instancemanager.addinstance(1);   also tried full path
    saved as dynamic pdf
    My hierarchy looks like:
    form1   [autofit]
         master pages
              page 1
                   untitled content area
         printbuttonSubForm  [flowed, top to bottom, allow page breaks]
              untitled subform [flowed, top to bottom, allow page breaks]
                   printbutton1
              tablesf    [flowed, top to bottom, allow page breaks]
                   table1    [allow page breaks]
                        headerRow
                             cell1
                             cell2 etc
                        Row1   [allow page breaks, repeat row for each data item, min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)]
                             subform   [allow page breaks, repeat row for each data item, min 1, max 25
                                            (why won't it  keep an initial count when I try putting in 1 or 0?)]
                                  button1    table1.row1.subform1.instanceManager.addinstance(1);
                             cell2, etc
         Referenced objects
    Questions:
    I click the Add Row button, but nothing happens, why?  The print button works.
    Found a reference to def instances of same row, what does that mean?
    Is my hierarchy correct?
    How to set Form1 to flow? Object says mixed objects with no options
    Many thanks for your assistance! Leslie

    Hi Leslie,
    There could be a few things.
    First check that the form is saved as Dynamic XML in the save as dialog. If it is saved as Static the add instance will not work.
    Make sure that the object you are targetting is set to repeat in the Object > Binding tab
    Check your syntax in the script editor (button above the editor). Some of your post is not camel case. For example addInstance and instanceManager. Note the capital letter for the second word.
    If you could share your form it would be easier to track down what the problem is. You can use Acrobat.com or YouSendIt.com or some other file sharing site. Just remember to post the published URL.
    Good luck,
    Niall

  • Change iten property when Add Row button pressed

    hi,
    I have advance table on one update page. There are two requirements on that page:
    1. One key Item has to be READ_ONLY for saved rows. It can be changed when new row added using Add New Row button. I followed Changing UI properties (SPEL) example. The read_only property changed for all rows, not just for the added new row.
    2. New added row can be removed and saved row can not deleted.
    Please help me.

    Mahendra,
    It works for READ_ONLY field. I used same concept to control the delete image using swither. Enable image did show up since the value is null for new added row. Following is my query.
    SELECT SumryRuleLinesEO.RULE_ID,
    SumryRuleLinesEO.LINE_ID,
    SumryRuleLinesEO.LINE_CODE,
    SumryRuleLinesEO.LINE_NAME,
    SumryRuleLinesEO.ENABLED,
    DECODE(LINE_CODE, NULL, 0, 1) LINECODE_SW,
    DECODE(LINE_CODE, NULL, 'REnabled', 'RDisabled') LINE_REMOVE_SW
    FROM BOLINF.GEOR_STG_SUMRY_RULE_LINES SumryRuleLinesEO
    LINECODE_SW is used for READ_ONLY using SPEL. It works.
    LINE_REMOVE_SW is used for delete image. It did not work since the LINE_REMOVE_SW is null for newly added row.
    Any idea?
    Thank you for your help.
    DeeDee

  • 2 table rows - one "Add Row" button

    I am a novice, not alot of training with javascript.
    I need 2 table rows added to a table without having multiple "add row" buttons. I would like to be able to add both rows with one button.
    right now the button is set for the most current row:
    Table1._Week.addInstance(0);
    the row above is Table1._Codes
    How do I script this in order to have both rows appear when the Add Row button is selected?

    Hi,
    A couple of things without benefit of seeing the form.
    Are the repeating rows called:
    'Week' / 'Codes'?
    OR
    '_Week' / '_Codes'?
    The underscore '_' is shorthand for instanceManager, which is used to call the addInstance. If I assure that the repeating rows are just 'Week' / 'Codes' then the following javascript in the click event of the button should work:
    Table1._Week.addInstance(true);
    Table1._Codes.addinstance(true);
    This should add a row to each repeating row in one button.
    Please note that the parameter for the addInstance is either 0 (false) or 1 (true), which relates to whether the row will be data merged with the form.
    Hope that helps,
    Niall
    hmmm, see you have another thread on this: add multiple rows with add a row button ???

  • Add row button is not working in manual tabular form

    Hi,
    I have created a tabular form by using collections. In the same page there is a wizard tabular form also.
    Here my problem is whenever i giving request to the add row button its showing nothing. there is no any new row got added.
    IF :REQUEST ='ADD'
    THEN
    apex_collection.add_member(
    p_collection_name => l_collection_name
    END IF;
    END;
    Thanks.

    Hi,
    Thanks for ur reply.
    My problem got solved after deleting the tabular form wizard from the page then add row button is working.
    But i think its not the solution.
    Thanks.

  • Issue with empty value of LOV of first row after clicking on add row button

    JDeveloper 11.1.14
    I have a page with table-form layout.
    In the form I have two detail tables on the same page (tabbed).
    I have an issue with using model-choicelist LOV's in the detail tables.
    I am able to add a new row in the detail table, select a value from the model-choiceList LOV (which is required) and save the new row.
    After adding another row in this table the value of the model-choiceList LOV in the previous row is suddenly empty on the screen. It is not empty in the database,
    I have checked it in the datbase. Only the value of the LOV of the first row on the page is being cleared after clicking on the add row button.
    After saving the new row I get the following error on the screen:
    Error: a selection is required. --> first row
    Does anyone have a suggestion how to solve this issue?

    After adding another row in this table the value of the model-choiceList LOV in the previous row is suddenly empty on the screen. It is not empty in the database, Is the complete LOV blank or only the selected value .. can you try putting autoSubmit=true in the LOV and try ? Also check if you have any partialTriggers on the LOV from the add button ?

  • Row Level PPR in Advanced Table with Add More Rows Button

    <br>
    I have programmatically fired PPR event on MessageChoice. But it is in Advanced Table with
    Add More Rows Button. When the value is changed in MessageChoice I Show/Hide Custom LOV
    through SPEL like this ${oa.BioEmployeePVO.EmpManagerRender} .
    But it is <b>hiding the all the ROWS</b> not just the row where the value has been changed.
    I even tried with this code and get NULL for rowReference.
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    In Processrequest()
    String pageName = pageContext.getRootRegionCode();
         Hashtable params = new Hashtable (1);
         params.put ("param1", pageName);
         Hashtable paramsWithBinds = new Hashtable(1);
        paramsWithBinds.put ("param2",new OADataBoundValueFireActionURL (mcb, "{$AttendeeType}"));
        mcb.setFireActionForSubmit ("empPositionChange", params, paramsWithBinds,false, false);
    In ProcessFormRequest() {
    if ("empPositionChange".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))   
          String rowReference = pageContext.getParameter("param2");
        //    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
         Serializable[] parameters = { rowReference };
          am.invokeMethod("handlePositionChangeEvent", parameters);
    <br>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    HI Kumar,
    Answer to your last post is "yes".
    Now to your doubt regarding the code:
    Hi Anna
    I am trying to understand your code.
    FireAction firePartialAction = new FirePartialAction("fireHideEvent"+(i/noOfTlaColSpan));
    HideImgBean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
    1. What is this i/noOfTlaColSpan ?
    :)Forget abt this in your case it should be the event name which u r firing and capturing the it in the PFR.
    Like FireAction firePartialAction = new FirePartialAction("YOurEventName");
    and in PFR u can capture tht as:
    if("YOurEventName".equals(pageContext.getParameter(EVENT_PARAM)))
    //your logic to invoke AM method
    2. I believe this HideImgBean would be MessageChoice for me?
    :)Yep ur right
    3. This brcdOhInventoryViewUpdateVOImpl would be the Custom PVO(Extending Seeded Base VO)
    I create by adding the transient attributes?
    :)Yep ur right
    4. I cannot understand this code. Could you explain.
    :)Please look at my comments in some of the lines .I have explained wht i am doing
    if(updateIter==null)
    updateIter[0]= invViewVO.createRowSetIterator("updateIter");//This initViewVo should be ur custom VO object
    if(cnt>0)
    updateIter[0].setRangeStart(0);
    updateIter[0].setRangeSize(cnt);
    for(int i=0;i<cnt;i++)
    row = (brcdOhInventoryViewUpdateVORowImpl)updateIter[0].getRowAtRangeIndex(i);
    String selectFlag=(String)row.invokeMethod("getPartNumber");//This getPartNuber should be replaced by the Prim Key inoke methd of ur VO
    if(RowID.equals(selectFlag))
    //This is my logic to set the transient attributes based on the msgChoiceBean value ..u have to pass the value when u invoke this method
    if(reserveMethod.equals("BINARY"))
    System.out.println("In Binary");
    Boolean bVal= new Boolean("false");
    Serializable sr[]={bVal};
    Class []methodParamTypes = { bVal.getClass() };
    row.invokeMethod("setshowreservetxt",sr,methodParamTypes);
    Boolean bVal1= new Boolean("true");
    System.out.println("bVal1"+bVal1);
    Serializable sr1[]={bVal1};
    Class []methodParamTypes1 = { bVal1.getClass() };
    row.invokeMethod("setShowreservemsgchoice",sr1,methodParamTypes1);
    break;
    In my AM I am doing this. Am i doing right?:)Yep u r right
    BioPrescribersPVO is the custom VO(extending seeded base VO).
    public void handlePositionChangeEvent(String param)
    OAViewObject vo = (OAViewObject)findViewObject("BioPrescribersPVO");
    OARow row = (OARow)findRowByRef(rowReference);
    if (row != null)
    String position = (String)row.getAttribute("AttendeeType");
    if (("PRESCRIBER".equals(position)) )
    // BioEmpManagerRender is the transient attribute in BioPrescribersPVO.
    row.setAttribute("BioEmpManagerRender", Boolean.TRUE);
    row.setAttribute("BioPresManagerRender", Boolean.FALSE);
    else
    row.setAttribute("BioEmpManagerRender", Boolean.FALSE);
    row.setAttribute("BioPresManagerRender", Boolean.TRUE);
    } // end handlePositionChangeEvent()
    // Initializing the custom VO
    /*No need to initialize the VO because this is not a PVO(Propeties View object)
    U r just using the existing VO and tht vo shloud have a primary key.Tht way u can match the rowref u r getting with the actual row from the View object*/
    public void init()
    OAViewObject appPropsVO = (OAViewObject)getBioPrescribersPVO();
    if (appPropsVO != null)
    if (appPropsVO.getFetchedRowCount() == 0)
    appPropsVO.setMaxFetchSize(0); appPropsVO.executeQuery();
    appPropsVO.insertRow(appPropsVO.createRow());
    OARow row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    handlePositionChangeEvent("");
    } // end init()
    Thanks
    Anna

  • Issue with ADD NEW ROW button

    Hi,
    When I click 'ADD NEW ROW ' button, an empty row is getting created as the last but one column.
    I want the new row should be add at last. (as the last row). The code I am using :
    Row row = vo.createRow();
    vo.last();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    Can anybody please tell me how to get it.
    Thanks,
    Swaroop

    Hi Shiv,
    I just added a 'Add New Row' submit nutton.
    In Controller I added the following code:
    if (pageContext.getParameter("Addrow") != null)
    am.invokeMethod("createrow",null);
    In AM code I've written:
    public void createrow()
    OAViewObject vo = (OAViewObject)getEntityshift2VO1();
    Row row = vo.createRow();
    vo.insertRow(row);
    vo.last();
    row.setNewRowState(Row.STATUS_INITIALIZED);
    --Swaroop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for