Cannot commit for update

Hi
I have a problem about adf commit. I have master and detail table. I change master table's one row data in jsf page and then press commit. It doesnt change in database. But if change datail table row and press commit it change
Can anyone help me?
thanks

Hi,
does it only commit the detail changes then or the master changes as well ? Are the two in the same h:form (or af:form) element ?
Frank

Similar Messages

  • Java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from

    Experts,
    I am getting "java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc" exception and it leads to one or more setter methods of the VO. I checked the respective attribute in the VO to see if it refers to any LOV with sql having Distinct or group by clause, but it is a normal attribute.
    Any idea how do i resolve this error ?
    Error Stack::
    java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3756)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3635)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3203)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1971)
         at oracle.jbo.server.AttributeDefImpl.resolveSet(AttributeDefImpl.java:3412)
         at oracle.jbo.server.EntityImpl.setAttrInvokeAccessor(EntityImpl.java:1952)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:1879)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2327)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:2131)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1427)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl.setNationality(PartyVORowImpl.java:2103)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl$AttributesEnum$19.put(PartyVORowImpl.java:207)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl.setAttrInvokeAccessor(PartyVORowImpl.java:4204)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1063)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1003)
         at oracle.jbo.server.ViewRowImpl.setAttributeValues(ViewRowImpl.java:1677)
         at oracle.adf.model.binding.DCDataControl.setAttributesInRow(DCDataControl.java:2427)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeValuesInRow(JUCtrlValueBinding.java:967)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2778)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.updateTargetFromSelectedValue(JUCtrlListBinding.java:2906)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setAttributeFromValueList(JUCtrlListBinding.java:2851)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setSelectedIndex(JUCtrlListBinding.java:1745)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setInputValueInRow(JUCtrlListBinding.java:3499)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2804)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2767)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.setInputValue(FacesCtrlListBinding.java:226)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.put(JUCtrlValueBinding.java:2424)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.put(JUCtrlListBinding.java:3395)
         at javax.el.MapELResolver.setValue(MapELResolver.java:229)
         at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:252)
         at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:278)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.updateModel(UIXEditableValue.java:289)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processUpdates(UIXEditableValue.java:252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$UpdateModelValuesCallback.invokeContextCallback(LifecycleImpl.java:1320)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:194)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:147)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.awRostamani.leadWeb.ui.filter.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:80)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    thnks

    When trying to commit from business tester, then also the following error is coming
    Jdev 11.1.1.5 - locking mode is optimistic.
    OracleSQLBuilderImpl.doEntitySelect failed...
    java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6484)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6665)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3286)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3089)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
         at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [348] JUErrorHandlerDlg.reportException(oracle.jbo.DMLException)
    [349] DBG: afterActionPerformed :javax_swing_JToolBara1_175
    Edited by: in the line of fire on Jul 12, 2011 2:54 PM

  • Updatable View issues:  cannot select FOR UPDATE from view with DI

    Hi All,
    I have a simple view XY and an instead of trigger on that to insert data into one table which is used in the my view. When I do insert statement on view XY it is working fine from sql but when i used same thing with page process of " Process Row of XY Automatic Row Processing (DML) " i am getting following error. I am using APEX 3.0 . Please help me.
    ORA-20001: Error in DML: p_rowid=xxxx, p_alt_rowid=abc, p_rowid2=, p_alt_rowid2=. ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    Thanks

    James,
    are you already on 3.0.1.00.07 or 3.0.1.00.08? Have a look at the release notes, it says something about a bug fix for some occurrences of ORA-02014.
    Also have a look at the new substitution value/item FSP_DML_LOCK_ROW which turns locking off if you set it to FALSE. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_readme.html#CHDIDIAF and also http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BCGFDAIJ
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Cannot check for updates in Mountain Lion - NSURLErrorDomain error -1100

    Hi all,
    When I try to check for software updates I get the notification that an error has occurred -
    NSURLErrorDomain error -1100
    Anyone else with similar experience?
    Thanks
    Thomas

    Hi, as I mentioned I've faced the same problem. MBP late 2011 with 10.8.1.
    Here's the logfile content for inspection and probably help:
    Sep 13 12:30:03 Michaels-MacBook-Pro newsyslog[1691]: logfile turned over due to size>1000K
    Sep 13 12:33:49 Michaels-MacBook-Pro.local Software Update[1032]: SUAppStoreUpdateController: proceed with scan based on intervening install (including iTunes at 2012-09-13 10:25:24 +0000) (last scan: 2012-09-12 11:55:33 +0000)
    Sep 13 12:33:49 Michaels-MacBook-Pro.local Software Update[1032]: SoftwareUpdate: Scan for client pid 1032 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep 13 12:33:50 Michaels-MacBook-Pro.local Software Update[1032]: SoftwareUpdate: Using catalog https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog.gz
    Sep 13 12:33:54 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:RICOH;MODEL:RICOH Aficio MP C2800 PS
    Sep 13 12:33:54 Michaels-MacBook-Pro.local Software Update[1032]: Can't load distribution from https://swdist.apple.com/content/downloads/31/40/zzzz041-6901/mmfalra8cou4u81xz0 i3jkk9hud6vdv09j/041-6901.German.dist.gz: Error Domain=NSURLErrorDomain Code=-1100 "Der Vorgang konnte nicht abgeschlossen werden. (NSURLErrorDomain-Fehler -1100.)" UserInfo=0x7f97af8454d0 {PKURLErrorResponseHeaders=<CFBasicHash 0x7f97af861b70 [0x7fff76bc4190]>{type = immutable dict, count = 8,
              entries =>
                        0 : Case Insensitive Key: Server = <CFString 0x7f97af8d1320 [0x7fff76bc4190]>{contents = "AkamaiGHost"}
                        1 : Case Insensitive Key: Content-Type = <CFString 0x7fff76bab310 [0x7fff76bc4190]>{contents = "text/html"}
                        2 : Case Insensitive Key: Vary = <CFString 0x7f97abafbb00 [0x7fff76bc4190]>{contents = "Accept-Encoding"}
                        5 : Case Insensitive Key: Mime-Version = <CFString 0x7fff76baa790 [0x7fff76bc4190]>{contents = "1.0"}
                        6 : Case Insensitive Key: Date = <CFString 0x7f97af862990 [0x7fff76bc4190]>{contents = "Thu, 13 Sep 2012 10:33:54 GMT"}
                        10 : Case Insensitive Key: Content-Length = <CFString 0x7fff76ba0050 [0x7fff76bc4190]>{contents = "268"}
                        11 : Case Insensitive Key: Expires = <CFString 0x7f97af8507f0 [0x7fff76bc4190]>{contents = "Thu, 13 Sep 2012 10:33:54 GMT"}
                        12 : Case Insensitive Key: Connection = <CFString 0x7f97af843240 [0x7fff76bc4190]>{contents = "keep-alive"}
              , PKURLErrorStatusCode=503, NSErrorFailingURLStringKey=https://swdist.apple.com/content/downloads/31/40/zzzz041-6901/mmfalra8cou4u81xz0 i3jkk9hud6vdv09j/041-6901.German.dist.gz}
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: 1.8s to run getPPDVersion -all /Library/Printers/PPDs/Contents/Resources
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: Added 244 PPD versions from /Library/Printers/PPDs/Contents/Resources
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Ricoh_Drivers does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:RICOH;MODEL:RICOH Aficio MP C2800 PS
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Ricoh_Drivers does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:RICOH;MODEL:RICOH Aficio MP C2800 PS
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Ricoh_Drivers does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:RICOH;MODEL:RICOH Aficio MP C2800 PS
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Ricoh_Drivers does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: 10.8.1
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICAMPSeries07xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICACommon does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_PDEs does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_SharedLibraries11 does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_InkjetMGSeries10xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_Frameworks does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICACommon does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICAMPSeries07xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_InkjetMGSeries10xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_PDEs does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_SharedLibraries11 does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_Frameworks does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_Frameworks does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICACommon does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICAMPSeries07xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_InkjetMGSeries10xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_PDEs does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_SharedLibraries11 does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_Frameworks does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICACommon does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_ICAMPSeries07xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_InkjetMGSeries10xx does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_PDEs does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Connected printer: MANUFACTURER:Canon;MODEL:MG5300 series
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: Printer Canon_SharedLibraries11 does not require an update.
    Sep 13 12:33:56 Michaels-MacBook-Pro.local Software Update[1032]: JS: model = MacBookPro8,1
    Sep 13 12:34:00 Michaels-MacBook-Pro.local Software Update[1032]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1100 "Der Vorgang konnte nicht abgeschlossen werden. (NSURLErrorDomain-Fehler -1100.)" UserInfo=0x7f97af8454d0 {PKURLErrorResponseHeaders=<CFBasicHash 0x7f97af861b70 [0x7fff76bc4190]>{type = immutable dict, count = 8,
              entries =>
                        0 : Case Insensitive Key: Server = <CFString 0x7f97af8d1320 [0x7fff76bc4190]>{contents = "AkamaiGHost"}
                        1 : Case Insensitive Key: Content-Type = <CFString 0x7fff76bab310 [0x7fff76bc4190]>{contents = "text/html"}
                        2 : Case Insensitive Key: Vary = <CFString 0x7f97abafbb00 [0x7fff76bc4190]>{contents = "Accept-Encoding"}
                        5 : Case Insensitive Key: Mime-Version = <CFString 0x7fff76baa790 [0x7fff76bc4190]>{contents = "1.0"}
                        6 : Case Insensitive Key: Date = <CFString 0x7f97af862990 [0x7fff76bc4190]>{contents = "Thu, 13 Sep 2012 10:33:54 GMT"}
                        10 : Case Insensitive Key: Content-Length = <CFString 0x7fff76ba0050 [0x7fff76bc4190]>{contents = "268"}
                        11 : Case Insensitive Key: Expires = <CFString 0x7f97af8507f0 [0x7fff76bc4190]>{contents = "Thu, 13 Sep 2012 10:33:54 GMT"}
                        12 : Case Insensitive Key: Connection = <CFString 0x7f97af843240 [0x7fff76bc4190]>{contents = "keep-alive"}
              , PKURLErrorStatusCode=503, NSErrorFailingURLStringKey=https://swdist.apple.com/content/downloads/31/40/zzzz041-6901/mmfalra8cou4u81xz0 i3jkk9hud6vdv09j/041-6901.German.dist.gz}
    Sep 13 12:34:00 Michaels-MacBook-Pro.local Software Update[1032]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error Der Vorgang konnte nicht abgeschlossen werden. (NSURLErrorDomain-Fehler -1100.)

  • I cannot restart for updates because I cannot quit safari...it is not highlighted and will not allow me to click on it. How do I fix this?

    I am unable to restart my computer and install updates because it asks me to quit safari. When I try to "quit safari" it won't let me click on it. It's not highlighted in black....just stays gray. What can I do to remedy this?

    Click on it in the dock. If it won't let you click on it do command-option esc keys and quit it from there.

  • Win 7 SP1 Windows cannot search for new updates

    I am not able to get new updates.  I am running Win 7 SP1 and I have tried the build in update repair Tool. I have also tried to download and run FIX IT from Windows. I have also tried to change and reset the clock and to remove the latest udtates to
    see if they were the problem. Nothing seems to help.
    Any sugestions?

    Hi skhieds,
    Have you checked the KB article below?
    "Windows Update Cannot Check For Updates" error message when you try to install updates
    The above article talking about the services not running well, you may follow the steps to check the issue.
    You may try to boot into cleanboot and run Windows udpate there.
    How to perform a clean boot in Windows
    2, rebuild the SoftwareDistribution folder;
    net stop wuauserv
    del c:\windows\SoftwareDistribution /q /s
    net start wuauserv
    3, run SFC /scannow, after that, download the readness tool and run it:
    What is the System Update Readiness Tool?
    4, reset Windows update components:
    How do I reset Windows Update components?
    Best regards
    Michael Shao
    TechNet Community Support

  • ITunes 10 will not connect to Store, let me sign in, check for updates on Windows Vista 32 bit.

    Has anyone had trouble connecting to the iTunes Store while using Itunes 10 for PC?
    I cannot check for updates, sign in, or connect to the store so all my app downloads must be done from my device.
    Using:
    Windows Vista 32-bit.
    Cox McAfee anti-virus/firewall.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Problem combining select, order by, rownum (top-N) and for update

    Hello,
    i have serious problems with this.
    -- drop table testtable;
    create table testTable (id number(10,0) primary key, usage number(10,10));
    -- delete from testtable;
    insert into testtable values (11, 0.5);
    insert into testtable values (10, 0.3);
    insert into testtable values (12, 0.3);
    insert into testtable values (9, 0.3);
    insert into testtable values (8, 0.9);
    insert into testtable values (3, 0.0);
    insert into testtable values (2, 0.02);
    insert into testtable values (1, 0.05);
    insert into testtable values (7, 0.7);
    insert into testtable values (6, 0.4);
    insert into testtable values (5, 0.2);
    insert into testtable values (4, 0.1);
    select * from testtable;
    -- without FOR UPDATE
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10;
    --> WORKS
    -- without ORDER BY
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    where rownum <= 10
    for update of id_;
    --> WORKS
    -- without WHERE ROWNUM <= 10
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    for update of id_;
    --> WORKS
    -- But what i need is this:
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10
    for update;
    --> ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc., SQL State: 42000, Error Code: 2014
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10
    for update of id_;
    --> ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc., SQL State: 42000, Error Code: 2014
    I have tried every single solution i could come up with.
    But nothing worked.
    My latest idea is to include a comment in the query and set up an ON SELECT trigger which evaluates the comment and enforeces the lock.
    But i'm not sure if this is even possible.
    I cannot split the statement into two because i need the lock immediately when the wanted rows are selected.
    One major criteria for the rows is the order by. Without it i get a random set of rows.
    And the rownum <= 10 is also needed because i don't want to lock the whole table but only the few needed rows.
    I tried row_number() over (order by ...) but this is considdered a window/group-function which disallows the for update as well as the order by.
    During these tests i noticed, that when using the row_number()-function the resultset is ordered automatically (without an additional order by clause).
    But this doesn't help anyway.
    I tried using piped functions to wrap the select to apply the rownum manually by cursor skip, but this doesn't work either. First of all i wasn't able to wrap the query the way i imagined and second the lock would be applied to the whole resultset anyway but only the reduced rows would be returned.
    I heared about LOCK-hints from other DBs, is there anything similar here?
    Any other solution??
    btw. it has to be high-performance after all.
    Greetings Finomosec;

    No, not perfect.
    This is the expected result (ordered by usage desc, id desc):
    ID     USAGE
    8     0.9
    7     0.7
    11     0.5
    6     0.4
    12     0.3
    10     0.3
    9     0.3
    5     0.2
    This ist the one produced by your statement:
    ID     USAGE
    5     0.2
    6     0.4
    7     0.7
    8     0.9
    9     0.3
    10     0.3
    11     0.5
    12     0.3
    Use limit 5 in your tests, and you will also notice that the following doesn't work either:
    select * from testtable ww where ww.id in
    select id from
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    where rownum <= 5
    order by usage desc, id desc
    for update;
    It's because the order is not applied to the result.
    But the following modification works (at least principally):
    select * from testtable ww where ww.id in
    select id from
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    order by usage desc, id desc
    where rownum <= 5
    order by usage desc, id desc
    for update;
    Thr problem here is:
    I need to expand the following Statement to the above form by (Java-) Code:
    -- statement-A
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    order by usage desc, id desc;
    The main problem is:
    The order by clause needs to be duplicated.
    The problem here is, to identify it (if present) and NOT any order by in inner selects.
    I am using Hibernate and to implement this i have to modify the OracleDialect to solve this problem. I get the statement-A (see above) and have to apply the limit.
    Isn't there any other solution??
    Greetings Finomosec;

  • Get Windows Explorer when I check for Updates for IOS

    I cannot "check for updates" or "restore" IOS on my ipad. I have an ipad 1 (model A1337) and when I select either option it presents me with a windows explorer view of my pc. Any ideas? I have upgraded iTunes to 10.6.3.5. I am currently on IOS 4.2.1

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • Disallow select for update

    Hi,
    I am making a read only user, with select rights on all of the tables in another scheme. How do I dissalow this user to lock the production table with select for update?
    Regards
    Nico

    Good idea in principle, but there may be more efficient solutions than DISTINCT. Any operation which prevents view merging appears to work (or rather not work) e.g.
    CREATE OR REPLACE VIEW view_name
    AS
       SELECT /*+ NO_MERGE */ column_name
       FROM   table_name;...is sufficient to raise ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc. when attempting SELECT ... FOR UPDATE.
    It is important to note though that /*+ NO_MERGE */ could theoretically be ignored by the optimizer - another cheap alternative you might consider would be to reference ROWNUM in the view definition, e.g.
    CREATE OR REPLACE VIEW view_name
    AS
       SELECT column_name
       FROM   table_name
       WHERE  ROWNUM >= 1;

  • BC4J FOR UPDATE problem

    I created bc4j entity and view based on DB View with INSTEAD OF trigger. When I try to delete some rows from bc4j view I gut a mssg:
    (java.sql.SQLException) ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    How to make bc4j to do nothing and to pass control to view's INSTEAD OF trigger?
    Thanks

    I had the same problem using INSTEAD OF in combination with VPD. When i remember correctly, for views without VPD, the FOR UPDATE NOWAIT works.
    You can overwrite the lock() method in your EntityImpl and lock the tables manually like this:try {
      getDBTransaction(  ).executeCommand( "declare v_my_table_id integer; begin "
                             + "SELECT my_table_id INTO v_my_table_id FROM mytable "
                             + "WHERE my_table_id = "
                             + getMyTableId(  )
                             + " FOR UPDATE NOWAIT; END;" );
      setLocked( true );
    } catch( RuntimeException exception ) {
        throw exception;
    }Sadly there is no SAVEPOINT support in BC4J, so if you have more than one table, better create a DB Package function that issues a savepoint, try to lock each of the tables and do a ROLLBACK TO savepoint if one of the SELECT FOR UPDATE fails.
    hth, Markus

  • Check for update return me to older version?

    Hi community, I use Skype on Mac, version 7.10. I choose Check for update and it found version update. I agree to install. Now I check again, my skype is version 7.9. Now I cannot check for update anymore.Why this happens?    

    Firefox 20.0 is at www.mozilla.org so it is officially released.
    Firefox 20.0 was scheduled for the week of April 1st and the release is usually a Tuesday which is today.
    https://wiki.mozilla.org/Releases

  • [Forms6]Select for update before update and commit

    Hi,
    In the KEY-COMMIT forms trigger
    My code finds the primary keys of the rows to be updated,
    then there is "select ...where "these keys".. for update nowait"
    then there is a commit
    (There also is a pragma exception init -54 "Resource Busy")
    At runtime I get an error:
    "Cannot insert rows here".
    Maybe I should lock these rows before triggering the Key-commit?
    --> message edited
    Oops, I just reproduced the code in Forms 10,
    I select for update from emp where empno=7839 then update King's sal then commit_form;
    and everything works fine.
    So I have to locate where this error message comes from.
    --< End of edit
    Many thanks for your help.
    Edited by: JeanParis on Dec 23, 2009 10:31 PM

    Hi,
    The issue is solved on my Developer 2000 10 installed on Windows XP.
    At work on Forms 6 I have hidden the warning with a :system.message_level.
    What I'm searching now is a script to check the locks in the situation where
    I don't have access to the catblock.sql script because I'm not DBA on the database. (but I can see DBA_LOCKS).
    The problem starts because on the master block there is an item that can ben changed
    from 'CREAT' to 'VALID', and in the When Validate Item trigger on that item I cannot issue a go_block( 'xxx' ).
    I have to go to the 'xxx' block in order to start a first record - next loop to gather values and update a table accordingly.
    Many thanks for your care.
    JBM.

  • I have an iphone 4, i connect it to my laptop using the usb and then when connecting to itunes it says my phone is not up to date with itunes yet i cannot find an update 11.1 for my phones itunes? someone please help me.. kind regards

    i have an iphone 4, i connect it to my laptop using the usb and then when connecting to itunes it says my phone is not up to date with itunes yet i cannot find an update 11.1 for my phones itunes? someone please help me.. kind regards

    Itunes 11.1 is for your computer, not your iphone
    It is required in order to sync with ios 7.

  • I cannot update iTunes. In instructions for updating it says to go to help and then click check for updates. Guess what! No help options within iTunes. I need to be able to syn my iPod touch 5 but I cant without the newest iTunes. I am sick of this crap.

    I am EXTREMELY tired of having to deal with this. iTunes has been an issue since I got it and unfortunately whenever I want to update my computer's iTunes account it demands I download a new format (which has continually gotten worse and WORSE over time). I wish things would not be updated so frequently. As soon as I have the new format working decently (ONLY decently, I have never had an apple product that has worked as it is stated it should) another update comes along. And THIS time, I cannot download it. First problem: I open iTunes. It says I need to update for my ipod to work. I think "great. I click ok and it will do it automatically!" Oh boy was I wrong. I don't do anything. I search up how to update things. It says ON THIS SITE: Go to help in the itunes store. THERE. IS. NO. CLEARLY. VISIBLE. HELP. SECTION. I have looked for FAR to long for this to be worth my time.

    Okay - let's cut to the chase...
    If the Menu Bar (File, Edit... Help) shown in my screenshot below is not visible, use CTRL+B to display it. Then click on Help/Check for Updates. If one is available, you will be able to select it at this time.
    Note the item at the bottom of the list; About iTunes. Selecting that will show you which version of iTunes you are using.
    An alternative method to display the Menu Bar is click on the box in the top left of your iTunes window...

Maybe you are looking for

  • Mapping to XP Printer Share from MBP

    I am trying to map to a Canon MF4150 printer. I downloaded and installed the drivers for this printer on the MBP. I added the advanced icon to the printer and fax applet and when I choose this icon, the MBP scans for available printers. The printer i

  • DBMS_DATAPUMP.STOP_JOB procedure is not halting the job

    Dear All, We have created a application using .NET which a user can backp his schema (Fires datapump procedurein the backend). But we have noticed that DBMS_DATAPUMP.STOP_JOB is actually not stopping the job after few minutes of start time, will stop

  • 'Search' slow for common entries

    Good morning!  I'm using RoboHelp HTML 8.0.2.208, and generating a FlashHelp online user manual.  I have several words/phrases in the manual that are very common, and if/when these items are entered into the 'Search' bar it seems to bog down the syst

  • ISA order.jsp; message and validation for "Your reference" field

    Hi Everyone, I am new to ISA and working on java program to add message to "Your Reference" field in order.jsp page if this field is empty and clicked on "Check Out" button and user need to remain in the same page until user enters information in thi

  • My time capsule wi-fi seems to become inactive for an hour or two in the mornings?  on MBP and iphone? any ideas ?

    My time capsule works without any problems , most of the time..... seems around 7-8 am the wifi connection doesn't work. its hooked up to my AT&T Uverse router. it isn't a lion issue ( I am running lion on MBP) because I also see it on my iPhone 4s.