INSERT OPERATIONS

HI EXPERTS,
AM USING JDEV 11.1.1.5.0 USING ADFBC
EXPERTS, HERE I LEAV OUT PICTURES. DUE TO MY POOR ENGLISH IT MAKE A THREAD TOO LONG FOR UNDERTANDING.
STEP1: http://www.4shared.com/photo/unkvc2eu/STEP1.html
STPE2: http://www.4shared.com/photo/6zmEGgNB/STEP2.html
STEP3: http://www.4shared.com/photo/V8Tx3EvH/STEP3.html
STEP4: http://www.4shared.com/photo/flqTy7QP/STEP4.html // HERE IS MY PROBLEM
I PASTE THE CODE OF AF:SHODETAIL AF: QUERYCODE AND AF:TABLE AF:PANELFORM LAYOUT AND SOME BUTTON
<af:showDetailItem text="Link GL Accounts"
                                     binding="#{pageFlowScope.managedbean_GeneralLedger.sdi10}"
                                     id="sdi10">
                    <af:panelGroupLayout layout="vertical"
                                         binding="#{pageFlowScope.managedbean_GeneralLedger.pgl7}"
                                         id="pgl7">
                      <af:query id="q1" headerText="Search"
                                  disclosed="true"
                                  value="#{bindings.GlLvlAccountsVOCriteriaQuery.queryDescriptor}"
                                  model="#{bindings.GlLvlAccountsVOCriteriaQuery.queryModel}"
                                  queryListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQuery}"
                                  queryOperationListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQueryOperation}"
                                  binding="#{pageFlowScope.managedbean_GeneralLedger.q1}"
                                rows="2" maxColumns="4"/>
            </af:panelGroupLayout>
                    <af:panelBox text="Search Result"
                                 binding="#{pageFlowScope.managedbean_GeneralLedger.pb8}"
                                 id="pb8" styleClass="AFStretchWidth"
                                 inlineStyle="width:100.0%;">
                      <f:facet name="toolbar">
                        <af:group binding="#{pageFlowScope.managedbean_GeneralLedger.g7}"
                                  id="g7">
                          <af:commandButton text="Insert"
                                            disabled="#{!bindings.CreateInsert6.enabled}"
                                            binding="#{pageFlowScope.managedbean_GeneralLedger.cb22}"
                                            id="cb22"
                                            action="#{pageFlowScope.managedbean_GeneralLedger.cb22_action2}"
                                           partialSubmit="true">
                          </af:commandButton>
                          <af:popup binding="#{pageFlowScope.managedbean_GeneralLedger.p2}"
                                    id="p2">
                            <af:dialog binding="#{pageFlowScope.managedbean_GeneralLedger.d3}"
                                       id="d3" type="cancel">
                              <af:panelFormLayout binding="#{pageFlowScope.managedbean_GeneralLedger.pfl1}"
                                                  id="pfl1">
                                <af:inputListOfValues id="inputListOfValues1"
                                                      popupTitle="Search and Select: #{bindings.GlalPlant.hints.label}"
                                                      value="#{bindings.GlalPlant.inputValue}"
                                                      label="#{bindings.GlalPlant.hints.label}"
                                                      model="#{bindings.GlalPlant.listOfValuesModel}"
                                                      required="#{bindings.GlalPlant.hints.mandatory}"
                                                      columns="#{bindings.GlalPlant.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalPlant.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues1}">
                                  <f:validator binding="#{bindings.GlalPlant.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalPlantDesc.inputValue}"
                                              label="#{bindings.GlalPlantDesc.hints.label}"
                                              required="#{bindings.GlalPlantDesc.hints.mandatory}"
                                              columns="#{bindings.GlalPlantDesc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalPlantDesc.hints.precision}"
                                              shortDesc="#{bindings.GlalPlantDesc.hints.tooltip}"
                                              partialTriggers="inputListOfValues1"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it38}"
                                              id="it38">
                                  <f:validator binding="#{bindings.GlalPlantDesc.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues2"
                                                      popupTitle="Search and Select: #{bindings.GlalLvl1.hints.label}"
                                                      value="#{bindings.GlalLvl1.inputValue}"
                                                      label="#{bindings.GlalLvl1.hints.label}"
                                                      model="#{bindings.GlalLvl1.listOfValuesModel}"
                                                      required="#{bindings.GlalLvl1.hints.mandatory}"
                                                      columns="#{bindings.GlalLvl1.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalLvl1.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues2}">
                                  <f:validator binding="#{bindings.GlalLvl1.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalLvl1Desc.inputValue}"
                                              label="#{bindings.GlalLvl1Desc.hints.label}"
                                              required="#{bindings.GlalLvl1Desc.hints.mandatory}"
                                              columns="#{bindings.GlalLvl1Desc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalLvl1Desc.hints.precision}"
                                              shortDesc="#{bindings.GlalLvl1Desc.hints.tooltip}"
                                              partialTriggers="inputListOfValues2"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it39}"
                                              id="it39">
                                  <f:validator binding="#{bindings.GlalLvl1Desc.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues3"
                                                      popupTitle="Search and Select: #{bindings.GlalLvl2.hints.label}"
                                                      value="#{bindings.GlalLvl2.inputValue}"
                                                      label="#{bindings.GlalLvl2.hints.label}"
                                                      model="#{bindings.GlalLvl2.listOfValuesModel}"
                                                      required="#{bindings.GlalLvl2.hints.mandatory}"
                                                      columns="#{bindings.GlalLvl2.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalLvl2.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues3}">
                                  <f:validator binding="#{bindings.GlalLvl2.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalLvl2Desc.inputValue}"
                                              label="#{bindings.GlalLvl2Desc.hints.label}"
                                              required="#{bindings.GlalLvl2Desc.hints.mandatory}"
                                              columns="#{bindings.GlalLvl2Desc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalLvl2Desc.hints.precision}"
                                              shortDesc="#{bindings.GlalLvl2Desc.hints.tooltip}"
                                              partialTriggers="inputListOfValues3"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it40}"
                                              id="it40">
                                  <f:validator binding="#{bindings.GlalLvl2Desc.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues4"
                                                      popupTitle="Search and Select: #{bindings.GlalLvl3.hints.label}"
                                                      value="#{bindings.GlalLvl3.inputValue}"
                                                      label="#{bindings.GlalLvl3.hints.label}"
                                                      model="#{bindings.GlalLvl3.listOfValuesModel}"
                                                      required="#{bindings.GlalLvl3.hints.mandatory}"
                                                      columns="#{bindings.GlalLvl3.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalLvl3.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues4}">
                                  <f:validator binding="#{bindings.GlalLvl3.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalLvl3Desc.inputValue}"
                                              label="#{bindings.GlalLvl3Desc.hints.label}"
                                              required="#{bindings.GlalLvl3Desc.hints.mandatory}"
                                              columns="#{bindings.GlalLvl3Desc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalLvl3Desc.hints.precision}"
                                              shortDesc="#{bindings.GlalLvl3Desc.hints.tooltip}"
                                              partialTriggers="inputListOfValues4"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it41}"
                                              id="it41">
                                  <f:validator binding="#{bindings.GlalLvl3Desc.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues5"
                                                      popupTitle="Search and Select: #{bindings.GlalLvl4.hints.label}"
                                                      value="#{bindings.GlalLvl4.inputValue}"
                                                      label="#{bindings.GlalLvl4.hints.label}"
                                                      model="#{bindings.GlalLvl4.listOfValuesModel}"
                                                      required="#{bindings.GlalLvl4.hints.mandatory}"
                                                      columns="#{bindings.GlalLvl4.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalLvl4.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues5}">
                                  <f:validator binding="#{bindings.GlalLvl4.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalLvl4Desc.inputValue}"
                                              label="#{bindings.GlalLvl4Desc.hints.label}"
                                              required="#{bindings.GlalLvl4Desc.hints.mandatory}"
                                              columns="#{bindings.GlalLvl4Desc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalLvl4Desc.hints.precision}"
                                              shortDesc="#{bindings.GlalLvl4Desc.hints.tooltip}"
                                              partialTriggers="inputListOfValues5"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it42}"
                                              id="it42">
                                  <f:validator binding="#{bindings.GlalLvl4Desc.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues6"
                                                      popupTitle="Search and Select: #{bindings.GlalAcct.hints.label}"
                                                      value="#{bindings.GlalAcct.inputValue}"
                                                      label="#{bindings.GlalAcct.hints.label}"
                                                      model="#{bindings.GlalAcct.listOfValuesModel}"
                                                      required="#{bindings.GlalAcct.hints.mandatory}"
                                                      columns="#{bindings.GlalAcct.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalAcct.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues6}">
                                  <f:validator binding="#{bindings.GlalAcct.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalAcctDesc.inputValue}"
                                              label="#{bindings.GlalAcctDesc.hints.label}"
                                              required="#{bindings.GlalAcctDesc.hints.mandatory}"
                                              columns="#{bindings.GlalAcctDesc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalAcctDesc.hints.precision}"
                                              shortDesc="#{bindings.GlalAcctDesc.hints.tooltip}"
                                              partialTriggers="inputListOfValues6"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it43}"
                                              id="it43">
                                  <f:validator binding="#{bindings.GlalAcctDesc.validator}"/>
                                </af:inputText>
                                <af:inputText value="#{bindings.GlalDesc1.inputValue}"
                                              label="#{bindings.GlalDesc1.hints.label}"
                                              required="#{bindings.GlalDesc1.hints.mandatory}"
                                              columns="#{bindings.GlalDesc1.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalDesc1.hints.precision}"
                                              shortDesc="#{bindings.GlalDesc1.hints.tooltip}"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it44}"
                                              id="it44">
                                  <f:validator binding="#{bindings.GlalDesc1.validator}"/>
                                </af:inputText>
                                <af:inputListOfValues id="inputListOfValues7"
                                                      popupTitle="Search and Select: #{bindings.GlalClId.hints.label}"
                                                      value="#{bindings.GlalClId.inputValue}"
                                                      label="#{bindings.GlalClId.hints.label}"
                                                      model="#{bindings.GlalClId.listOfValuesModel}"
                                                      required="#{bindings.GlalClId.hints.mandatory}"
                                                      columns="#{bindings.GlalClId.hints.displayWidth}"
                                                      shortDesc="#{bindings.GlalClId.hints.tooltip}"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues7}">
                                  <f:validator binding="#{bindings.GlalClId.validator}"/>
                                </af:inputListOfValues>
                                <af:inputText value="#{bindings.GlalClassDesc.inputValue}"
                                              label="#{bindings.GlalClassDesc.hints.label}"
                                              required="#{bindings.GlalClassDesc.hints.mandatory}"
                                              columns="#{bindings.GlalClassDesc.hints.displayWidth}"
                                              maximumLength="#{bindings.GlalClassDesc.hints.precision}"
                                              shortDesc="#{bindings.GlalClassDesc.hints.tooltip}"
                                              partialTriggers="inputListOfValues7"
                                              binding="#{pageFlowScope.managedbean_GeneralLedger.it45}"
                                              id="it45">
                                  <f:validator binding="#{bindings.GlalClassDesc.validator}"/>
                                </af:inputText>
                                <af:selectOneChoice value="#{bindings.GlalOptType.inputValue}"
                                                    label="#{bindings.GlalOptType.label}"
                                                    required="#{bindings.GlalOptType.hints.mandatory}"
                                                    shortDesc="#{bindings.GlalOptType.hints.tooltip}"
                                                    binding="#{pageFlowScope.managedbean_GeneralLedger.soc4}"
                                                    id="soc4">
                                  <f:selectItems value="#{bindings.GlalOptType.items}"
                                                 binding="#{pageFlowScope.managedbean_GeneralLedger.si4}"
                                                 id="si4"/>
                                </af:selectOneChoice>
                                <af:selectOneChoice value="#{bindings.GlalStatus.inputValue}"
                                                    label="#{bindings.GlalStatus.label}"
                                                    required="#{bindings.GlalStatus.hints.mandatory}"
                                                    shortDesc="#{bindings.GlalStatus.hints.tooltip}"
                                                    binding="#{pageFlowScope.managedbean_GeneralLedger.soc5}"
                                                    id="soc5">
                                  <f:selectItems value="#{bindings.GlalStatus.items}"
                                                 binding="#{pageFlowScope.managedbean_GeneralLedger.si5}"
                                                 id="si5"/>
                                </af:selectOneChoice>
                                <af:selectBooleanCheckbox value="#{bindings.GlalBudFlag.inputValue}"
                                                          label="#{bindings.GlalBudFlag.label}"
                                                          shortDesc="#{bindings.GlalBudFlag.hints.tooltip}"
                                                          binding="#{pageFlowScope.managedbean_GeneralLedger.sbc4}"
                                                          id="sbc4"/>
                                <f:facet name="footer">
                                  <af:panelGroupLayout layout="vertical"
                                                       binding="#{pageFlowScope.managedbean_GeneralLedger.pgl8}"
                                                       id="pgl8">
                                    <af:commandButton text="Commit"
                                                      binding="#{pageFlowScope.managedbean_GeneralLedger.cb29}"
                                                      id="cb29"
                                                      actionListener="#{bindings.Commit.execute}"
                                                      disabled="#{!bindings.Commit.enabled}"/>
                                  </af:panelGroupLayout>
                                </f:facet>
                              </af:panelFormLayout>
                            </af:dialog>
                          </af:popup>
                          <af:commandButton actionListener="#{bindings.Delete6.execute}"
                                            text="Delete6"
                                            disabled="#{!bindings.Delete6.enabled}"
                                            binding="#{pageFlowScope.managedbean_GeneralLedger.cb24}"
                                            id="cb24"/>
                        </af:group>
                      </f:facet>             REMAING CODE CONTNIUES IN NEXT PAGE...

