JBO-26041: Failed to post data to database during "Update":
Hi,
When Iam trying to update data to database Using View object this error comes .Please help me....
Thanks....
No info mean no help....
There must be an underlying error or at least a full stack trace.
What did you try to do?
Which JDev version and which technology you are using?
Timo
Similar Messages
-
Urgent JBO-26041: Failed to post data to database during (in insert Clob)
HI ,
we have a code to get the clob and then write it to the database
HttpSession session = UIServices.getHttpSession(context);
byte] payloadByteArray = (byte[)session.getAttribute("FILE_BYTES_fileName");
String payloadStr = null;
try {
//get the string
payloadStr = new String(payloadByteArray, "UTF-8");
// System.out.println("---payloadstr --->>>>"+payloadStr) ;
ClobDomain cd =new ClobDomain(payloadStr);
XhubRoutingRulesAMImpl am = (XhubRoutingRulesAMImpl)Jbo.getApplicationModule(context);
SnwRoutingRulesVOImpl SnwRoutingRulesVO= (SnwRoutingRulesVOImpl) am.findObject("SnwRoutingRulesVO");
Jbo.applyViewCriteriaOneRow(SnwRoutingRulesVO,"RoutingRuleId",routingRuleId);
SnwRoutingRulesVO.executeQuery();
SnwRoutingRulesVORowImpl row=null;
while (SnwRoutingRulesVO.hasNext())
row =(SnwRoutingRulesVORowImpl) SnwRoutingRulesVO.next();
row.setPreXslt(cd);
row.setOverridexslt("Y");
row.setPostXslt(null);
//commiting the data
Jbo.commit(am);
session.removeAttribute("FILE_BYTES_fileName");
catch(Exception e){
e.printStackTrace();
session.removeAttribute("FILE_BYTES_fileName");
THE exception are :
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "null".
at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8139)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:7994)
at oracle.apps.snw.schema.server.WhoEntityImpl.doDML(WhoEntityImpl.java:200)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6319)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3168)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2976)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2014)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2273)
at oracle.apps.snw.uicommon.Jbo.commit(Jbo.java:148)
at oracle.apps.snw.tpadmin.webui.TPRouteRulesEvent.fileUpload(TPRouteRulesEvent.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
at oracle.cabo.data.jbo.servlet.event.ChainingEventHandler.handleEventImpl(Unknown Source)
at oracle.cabo.data.jbo.servlet.event.FindRootAppModuleEventHandler.handleEventImpl(Unknown Source)
at oracle.cabo.data.jbo.servlet.event.BaseEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
at oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$SynchronizingEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
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.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
at oracle.jbo.domain.ClobDomain.writeCharsToLob(ClobDomain.java:1322)
at oracle.jbo.domain.ClobDomain.saveToDatabase(ClobDomain.java:464)
at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8114)
... 49 more
This same code is running fine sometime and we didnt get any issue but sometime it is throwing the error .Its very strangeEDIT: Nevermind you're using ClobDomain. I was thinking of standard jdbc CLOB's.
Edited by: Jan Nawara on May 5, 2010 10:35 AM -
JBO-26041: Failed to post data to database during "Insert": SQL Statement "
Dear All,
I am trying to insert the data into custom table,getting the following error. Please help me to resolve the issues.
I have created one custom table in APPS schema having the primary key and History Columns.
Created the EO based on the custom table and generate the create method.
Created the VO based on the EO and generated the VOImpl, RowImpl Java Files.
I am using the PER_PEOPLE_S sequence to populate the value into Primary key column.
Calling the below code into create method of EO object to populate the value into Primarykey column.
setPersPersonid(getOADBTransaction().getSequenceValue("PER_PEOPLE_S"));
oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO XXUTS_PERSON_T(PERS_PERSONID,PERS_FIRSTNAME,PERS_LASTNAME,CREATION_DATE,CREATED_BY,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN) VALUES (?,?,?,?,?,?,?,?)".
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.sql.SQLException: ORA-00911: invalid character
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
at xxuts.oracle.apps.csc.person.server.XXPersonMainAMImpl.savePersonToDatabase(XXPersonMainAMImpl.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
java.sql.SQLException: ORA-00911: invalid character
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
at xxuts.oracle.apps.csc.person.server.XXPersonMainAMImpl.savePersonToDatabase(XXPersonMainAMImpl.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Thanksm
Sai SankilisettyDear Kumar,
I have checked the datatypes of the table and datatypes of the Pageitems, both the datatypes are same.
I have created the region using the wizard based on the VO.
My custom table having only 3 columns and History Columns.Out of 3 columns PersPersonid is Primary key column and I am assigning the sequence value to the column in create method of EO as below
public void create(AttributeList attributeList) {
super.create(attributeList);
setPersPersonid(getOADBTransaction().getSequenceValue("PER_PEOPLE_S"));
//Here PER_PEOPLE_S is the Sequence
Thanks,
Sai -
Failed to post data to database during "Update": SQL Statement
Hi,
I'm getting this error while trying to update a VO via BCBrowser or UI.
Failed to post data to database during "Update": SQL Statement
This is a simple & straight forward default VO created on Entity Object (Database Table)
On the same table & with same DB credentials, I could successfully update the record.
Any Guess, on what went Wrong??
Thanks in Advance for any help.
p.s Jdev 11.1.1.6
Log:
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "BEGIN UPDATE CAR CarEO SET SEL_ITEM=:1 WHERE TXN_NO=:2 AND LOGID=:3 AND SEQNO=:4 RETURNING DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM INTO :5, :6, :7, :8; END;".
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
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)
Caused by: java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)
at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)
at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
... 52 moreThe issue is resolved now.
new Columns added to the Database table, after creating Entity Object. These latest changes were not picked up in Entity Object.
I found this difference after comparison of entity object with DB Table.
And when I added those new columns to EO & VO, I'm not getting this error anymore.
Thanks to all who tried to help -
JBO-26041 Error Failed to post data to database
This is the error I am getting. This works for one database schema fine and the other I get this error.
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PTS_COMMUNICATIONS(PTS_ID,CATEGORY_CD,LOGIN_ID,MEDIA_TYPE,COMM_IN_OUT,SUBMIT_DT,CBER_RECEIVED_ISSUED_DT,NOTES,COMMUNICATION_STATUS) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9) RETURNING COMM_ID INTO :10; END;".
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:498)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5413)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4235)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2937)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2748)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1922)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2115)
at gov.fda.cber.pts.model.services.CberPtsServiceImpl.insertCommunication(CberPtsServiceImpl.java:2604)
at gov.fda.cber.pts.controller.strutsactions.CreateCommunicationPageAction.onSaveCommunication(CreateCommunicationPageAction.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java)
at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:237)
at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processComponentEvents(StrutsUixLifecycle.java:163)
at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:236)
at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-04098: trigger '$PANDEYS.PTS_COMMUNICATIONS_BIUR' is invalid and failed re-validation
ORA-06512: at line 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:790)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1101)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2973)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4145)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:356)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5413)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4235)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2937)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2748)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1922)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2115)
at gov.fda.cber.pts.model.services.CberPtsServiceImpl.insertCommunication(CberPtsServiceImpl.java:2604)
at gov.fda.cber.pts.controller.strutsactions.CreateCommunicationPageAction.onSaveCommunication(CreateCommunicationPageAction.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java)
at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:237)
at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processComponentEvents(StrutsUixLifecycle.java:163)
at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:236)
at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
any clues?Seems like you have a database trigger on the table that is in invalid mode - talk with your DBA to find out why.
(Or open it in JDeveloper and make sure it compiles). -
Jdeveloper 11.1.1.6 fail to post data with uploaded orddoc file
I migrated our application in 11.1.1.6 from 11.1.1.4
everything works fine except from posting data of entity with OrdDocDomain attribute.
Anyone have the same issue?
the log is
JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE DOCUMENT Document SET FILENAME=:1,LOBCONTENT=:2,UPDATED_BY=:3,UPDATED_ON=:4,OPTLOCK_VERSION=:5 WHERE ID=:6".
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
Caused by: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE DOCUMENT Document SET FILENAME=:1,LOBCONTENT=:2,UPDATED_BY=:3,UPDATED_ON=:4,OPTLOCK_VERSION=:5 WHERE ID=:6".
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8647)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8579)
at com.intralot.igp.model.base.EntityImpl.doDML(EntityImpl.java:96)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.dcframe.LocalTransactionHandler.commit(LocalTransactionHandler.java:139)
at oracle.adf.model.dcframe.DataControlFrameImpl.commit(DataControlFrameImpl.java:1226)
at com.intralot.igp.view.utils.ADFUtils.dcCommit(ADFUtils.java:466)
at com.intralot.igp.taskflows.view.backing.documents.Documents.editDocumentListener(Documents.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
... 72 more
Caused by: java.sql.SQLException: Undefined type
at oracle.jpub.runtime.Util._convertToOracle(Util.java:277)
at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
at oracle.ord.im.OrdSource.toDatum(OrdSource.java:93)
at oracle.jpub.runtime.Util._convertToOracle(Util.java:183)
at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
at oracle.ord.im.OrdDocBase.toDatum(OrdDocBase.java:96)
at oracle.jdbc.driver.OraclePreparedStatement.setORADataInternal(OraclePreparedStatement.java:10450)
Anyone have the same issue?
ThanksWe are getting the same issue when migrated to latest WLS version 10.3.6.0(ADF runtime 11.1.1.6) from WLS 10.3.3.0.
The Exception we are getting while trying to post an ORD type object:
java.sql.SQLException: Undefined type
at oracle.jpub.runtime.Util._convertToOracle(Util.java:277)
at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
at oracle.ord.im.OrdSource.toDatum(OrdSource.java:93)
at oracle.jpub.runtime.Util._convertToOracle(Util.java:183)
at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
at oracle.ord.im.OrdImageBase.toDatum(OrdImageBase.java:99)
at oracle.jdbc.driver.OraclePreparedStatement.setORADataInternal(OraclePreparedStatement.java:10450)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11651)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)
at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2035)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10516)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8647)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8579)
at oracle.apps.grc.cms.model.eo.MediarepositoryimagesImpl.doDML(MediarepositoryimagesImpl.java:52)
Can anyone please help on this. Is there any work around available? -
Error:Failed to retrieve data from database [Vendor Code:3001]
Hello FOlks am trying to run a crystal report but when i try to run it somehow returns this error i.e [Error:Failed to retrieve data from database [Vendor Code:3001], I have no clue wats happening with this.Can anybody please throw some light on this.Am providing the sql behind this report for reference.
SELECT "CLIENT"."CLIENT_NAME",
"RECOVERY"."AMOUNT",
"RECOVERY"."RECOVERY_TRANSACTION_INTERNAL",
"RECOVERY"."ALLOCATION_CHECK_AMOUNT",
"RECOVERY"."RECOVERY_DATE"
FROM "HRI1_OWNER"."CLIENT""CLIENT",
"HRI1_OWNER"."EVENT_CASE""EVENT_CASE",
"HRI1_OWNER"."SETTLEMENT""SETTLEMENT",
"HRI1_OWNER"."RECOVERY""RECOVERY"
WHERE "CLIENT"."CLIENT_ID" = "EVENT_CASE"."CLIENT_ID"
AND "EVENT_CASE"."EVENT_CASE_ID" = "SETTLEMENT"."EVENT_CASE_ID"
AND "SETTLEMENT"."SETTLEMENT_ID" = "RECOVERY"."SETTLEMENT_ID"
AND "CLIENT"."CLIENT_CODE" <> 'CLIENT 1'
AND "CLIENT"."MAJOR_CLIENT_ID" in
(Select major_client_id
from major_client
where major_client_code in ('LA', 'PFG'))
ORDER BY "CLIENT"."CLIENT_NAME"Edited by: user11961230 on Nov 12, 2009 6:57 AM@oradba:Hi Thanks for getting bak. Well i have ran the query using PL/SQL Developer tool and yes its mapping to ORA-03001:unimplemented feature. i dont know what the problem is.
@centinul: well i dont have any views in there.but still cudnt figure out why its throwing tht error
Thanks
Edited by: user11961230 on Nov 12, 2009 7:12 AM -
Failed to retrieve data from database?
I am a new user
When I try to Preview a document I am prompted to enter in database information.
I have tried a few times to connect to my server and
continuously keep getting the same error page
No matter what I enter in the two fields, this is what pops up.
"Failed to retrieve data from database"
" Details: ADO Error Code:0x
Source: Microsoft OLE DB Provider SQL server
Description: Invalid object name: ScratchWO.dbo.tblsyslistviewprint'.
SQL State:42502
Code:208"
When the OLE DB(ADO) page opens and asks for a server and a database, what is needed to stop the error from happening
If anyone has any information that would be great !SQL State:42502 means an user authorization error. Check the user and it's access to the target database.
-
Failed to retrive data from database Error
Hi,
I am working on Crystal report XI R2.0. Back end is Oracle and I am migrating the oracle database to MySQL database. After migrating the DB from oracle to MySQL, saved and closed the report. If I open the same reprt I am getting the following error.
"Failed to retrive the data from database.Details:3D000.[MySQL][ODBC 5.1 Driver][mysqld-5.1.24-rc-community][No database selected]"
Please let me know how to resolve this issue.
Thanks,
UdayaHi Kalva,
Please can you let us know the version of MySql to which you have migrated the database? Are you able to create a new report with the help of the migrated database?
You can try changing the connection type to ODBC, OLEDB etc.Also,you can use the 'Set Datasource Location' in the 'Database Expert' to make the report point to the correct database.
Thanks,
Alok. -
Failed to retrieve data from database - DataDirect Paradox
Crystal Reports 12.1.0.892
Windows XP SP3
DataDirect ODBC Driver for Paradox 5.30.00.23
Paradox 5 database
When I run the following query against two tables:
SELECT `Ticket1a`.`PatronID`, `PHONELIN`.`PhoneNumber`
FROM `PHONELIN` `PHONELIN` INNER JOIN `Ticket1a` `Ticket1a` ON `PHONELIN`.`PatronID`=`Ticket1a`.`PatronID`
I get the following error:
Failed to retrieve data from the database
Details: 42000: DataDirect ODBC Paradox driver Extra characters at end of query: INNER. Database VendorCode: 3902
The SQL tracing log can be found at http://188.grandtheater.org/sql.log
Can anyone tell me what is going on here and how I can get around it?
TIAI tried the Add Command option and entered the SQL query as follows:
select ticket1a.patronid, phonelin.phonenumber
from ticket1a ticket1a inner join phonelin phonelin on ticket1a.patronid=phonelin.patronid
and still got the same error as before. Using the following SQL query:
select ticket1a.patronid, phonelin.phonenumber
from ticket1a, phonelin
where ticket1a.patronid = phonelin.patronid
I was able to get results using the DataDirect driver.
If I use the Microsoft Paradox driver (which is very slow. 15 minutes to run this query) and use the following SQL query:
select ticket1a.patronid, phonelin.phonenumber
from ticket1a ticket1a inner join phonelin phonelin on ticket1a.patronid=phonelin.patronid
I will not get the error and I will get results.
Any reasons why the DataDirect driver is producing errors? -
Error msg: failed to open date book database
In trying to open my Palm 3.1.1.0 dinosaur desktop application, I received the above error message. I'm new to this help arrangement, but it looked to me like the old solution offered by the forum was no longer linked to the message. Help! I no longer use my handheld, and it's been a long time since I ran a paper backup. The date book is far less important than the address data base that I cannot open at this point. Am I in trouble, or is there a way around this? (I probably have the old installation software somewhere, but what if I don't?)
Many thanks!
Post relates to: Palm III
This question was solved.
View Solution.Hi, and welcome to the Palm Community Forums.
Palm's recent do-over of its support site blew up many of the links appearing in the Forums.
Perhaps this is the article which you could not find from prior links:
http://kb.palm.com/SRVS/nua/launchKB.asp?c=10089
Post relates to: None
smkranz
I am a volunteer, and not an HP employee.
Palm OS ∙ webOS ∙ Android -
Failed to retrive data from database
Hi.
I have a layut in Crystal.
This report uses 2 views. PrintOinvHeader and PrintInv1Lines
when i use fields from first view everything is ok.
When i add line form view 2'nd to the report i have this error and next one
Canot detremine the queries necessary to get data from this reportHi. there are those scripts
USE [BAZA2]
GO
/****** Object: View [dbo].[PrintInv1Lines] Script Date: 04/05/2011 14:50:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[PrintInv1Lines]
AS
SELECT t0.DocEntry, t0.ItemCode, t0.Dscription, t0.Price, t0.PriceBefDi, t0.PriceAfVAT, t0.DiscPrcnt, t0.LineTotal, t0.LineVat, t0.Currency, t0.VatSumFrgn, t0.LineVatlF,
t0.VatGroup, t0.VatPrcnt, t0.unitMsr
FROM dbo.INV1 AS t0 INNER JOIN
dbo.OITM AS t1 ON t1.ItemCode = t0.ItemCode
WHERE (t0.DocEntry = 4500)
USE [BAZA2]
GO
/****** Object: View [dbo].[PrintOinvHeader] Script Date: 04/05/2011 14:50:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[PrintOinvHeader]
AS
SELECT t0.DocEntry, t0.DocNum, t0.DocDate, t0.TaxDate, t0.DocDueDate, t1.CardCode, t1.CardName, t2.PymntGroup, t0.ObjType, t0.Address, t1.LicTradNum
FROM dbo.OINV AS t0 INNER JOIN
dbo.OCRD AS t1 ON t1.CardCode = t0.CardCode INNER JOIN
dbo.OCTG AS t2 ON t2.GroupNum = t0.GroupNum
WHERE (t0.DocEntry = 4500) -
Data load error during updation of master data
Dear all,
While updating the master data from the PSA , the following error is appearing and the load fails.
"The time interval ['20050313'/'20050313'] & (from/to) for the data
records 1 & and 2 & overlaps in characteristic 0EQUIPMENT &."
What could be the reason for this error and how to correct the same.
I am able to understand that the valid from and the valid to date are same. in R/3 whenever a change record is created for the equipment the valid from and the valid to date will be the same as shown below.
Creation of record (for example today) valid from :- 02.06.2008 and valid to 31.12.9999.
Change of record (for example tommorrow) Valid from :- 03.06.2008 and valid to 31.12.9999
In the above case the valid to date of the creation data will automatically change from 31.12.9999 to 03.06.2008.
How could this be solved.
Regards,
M.MHi Magesh,
Please look at /BIC/*Equipment table in SE16.
Find the record with a key = ********* and notice what values have Date_from and Date_to fields. The interval they determine, overlap with ur date_to and date_from.
You need to supply correct date_to & date_from values.
thanks
Assign points if this helps
Note: this is a common scenario in time dependendent master data.....it happens because you have two records for the same values of master data and also they have overlapping time interval.....you cannot have two values of master data at the same time. -
Strange error when updating database (JBO-26041)
Hello,
Im using Oracle 10g as a server and Oracle ADF frameworks (bc4j) in database handling.
I have the following problem:
I added a new field to database table. I added that new field to my entity object. Then I added that new value from my entity object into view object. I can set values correctly in code into view object ( object.setValue(y.getValue()) ). Log messages show that this works.
When im trying to execute update (x.getTransaction().commit() ), I am getting the following error message:
java.lang.Exception: Database update failed: JBO-26041: Failed to post data to database during "Update": SQL Statement "BEGIN UPDATE ... "
Any ideas why this exception raises?they should normaly exist in the database.
try to run
sqlplus /nolog
connect / as sysdba
select username from dba_users;
put if the don't exist:
sqlplus /nolog
connect / as sysdba
create user "OPS$COMPUTERNAME\NW4ADM" identified externally;
grant sapconn to "OPS$COMPUTERNAME\NW4ADM";
grant sapdba to "OPS$COMPUTERNAME\NW4ADM";
the rest should be part of note 50088
peter -
JBO-26041 error when creating a selection set
11.5.10.2 with AZ.H Delta 2
Trying to create a selection set for "Discrete Mfg. and Distribution Setups" using a filter on Inventory org and I get this error
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO AZ_SELECTION_SET_ENTITIES_B(REF_ENTITY_OCCURANCE_CODE,UPDATABLE_FLAG,ALLOW_SET_TARGETVAL_FLAG,ALLOW_FILTER_FLAG,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,CHANGE_UPDATABLE_FLAG,ENTITY_CODE,FILTERING_PARAMETERS,ENTITY_OCCURANCE_CODE,USER_ID,SELECTION_SET_CODE,SEQ_NUM,SELECTION_FLAG,FILTER_SET_FLAG) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18)".; ................
<snip>
## Detail 0 ## java.sql.SQLException: Data size bigger than max size for this type: 4220 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134 ............
<snip>
If I do not select a filter, the selection set gets created successfully. Seems to me that the issue is related to data. Is there a limitation on the length of a certian field in the selection set ?
Any help is appreciated - we are also creating an SR
Thanks
SriniRoopesh,
Thanks for your support. Understood your point - I logged into the target instance and then tried to create a selection set using the Source instance and got the same error (and it can be reproduced at will on both source and target instances). The set will save successfully if I do not enter any criteria.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO AZ_SELECTION_SET_ENTITIES_B(REF_ENTITY_OCCURANCE_CODE,UPDATABLE_FLAG,ALLOW_SET_TARGETVAL_FLAG,ALLOW_FILTER_FLAG,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,CHANGE_UPDATABLE_FLAG,ENTITY_CODE,FILTERING_PARAMETERS,ENTITY_OCCURANCE_CODE,USER_ID,SELECTION_SET_CODE,SEQ_NUM,SELECTION_FLAG,FILTER_SET_FLAG) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18)".; at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at
<snip>
## Detail 0 ## java.sql.SQLException: Data size bigger than max size for this type: 4282 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:155
<snip>
Thanks
Srini
Maybe you are looking for
-
Re-instalei o Mozilla, porém verificando em meu backup da área de usuário, não encontrei arquivo que pudesse conter os favoritos. Também criei um backup da área de instalação do Mozilla, porém tampouco achei algo que pudesse me ajudar a recuperar os
-
Reinstalling DW... with no extensions from past...
I am trying to reinstall DW, but there remain the last extensions.. some of them caused me troubles... I want only DW.. no extensions for the moment.. where do I delete them? thanx
-
when i start the itunes the following message appears: is not possible start the program because msvcr80.ddl is in fault in the computer. try reinstall the program to solve this problem.?????????????????????
-
RMAN Vs Traditional Hot backup
Hi, For traditional, we have to place the entire database/list of tablespace to backup mode. We get a lot of redo eventually archived logs. For RMAN, does Oracle internally behaves the same way? Does it put the database in backup mode internally ? Pl
-
Continual Crashing 11.0.04 on Win7
Had 11.0.05 on my Windows 7 laptop. Every doc I tried to open was crashing. Uninstalled 11.0.05 and reinstalled 11.0.04. Same problem