<af:panelCollection binding="#{pageFlowScope.managedbean_GeneralLedger.pc7}"
                                          id="pc7" styleClass="AFStretchWidth"
                                          inlineStyle="width:100.0%;">
                        <f:facet name="menus"/>
                        <f:facet name="toolbar"/>
                        <f:facet name="statusbar"/>
                        <af:table value="#{bindings.GlLvlAccounts1.collectionModel}"
                                  var="row"
                                  rows="#{bindings.GlLvlAccounts1.rangeSize}"
                                  emptyText="#{bindings.GlLvlAccounts1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                  fetchSize="#{bindings.GlLvlAccounts1.rangeSize}"
                                  rowBandingInterval="0"
                                  filterModel="#{bindings.GlLvlAccountsVOCriteriaQuery.queryDescriptor}"
                                  queryListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQuery}"
                                  filterVisible="true" varStatus="vs"
                                  selectedRowKeys="#{bindings.GlLvlAccounts1.collectionModel.selectedRow}"
                                  selectionListener="#{bindings.GlLvlAccounts1.collectionModel.makeCurrent}"
                                  rowSelection="single"
                                  binding="#{pageFlowScope.managedbean_GeneralLedger.t7}"
                                  id="t7" columnStretching="column:c48"
                                  styleClass="AFStretchWidth"
                                  inlineStyle="width:100.0%;"
                                  partialTriggers=":::q1 :::cb22  :::cb24">
                          <af:column sortProperty="GlalPlant" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalPlant.label}"
                                     id="c47">
                            <af:inputListOfValues id="glalPlantId"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalPlant.label}"
                                                  value="#{row.bindings.GlalPlant.inputValue}"
                                                  model="#{row.bindings.GlalPlant.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalPlant.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalPlant.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalPlant.tooltip}">
                              <f:validator binding="#{row.bindings.GlalPlant.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalPlantDesc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.label}"
                                     id="c38">
                            <af:inputText value="#{row.bindings.GlalPlantDesc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.tooltip}"
                                          id="it35">
                              <f:validator binding="#{row.bindings.GlalPlantDesc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalLvl1" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl1.label}"
                                     id="c46">
                            <af:inputListOfValues id="glalLvl1Id"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl1.label}"
                                                  value="#{row.bindings.GlalLvl1.inputValue}"
                                                  model="#{row.bindings.GlalLvl1.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalLvl1.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalLvl1.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl1.tooltip}">
                              <f:validator binding="#{row.bindings.GlalLvl1.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalLvl1Desc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.label}"
                                     id="c43">
                            <af:inputText value="#{row.bindings.GlalLvl1Desc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.tooltip}"
                                          id="it33">
                              <f:validator binding="#{row.bindings.GlalLvl1Desc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalLvl2" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl2.label}"
                                     id="c45">
                            <af:inputListOfValues id="glalLvl2Id"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl2.label}"
                                                  value="#{row.bindings.GlalLvl2.inputValue}"
                                                  model="#{row.bindings.GlalLvl2.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalLvl2.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalLvl2.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl2.tooltip}">
                              <f:validator binding="#{row.bindings.GlalLvl2.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalLvl2Desc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.label}"
                                     id="c35">
                            <af:inputText value="#{row.bindings.GlalLvl2Desc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.tooltip}"
                                          id="it29">
                              <f:validator binding="#{row.bindings.GlalLvl2Desc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalLvl3" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl3.label}"
                                     id="c41">
                            <af:inputListOfValues id="glalLvl3Id"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl3.label}"
                                                  value="#{row.bindings.GlalLvl3.inputValue}"
                                                  model="#{row.bindings.GlalLvl3.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalLvl3.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalLvl3.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl3.tooltip}">
                              <f:validator binding="#{row.bindings.GlalLvl3.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalLvl3Desc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.label}"
                                     id="c37">
                            <af:inputText value="#{row.bindings.GlalLvl3Desc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.tooltip}"
                                          id="it32">
                              <f:validator binding="#{row.bindings.GlalLvl3Desc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalLvl4" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl4.label}"
                                     id="c34">
                            <af:inputListOfValues id="glalLvl4Id"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl4.label}"
                                                  value="#{row.bindings.GlalLvl4.inputValue}"
                                                  model="#{row.bindings.GlalLvl4.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalLvl4.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalLvl4.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl4.tooltip}">
                              <f:validator binding="#{row.bindings.GlalLvl4.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalLvl4Desc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.label}"
                                     id="c42">
                            <af:inputText value="#{row.bindings.GlalLvl4Desc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.tooltip}"
                                          id="it30">
                              <f:validator binding="#{row.bindings.GlalLvl4Desc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalAcct" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalAcct.label}"
                                     id="c33">
                            <af:inputListOfValues id="glalAcctId"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalAcct.label}"
                                                  value="#{row.bindings.GlalAcct.inputValue}"
                                                  model="#{row.bindings.GlalAcct.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalAcct.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalAcct.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalAcct.tooltip}">
                              <f:validator binding="#{row.bindings.GlalAcct.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalAcctDesc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.label}"
                                     id="c44">
                            <af:inputText value="#{row.bindings.GlalAcctDesc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.tooltip}"
                                          id="it34">
                              <f:validator binding="#{row.bindings.GlalAcctDesc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalDesc1" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalDesc1.label}"
                                     id="c28">
                            <af:inputText value="#{row.bindings.GlalDesc1.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalDesc1.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalDesc1.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalDesc1.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalDesc1.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalDesc1.tooltip}"
                                          id="it36">
                              <f:validator binding="#{row.bindings.GlalDesc1.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalClId" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalClId.label}"
                                     id="c36">
                            <af:inputListOfValues id="glalClIdId"
                                                  popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalClId.label}"
                                                  value="#{row.bindings.GlalClId.inputValue}"
                                                  model="#{row.bindings.GlalClId.listOfValuesModel}"
                                                  required="#{bindings.GlLvlAccounts1.hints.GlalClId.mandatory}"
                                                  columns="#{bindings.GlLvlAccounts1.hints.GlalClId.displayWidth}"
                                                  shortDesc="#{bindings.GlLvlAccounts1.hints.GlalClId.tooltip}">
                              <f:validator binding="#{row.bindings.GlalClId.validator}"/>
                            </af:inputListOfValues>
                          </af:column>
                          <af:column sortProperty="GlalClassDesc"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.label}"
                                     id="c39">
                            <af:inputText value="#{row.bindings.GlalClassDesc.inputValue}"
                                          label="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.label}"
                                          required="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.mandatory}"
                                          columns="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.displayWidth}"
                                          maximumLength="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.precision}"
                                          shortDesc="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.tooltip}"
                                          id="it37">
                              <f:validator binding="#{row.bindings.GlalClassDesc.validator}"/>
                            </af:inputText>
                          </af:column>
                          <af:column sortProperty="GlalOptType"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalOptType.label}"
                                     id="c48">
                            <af:selectOneChoice value="#{row.bindings.GlalOptType.inputValue}"
                                                label="#{row.bindings.GlalOptType.label}"
                                                required="#{bindings.GlLvlAccounts1.hints.GlalOptType.mandatory}"
                                                shortDesc="#{bindings.GlLvlAccounts1.hints.GlalOptType.tooltip}"
                                                id="soc2">
                              <f:selectItems value="#{row.bindings.GlalOptType.items}"
                                             id="si2"/>
                            </af:selectOneChoice>
                          </af:column>
                          <af:column sortProperty="GlalStatus" filterable="true"
                                     sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalStatus.label}"
                                     id="c27">
                            <af:selectOneChoice value="#{row.bindings.GlalStatus.inputValue}"
                                                label="#{row.bindings.GlalStatus.label}"
                                                required="#{bindings.GlLvlAccounts1.hints.GlalStatus.mandatory}"
                                                shortDesc="#{bindings.GlLvlAccounts1.hints.GlalStatus.tooltip}"
                                                id="soc3">
                              <f:selectItems value="#{row.bindings.GlalStatus.items}"
                                             id="si3"/>
                            </af:selectOneChoice>
                          </af:column>
                          <af:column sortProperty="GlalBudFlag"
                                     filterable="true" sortable="true"
                                     headerText="#{bindings.GlLvlAccounts1.hints.GlalBudFlag.label}"
                                     id="c40">
                            <af:selectBooleanCheckbox value="#{row.bindings.GlalBudFlag.inputValue}"
                                                      label="#{row.bindings.GlalBudFlag.label}"
                                                      shortDesc="#{bindings.GlLvlAccounts1.hints.GlalBudFlag.tooltip}"
                                                      id="sbc3"/>
                          </af:column>
                        </af:table>
                      </af:panelCollection>
                    </af:panelBox>
                  </af:showDetailItem>
{CODE}
{CODE}
  OF INSERT BUTTON PRESSING
        public String cb22_action2() {
            BindingContainer bindings = getBindings();
         //   RichPopup.PopupHints ph = new RichPopup.PopupHints();
         //   p2.show(ph);
            DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("GlLvlAccounts1Iterator");
            Row oldCcurrentRow = dciter.getCurrentRow();
            ADFContext adfCtx = ADFContext.getCurrent(); adfCtx.getViewScope().put(OLD_CURR_KEY_VIEWSCOPE_ATTR, oldCcurrentRow.getKey().toStringFormat(true));
            System.out.println("test");
            OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert6");
            System.out.println("testing");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            RichPopup popup = this.getP2();
            RichPopup.PopupHints hints = new RichPopup.PopupHints(); //empty hints renders dialog in center of screen
            popup.show(hints);
            return null;
        }did some thing like this
GlalOptType - DB FIELD MANDATORY
FOR FIELD VO CONTROL HINTS I SET CONTROL TYPE AS CHOICE LIST
IS THIS ANY PROBLEM
GlalDesc1 - DB FIELD MANDATORY
Edited by: Erp on Oct 13, 2011 3:19 AM

Similar Messages

  • What causes BUFFER GETS and PHYSICAL READS in INSERT operation to be high?

    Hi All,
    Am performing a huge number of INSERTs to a newly installed Oracle XE 10.2.0.1.0 on Windows. There is no SELECT statement running, but just INSERTs one after the other of 550,000 in count. When I monitor the SESSION I/O from Home > Administration > Database Monitor > Sessions, I see the following stats:
    BUFFER GETS = 1,550,560
    CONSISTENT GETS = 512,036
    PHYSICAL READS = 3,834
    BLOCK CHANGES = 1,034,232
    The presence of 2 stats confuses. Though the operation is just INSERT in database for this session, why should there be BUFFER GETS of this magnitude and why should there by PHYSICAL READS. Aren't these parameters for read operations? The BLOCK CHANGES value is clear as there are huge writes and the writes change these many blocks. Can any kind soul explain me what causes there parameters to show high value?
    The total columns in the display table are as follows (from the link mentioned above)
    1. Status
    2. SID
    3. Database Users
    4. Command
    5. Time
    6. Block Gets
    7. Consistent Gets
    8. Physical Reads
    9. Block Changes
    10. Consistent Changes
    What does CONSISTENT GETS and CONSISTENT CHANGES mean in a typical INSERT operation? And does someone know which all tables are involved in getting these values?
    Thank,
    ...

    Flake wrote:
    Hans, gracias.
    The table just have 2 columns, both of which are varchar2 (500). No constraints, no indexes, neither foreign key references are in place. The total size of RAM in system is 1GB, and yes, there are other GUI's going on like Firefox browser, notepad and command terminals.
    But, what does these other applications have to do with Oracle BUFFER GETS, PHYSICAL READS etc.? Awaiting your reply.Total RAM is 1GB. If you let XE decide how much RAM is to be allocated to buffers, on startup that needs to be shared with any/all other applications. Let's say that leaves us with, say 400M for the SGA + PGA.
    PGA is used for internal stuff, such as sorting, which is also used in determing the layout of secondary facets such as indexes and uniqueness. Total PGA usage varies in size based on the number of connections and required operations.
    And then there's the SGA. That needs to cover the space requirement for the data dictionary, any/all stored procedures and SQL statements being run, user security and so on. As well as the buffer blocks which represent the tablespace of the database. Since it is rare that the entire tablespace will fit into memory, stuff needs to be swapped in and out.
    So - put too much space pressure on the poor operating system before starting the database, and the SGA may be squeezed. Put that space pressure on the system and you may enbd up with swapping or paging.
    This is one of the reasons Oracle professionals will argue for dedicated machines to handle Oracle software.

  • How to use the mirrored and log shipped secondary database for update or insert operations

    Hi,
    I am doing a DR Test where I need to test the mirrored and log shipped secondary database but without stopping the mirroring or log shipping procedures. Is there a way to get the data out of mirrored and log shipped database to another database for update
    or insert operations?
    Database snapshot can be used only for mirrored database but updates cannot be done. Also the secondary database of log shipping cannot used for database snapshot. Any ideas of how this can be implemented?
    Thanks,
    Preetha

    Hmm in this case I think you need Merge Replication otherwise it breaks down the purpose of DR...again in that case.. 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Database Adapter insert operation with return value

    Hi All,
    I have a table with auto generate parimary key in DB2 database. I need to have an insert operation ont this table which should return current value of primary key after insert.
    For this , I have created an insert operation in DB Adapter. But this insert operation in oneway operation.
    Is there any way I can create an Insert operation in DB2 adapter which returns the primary key value?
    Thanks
    --Sree                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Sree,
    With insert operation it is not possible. You may use stored procedure/function to perform insert and return the required value, and call this SP/function using DB Adapter.
    Regards,
    Anuj

  • Insert operation takes looooooooooong time

    One of our ETL procedures does an Insert operation on a table with the records selected from a couple of tables across DB link.
    While the SELECT query takes about 6 seconds to retrieve nearly 42,00,000 records, the insert of those records to a table takes about 45 minutes.
    Infact I've altered the table to NOLOGGING mode and the /*+ append */ comment(for Insert) is in place to reduce the redo logs.The destination table has no index and no constraints as well..
    Is there any other way that I can adapt to reduce the time of insert operation?
    Thanks,
    Bhagat

    >While the SELECT query takes about 6 seconds to retrieve nearly 42,00,000 records
    Is this in TOAD? If so, TOAD actually returns rows in sections and may not be returning the full set. You would have to actually scroll to the bottom of the grid and wait for the data to finish loading. Caution, if you did not select the option to execute queries in threads in TOAD you will not have the cancel query ability.
    >the insert of those records to a table takes about 45 minutes
    Have you performed a CREATE TABLE AS using the query. This will give you a good benchmark for performance during a direct-path load. You can then look at the USER_SEGMENTS.BYTES column for that table after a load and, with your timings, check the data transfer rate with your network support.

  • DIServer insert operations for sales orders with error

    DIServer insert operations for sales orders with
    That even though the insert is inserted DocDueDate DocDueDate it says error.
    Subtracting the value of the format 'yyyy-mm-dd', 'yyyy/mm/dd', 'mm-dd-yyyy', 'mm/dd/yyyy' put all reporting
    When the input is entered DocDueDate ShipDate also put together ... but I get an error.
    The error message 'env: Receiver-10Enter due date [ORDR.DocDueDate] 171AddObject2EEE7D98-AB71-464A-93AB-933F0AD3D4DC'
    Purchase order entered into the normal value because the xml is missing or wrong with you.
    Please answer all the possibilities that can be resolved
    This Xml used.
    "<BOM>" +
    "<BO>" +
    "<AdmInfo>" +
    "<Object>oOrders</Object>" +
    "</AdmInfo>" +
    "<QueryParams>" +
    "<DocEntry />" +
    "</QueryParams>" +
    "<Documents>" +
            "<row>" +
            "<DocType>I</DocType>" +
            "<DocDate>2012-01-11</DocDate>" +
            "<DocDueDate>2012-01-11</DocDueDate>" +
            "<CardCode>CD00001</CardCode>" +
            "<Address>Anymode</Address>" +
            "<DocCurrency>KRW</DocCurrency>" +
            "<Comments>[sales orders] LGU TEST</Comments>" +
            "<TaxDate>2012-01-11</TaxDate>" +
            "<JournalMemo>JournalMemo</JournalMemo>" +
            "<Address2>Addr</Address2>" +
            "<BPL_IDAssignedToInvoice>1</BPL_IDAssignedToInvoice>" +
            "</row>" +
    "</Documents>" +
    "<Document_Lines>" +
            "<row>" +
            "<ItemCode>ACDT0100ET</ItemCode>" +
            "<Quantity>1</Quantity>" +
            "<Price>5000</Price>" +
            "<DiscountPercent>10</DiscountPercent>" +
            "<WarehouseCode>A100</WarehouseCode>" +
            "<VatGroup>A2</VatGroup>" +
            "</row>" +
    "</Document_Lines>" +
    "</BO>" +
    "</BOM>";

    I had the same error change the Date to the format yyyymmdd, and problem solved.

  • ORA-022887 error during insert operation how to handle properly ...

    Hello everyone I got an error during insert operation how to handle it properly ?
    SQL statements given below.
    INSERT INTO PERSONEL.TRANSLATIONS (TID,SCRIPT_NAME,TAG,TR,EN,LOCAL)
    VALUES ((SELECT PERSONEL.SQX_TID.NEXTVAL AS TID FROM DUAL),'TEST_TEST','TEST','TR','EN','LOCAL');
    thank you

    I could not find an error like ORA-022887. What is the exact error you are getting? Do a cut and past of the error here.
    Ok the proper error is ORA-02287: sequence number not allowed here
    As already said just remove the select and use the sequence directly in the insert.
    Edited by: Karthick_Arp on Sep 11, 2009 1:04 AM

  • Which kind of cache group is suitable for the intensive insertion operation

    Hi Chris,sorry for call you directly. Because you give me many good answers about my many newbile questions these days:)
    You told me that the dynamic cache group is not suitable for the intensive insertion operation
    because each INSERT to a child table has to perform an existence check against Oracle even if load the cache group into RAM manually(Please correct me if wrong).
    Here I have many log tables that they only have a primary key and no foreign references and they are basically used to reflect changes from the related main tables.
    Every insert/update/delete on the main table will insert a log record in the related logging table(No direct foreign references).
    In order to cache these log tables, I have to create a independent cache group for each one, right?
    I do not want load these logs data into RAM because my application do not use them or these logs will waste my RAM clearly.
    so here comes my question.Which kind of cache group should I use to gain the best performance with no loading them into RAM?
    As my understand,the dynamic cache group load data on demand while the regular cache group need load all the data into RAM firstly and it won't load data from oracle anymore?
    Thanks in advance
    SuoNayi

    Let me be more specific. Consider this cache group:
    CREATE DYNAMIC ASYNCHRONOUS WRITETHROUGH CACHE GROUP CG_SWT
    FROM
    TPARENT
    PPK NUMBER(8,0) NOT NULL PRIMARY KEY,
    PCOL1 VARCHAR2(100)
    TCHILD
    CPK NUMBER(6,0) NOT NULL PRIMARY KEY,
    CFK NUMBER(8,0) NOT NULL,
    CCOL1 VARCHAR2(20),
    FOREIGN KEY ( CFK ) REFERENCES TPARENT ( PPK )
    INSERTS into TPARENT will not do any existence check in Oracle. An INSERT INTO TCHILD has to verify that the corresponding parent row exists. If the parent row exists in TimesTen then no check is doen in Oracle. If the parent row does not exist in TimesTen then we have to check if it exists in Oracle and if it does we will load it into TimesTen from Oracle (along with any other child rows) before completing the INSERT in TimesTen. So in the case where the parent always exists already in TimesTen there is no overhead but on the other case there is a lot of overhead.
    If your log table is truly not related to the main table (not in TT and not in Oracle either) then they should go into separate cache groups. If each insert into the log table has a unique key and there is no possibility of duplicates then you do not need to load anything into RAM. You can start with an empty table and just insert into it (since each insert is unique). Of course, if you just keep inserting you will eventually fuill up the memory in TimesTen. So, you need a mechanism to 'purge' no longer needed rows from TimesTen (they will still exist in Oracle of course). There are really two options; investigate TimesTen auotmatic aging (see documentation) - thsi may be adeuate of the insert rate is not too high - or implement a custom purge mechanism using UNLOAD CACHE GROUP (see documentation).
    Chris

  • Degrading performance when running consecutive insert operations

    Hi,
    I'm using DB-XML (2.5.16) as a backend storage for a web application that works on top of a TBX (TermBase eXchange) document. The application is using the Python bindings and development is being done on GNU/Linux with Python 2.6.
    The document is stored in a node-storage container, autoindexing is off at the time of container creation and transactions are enabled.
    After a set of indexes are set, queries work quite fast.
    On the other hand, when users input new data (terms) or perform edits on existing data, insert and replace operations have instant effect.
    The application has also a feature to insert lots of new terms in a single click, resulting in a new insert operation for each term. If the amount of terms to be inserted is relatively small (let's say ~10), the operation is quickly performed and the user receives a response almost instantly.
    Anyway, the problem arises when there are lots of new terms to be inserted. It starts working fast but performance quickly starts to degrade badly, needing more long seconds for each insert operation. Python's CPU-usage seems to go up to 100% when doing the actual insert, too.
    I understand this is not the best-working scenario for DB-XML (a single large document), but I don't think this performance is normal or acceptable.
    I have tried increasing Berkeley DB's cache size to 64MB with no success.
    Any hints about what should I be looking at? any more recommendations?
    These are the defined indexes:
    dbxml> listindexes
    Index: node-element-equality-string for node {}:admin
    Index: node-element-equality-string for node {}:descrip
    Index: node-attribute-equality-string edge-attribute-equality-string for node {}:id
    Index: node-attribute-equality-string for node {http://www.w3.org/1999/xhtml}:lang
    Index: unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:name
    Index: node-element-equality-string for node {}:ref
    Index: node-element-equality-string node-element-substring-string for node {}:term
    Index: node-element-equality-string for node {}:termNote
    Index: node-attribute-equality-string edge-attribute-equality-string for node {}:type
    9 indexes found.Container information:
    dbxml> info
    Version: Oracle: Berkeley DB XML 2.5.16: (December 22, 2009)
             Berkeley DB 4.8.30: (2010-12-09)
    Default container name: cont.dbxml
    Type of default container: NodeContainer
    Index Nodes: on
    Auto-indexing: off
    Shell and XmlManager state:
         Transactional, no active transaction
         Verbose: on
         Query context state: LiveValues,Eager

    As you both have mentioned I have tried increasing the cache size to 512MB or even to 1GB (I have recreated the entire DBs after setting cache sizes), but I don't see any significative improvements.
    I have also tried to tune my insert queries, and now I think they're in better shape than before. I would say the initial inserts feel slightly faster, but this only happens when the DB is empty (just bootstrapped). Then, once the DB has some term entries and grows in size, it starts to degrade and inserting becomes expensive in order of magnitudes.
    Each insert operation is performed in a separate transaction. And yes, I'm using transactions all over the application.
    Vyacheslav, I'll send you a couple of containers along with insert queries created by the application so you can play with.

  • INSERT operation - Doubt

    i would like to know , wht UNDO information genrated in case of an insert operation ...? since there is no befor image of a balck
    in case of a insert statment then how oracle ensure a read consistency.
    Regards,
    Gufran

    With insert , only the rowid changes get loggedHuh ? The "get logged" words are very misleading and throwaway.
    I think you mean to say that the Undo captures only the ROWIDs -- those that need to be deleted should the transaction be rolled back. However, the INSERT operation itself -- all the rows and columns going into the table -- is logged.
    For every "normal" DML, redo captures
    a. the Undo for the DML
    b. the DML itself
    In an INSERT operation, the Undo is very little. So the Redo for the Undo is also very little. But the Redo for the DML is not, necessarily, very little.

  • OWB Expert - Insert Operator in a mapping - To Share

    Hi All,
    Designed an expert to insert one of the following operators (aggregator, set_operation, deduplicator, expression, joiner, splitter, sorter, filter) anywhere in a mapping, if logically possible. Expert retains all the connections on insertion of the operator.
    Expert MDL file, detailed demo and limitations are documented and available in the zip file, which can be downloaded from here.
    Please go through the document in the zip file before using it.
    Expert does not comes with any WARRANTY !!! Use at your own risk !!!! Comments and Suggestions are always welcome.
    Thanks,
    Sam.

    Greetings SAM,
    1. I cannot connect to the location you indicated for the download. Other replies indicate that your Expert tool(s) are acurate, so I am very interested in obtaining the download. Please help me by verifyin that the Share you have, in fact is stll available.
    2. I am following the Oracle tutorial on OWB,,, but wanted a downloadable tutorial , OR Similar, so I can study offline,,, do you have an suggestions. I have the manuals for OWB, but wanted an offline tutorial (study while on the plane :) )
    3. Do you have a set of 'scripts' which call the ombplus commands. I am looking for Examples of the use and calling of the ombplus commands, where the examples show common sets of calls, effectively completing a function in OWB. For example,,, as I use the GUI in the OWB Design, I can see that I could also be using the ombPlus commands, to get the same thing done. If I biuld the scripts (or sets of commands), then I can both Use the scripts/commands to get the job done,,, and I can Use the scripts/commands to teach others the main functional calls to work with the OMB. All ideas welcome.
    ps, I am new to this forum, so please give me hints on protocol , if I make a mistake here,,, paul
    Thanks kindly SAM.
    Paul
    user638704
    -----------------

  • Override INSERT operation with subquery

    Hi, OTN.
    I have a form to update/insert a table.
    While INSERT one of the fields' value should be obtained by a subquery.
    SQL operation should look like this:
    INSERT INTO table1 (attribA, attribB, attribC)
    VALUES (valueA, valueB, ( SELECT max(valueC) + 1
    FROM table1
    WHERE table1.attribA = valueA
    It is necessary to complete insert in a single operation. Not possible to obtain a value with one query and insert it with another. Triggers also shouldn't be used.
    So i need to use a subquery. My JDev is 11.1.1.1.0.
    How is it done?
    Thanks

    I have problem with detailstamp not working on 11g.
    Let us consider : Item , SubItem relationship.
    Component : Item VO , SubItemVO , Item can have many subitem.
    1.Created ItemVO
    2.Create SubItemVO
    3.Create View Link based on ItemVo-ItemId that is FK in SubItem table.
    4.Created JSF page and Dragged ItemVO from Datacontrol to JSF Pagen as ADF ReadOnly Table.
    5.Expanded Item table structure in Structure window and open the detailstamp.
    6.Dragged SubItemVO in detailstamp as ADF ReadOnly table.
    Expected Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO Second Row
    Current Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    Description: Second ItemVO when expanded shows first ItemVO SUBITEMS.
    Thanks,

  • Usage Tracking - Cant perform insert operation inside a READ ONLY trans

    Hello,
    I have been experiencing the following error message when trying to install a row in our s_nq_acct table for USAGE TRACKING:
    [nQSError: 16001] ODBC error state: S1000 code: 1456 message: [Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction.
    - I am able to manually insert rows via SQL*Plus whilst logged on as the same user as the Connection Pool
    - The Read Only option is not ticked for the ODBC
    Can anyone please help me with this?
    Thanks,
    Rhys

    Hi rnm1978,
    You were right!
    I was being a bit retarded and had to simply switch the call interface on the connection pool to use the OCI and ensure the dta source name was that of the TNS names entry and not the system DSN.

  • Delete all data of a table in Oracle before insert operation in BizTalk.

    Hi,
    I need to delete all the data of a table from Oracle before insert data into it from BizTalk. I can't create stored procedure on the oracle table or how to create a xml of the delete schema of the oracle table in the BizTalk with filter node has a blank
    value because i need to delete all the data of the table so that i will send this xml as delete operation.
    Thanks in advance.
    Regards,
    Gyan

    You need to create two schemas: One for deleting all rows and one for inserting.
    Then combine these Schemas into one and use the "CompositeOperation" SOAP Action Header.
    Something like the below (a SQL Example, so the Schemas needs to be replaced by WCF-Oracle syntax)
    <Request xmlns="http://CompositeTest.CompositeSchema">
    <Delete xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/dbo/Employee">
    <Rows>
    <Employee xmlns="http://schemas.microsoft.com/Sql/2008/05/Types/Tables/dbo">
    </Employee>
    </Rows>
    </Delete>
    <Insert xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/dbo/Employee">
    <Rows>
    <Employee xmlns="http://schemas.microsoft.com/Sql/2008/05/Types/Tables/dbo">
    <Name>John</Name>
    <Designation>Manager</Designation>
    <Salary>100000</Salary>
    </Employee>
    </Rows>
    </Insert>
    </Request>
    Morten la Cour

  • What si the difference between crete and create insert operations.

    Hi
    In ADF 11g,what is the difference between create and createinsert operations.
    if anyone knows plz tell me.Any document about this plz provide me.
    Any help is appreciated.
    Sailaja.

    Hi,
    CreateInsert: Creates a new row that becomes the current row, and inserts the
    new blank row into the data source.
    Create: Creates a new row that becomes the current row, but does not insert it.
    --> normaly you would use createinsert
    Doc you can find here (search for Createinsert): http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974.pdf
    br
    Peter

  • "returning into" result is null with insert operation (only in apex)

    I'm attempting to capture my primary key or the rowid identifying a particular row when inserted into a table (9.2.0.8) and placing it into an apex variable. I've not been successful using the following methodology. My plsql inserts my data into SM_ORDER successfully. Any suggestions?
    MY TABLE -
    CREATE TABLE "SM_ORDER"
    +( "ORDER_ID" NUMBER NOT NULL ENABLE,+
    ++ "CUSTOMER_ID" NUMBER NOT NULL ENABLE,++
    ++ "SAMACCOUNTNAME" VARCHAR2(20) NOT NULL ENABLE,++
    ++ "ORDER_DATE" DATE NOT NULL ENABLE,++
    ++ CONSTRAINT "SM_ORDER_PK" PRIMARY KEY ("ORDER_ID") ENABLE++
    +)+
    +/+
    CREATE OR REPLACE TRIGGER "BI_SM_ORDER"
    before insert on "SM_ORDER"
    for each row
    begin
    if :NEW."ORDER_ID" is null then
    select "SM_ORDER_SEQ".nextval into :NEW."ORDER_ID" from dual;
    end if;
    end;
    +/+
    ALTER TRIGGER "BI_SM_ORDER" ENABLE
    +/+
    MY PLSQL -
    declare
    r rowid;
    order_id_hold number;
    begin
    select SM_ORDER_SEQ.nextval
    into order_id_hold
    from dual;
    insert into SM_ORDER (CUSTOMER_ID,
    SAMACCOUNTNAME,
    ORDER_DATE)
    values (:F111_CURRENT_CUSTOMER,
    +:APP_USER,+
    SYSDATE)
    returning ORDER_ID
    into order_id_hold;
    +:P5_ORDER_ID_HOLD := order_id_hold;+
    end;
    NOTE: If I do it as a straight SQL statement, it works fine.
    declare
    r rowid;
    order_id_hold number;
    begin
    select      SM_ORDER_SEQ.nextval
    into       order_id_hold
    from       dual;
    insert into SM_ORDER (CUSTOMER_ID,
    SAMACCOUNTNAME,
    ORDER_DATE)
    values              (:F111_CURRENT_CUSTOMER,
    +:APP_USER,+
    SYSDATE)
    returning             ORDER_ID
    into                  order_id_hold;
    dbms_output.put_line (order_id_hold);
    end;
    +/+
    *49*
    *1 row(s) inserted.*
    *0.04 seconds*
    Thank you!
    Paul

    I have something similar in one of my applications.
    Have you tried it like this?
    CREATE OR REPLACE TRIGGER "BI_SM_ORDER"
    before insert on "SM_ORDER"
    for each row
    l_order_id number;
    begin
      select SM_ORDER_SEQ.nextval into l_order_id from dual;
    :NEW.ORDER_ID := l_order_id;
    end;
    *Your PLSQL* -
    declare
      r rowid;
      order_id_hold number;
    begin
      insert into SM_ORDER (CUSTOMER_ID,
                           SAMACCOUNTNAME,
                           ORDER_DATE)
      values (:F111_CURRENT_CUSTOMER,
                 :APP_USER,
                 SYSDATE)
      returning ORDER_ID
      into order_id_hold;
      :P5_ORDER_ID_HOLD := order_id_hold;
    end;The if-then in your trigger was redundant, so was the select-nextval in your PL/SQL. This exact structure works for me.

Maybe you are looking for

  • Can't download apps and I can't even update my pho...

    Please, i need helpl. I put in some videos into my nokia lumia820 and now i cant find them and my memory seems to be increasing everyday even when i clear out old pic stored to my phone memory.. now i cant download apps and i cant even update my phon

  • Using mysql database on another machine without having mysql installed

    Hi... I was wondering whether its possible to copy a Mysql database that I have created on my machine, take it to another machine which does not have Mysql command line stuff installed and use my own JDBC connection to the copied mysql database and s

  • Newbie: Trying to get data  from Code Behind file to HTML file.

    Greetings, I am trying to use the opener link adaptive tag to open a specific page. I have the Object ID, and classID as variables in my class in my class file, but I do not know how to get that data into the opener link which is on the html page. Sh

  • Cannot transfer via bluetooth - transfer failed - file too big

    I have been trying all evening to transfer songs from my laptop to my blackberry and it keeps telling me the transfer has failed because the file is too big. I have only tried to transfer one song I would understand it being to big if I was trying to

  • Base Tables that store external application information

    I have created several external applications. I would like to know where are these applications stored ie. in which tables under what user . I want to get the corresponding external application id to the external application name , so that I can pass