Question on Entity attribute for table with PK populated by trigger

Hello,
I am looking for guidance on setting up my Entity Object. I am working with an existing db where the primary keys for the tables ( ID Number(10,0) ) is populated by a trigger on insert. Should the attribute type for the ID column be Integer or DBSequence? I originally set it up as DBSequence but when I perform a CreateInsert() on the form, populate values, then Commit(), the ID value is not populated in the form. I put a ppr on the form also. I can see the row in the db using sqlDeveloper and it is populated. I tried turning on the "refresh after insert" flag on the entity but then received the exception "JBO-28203: The updated row cannot be refreshed because its key values are unset or modified by database triggers.". I would like the ID so after the form is saved I can refresh a tree control and set the current row to the new row.
Using 11.1.1.6
Thank you - Rudy

Hi Timo,
Thank you for the reply. I read the doc and that is how I had it setup originally. Two things I noticed when going to check the settings was that DBSequence was not available as a data type so I needed to Browse.. to select it. The 2nd thing was that the refresh on create was not automatically selected after selecting DBSequence. I searched a bit more and found this forum discussion:
auto_increment field From that discussion I see my problem. I created my EO's using SQL92 and Java because I need to support both Oracle and MSSQL Server databases.
This is unfortunate from my end so I will see if I can implement something similar to what is suggested in that post.
Thank you
Rudy

Similar Messages

  • Unable to create Entity objects for tables in TimesTen database using ADF

    Hi,
    I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
    I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
    I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
    Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.

    What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
    Is ADF even supported with TimesTen?
    Chris

  • Urgent: Entity Attribute for this View Attribute cannot be in 'irc'

    Hi ,
    I am trying to extend AplAssgHistoryVO.xml to one extra field 'Chnaged By' as per our critical ptoduction requirement.
    I have downloaded the following TOPs under $JAVA_TOP
    (a) /oracle/apps/irc
    (b) /oracle/apps/per
    (c) /oracle/apps/ben
    (d) /oracle/apps/xdo
    (e) /oracle/apps/ota
    (f) /oracle/apps/pay
    I have copied these TOPs to my 'D:\p6908968_R12_GENERIC\jdevhome\jdev\myprojects' directory.
    Now when I have cerated one .JWS file and one .jpr under that.
    Now when I tried to expand oracle.apps.irc.applicant.server it is giving the following error:
    oracle.jbo.dt.objects.JboException: Entity Attribute for this View Attribute cannot be found.
    oracle.apps.xdo.oa.schema.server.TemplatesVlEO.DataSourceId
    oracle.apps.xdo.oa.schema.server.TemplatesVlEOView.DataSourceId
    Please could someone tell me why this error is coming. Whether I have to download any other patch/library/TOPs for this.
    Thsnka in advance for your help.
    Thanks and regards,
    Sunil Kanlti Malik

    Hi Abdul,
    Thanks for your reply.
    This is seeded one. All I am doing to try to extend it.
    Please could you let me know what are other TOPs we need to download to extend it.
    I am really stucking at this point as I do not know which other TOPs or library I need to download.
    Also I could not find the meneitoned item insode the TemplatesVIEO.
    Thanks in advance for your help.
    Thanks,
    Sunil

  • One question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to

    one question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to change that setting?
    TY

    The History menu can only show that fixed maximum of 15 as that is hard coded.
    Maybe this extension helps:
    *History Submenus Ⅱ: https://addons.mozilla.org/firefox/addon/history-submenus-2/

  • Why Segment shrink is not supported for tables with function-based indexes

    As we all know , Segment shrink is not supported for tables with function-based indexes.
    But i'm very confused .
    Why Segment shrink is not supported for tables with function-based indexes ?? what's its essential?

    Creating a function based index creates a hidden virtual column (you'll see it if you query user_tab_cols) and once you index a virtual column you can no longer shrink the table:orcl> create table t1(c1 number,c2 as (c1 * 2)) segment creation immediate;
    Table created.
    orcl> alter table t1 enable row movement;
    Table altered.
    orcl>
    orcl> alter table t1 shrink space;
    Table altered.
    orcl> create index i2 on t1(c2);
    Index created.
    orcl> alter table t1 shrink space;
    alter table t1 shrink space
    ERROR at line 1:
    ORA-10631: SHRINK clause should not be specified for this object
    orcl>so the issue is not with function based indexes per se, it is a level beneath that. Perhaps because the virtual column has no physical existance, when the row is moved there is no reason for Oracle to realize that an index needs updating? I haven't attempted to reverse engineer this, I would be interested to know if anyone else has.

  • JBO-25017: Error While Creating a new entity row for Table Name

    Hi,
    I am facing an issue in Jdeveloper when trying to display records on a custom OAF page.
    Exception Details._
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for Emp.
    *     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)*
    *     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2651)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    *## Detail 0 ##*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    Procedure Followed is :_
    1. Created a VO using a select Query on custom table.
    2. Created an AM and attached the above created VO to this.
    3. A custom OAF page is created and above created AM is attached to the main region.
    4. created an Advanced Table in the region and all the columns in table are mapped to their respective ones in the VO query.
    5. Tried both the cases - Generate VOImpl and Generate VORowImpl.
    6. In the controller class , Page Request Object for AM is created and trying to invoke method in AM.
    7. In AM a method is written for creating an object for VO and executeQuery() operation is done.
    As per the Solution given in the other threads.... included also WHO columns in the VO Query.
    Please provide us the solution as soon as possible.
    Thanks in advance.
    Sri Harsha

    Try the [OA Forum|http://forums.oracle.com/forums/forum.jspa?forumID=210] !
    Timo

  • Spatial index creation for table with more than one geometry columns?

    I have table with more than one geometry columns.
    I'v added in user_sdo_geom_metadata table record for every column in the table.
    When I try to create spatial indexes over geometry columns in the table - i get error message:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
    ORA-06512: at line 1
    What is the the solution?

    I'v got errors in my user_sdo_geom_metadata.
    The problem does not exists!

  • Creating new Attributes for use with AttributedStrings

    I trying to find a way to change the color of key strings in a phrase so that they stand out. For example.
    the String (The water is HOT). I want the word HOT to be the color RED.
    I have noticed in using the TextAttributes option on the AttributedString doesn't have an option to change a color for a particular word in a String only a way to swap the foreground and background colors. In general is there a way to add new attributes for doing the above example?
    Just a note. This modification is not being done in an editor pane or text field. I'm looking for a way to do this without user interaction.

    If you are not drawing this in an JEditorPane, but just with DrawText, you will have to split the text up your self, draw the first half, then switch colors, then draw the second half.

  • Frequent index synchronization for table with a lot of data

    Hello! I have a table with text column to be indexed. There are a lot of records in the table and the texts in the text column are ofter big enough. The number of records are rising frequently and i need actual search results in any time, so i cant synchronize index 1 or 2 times per day, i need to do it after every insert and i also need to base table not to be locked in anytime i synchronizing index.
    So i read the documentation and find a way for me like that:
    after every insert on base table do:
    ctx_ddl.sync_index('my_index')
    And seems like i need to make ctx_ddl.optimize_index() after synchronization.
    So will it work fine or i should go another way?
    Resuming main goals:
    1) I need no locks on base table (or locks on VERY small time);
    2) Always actual search results.

    You can use sync(on commit) in your index parameters, which will make recent DML searchable immediately. You will still need to optimize and rebuild periodically to eliminate index fragmentation. The more frequently that you synchronize, the more fragmented your index will become. Index fragmentation slows down your queries that use the index. If you have some downtime or slow times such as weekends or nights, then that is a good time to do such things. If not, then you may wish to do so "online" to avoid interfering with searches or DML. Depending on the size of your table and the amount of DML, you may choose to optimize and/or rebuild hourly or daily or weekly or monthly or whatever.

  • Support for triggers for tables with clustered column-store indexes

    Hello,
    We are very excited about the new clustered column-store indexes in SQL 2014 and our performance tests shows significant performance gains.  However, our existing functionality relies on triggers and they are not allowed on tables with column-store
    indexes.  Does anybody have information as to whether allowing triggers on tables with column-store indexes is anywhere on the radar?
    Thank you!
    P.S.  We spent a lot of time considering various work-around to avoid triggers, but the amount of work we would have to do is simply overwhelming, so we are considering delaying our upgrade until such functionality hopefully becomes available.

    My gut reaction is that this restriction is likely to remain for the forseeable future. Columnstore indexes are intended for data warehouses, and while I don't do data warehouses myself, I cannot say that a fact table is where I expect to find a trigger.
    But if you think that there is a good business case for permitting triggers on columnstore tables, submit a suggestion on
    https://connect.microsoft.com/sqlserver/feedback
    Note that if you give some business-oriented explantion why this is a great benefit, it is more likely that Microsoft is likely to listen.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • To search for tables with fields

    hey hi!!
    can anybody tell me the name of tables frm dose i can find fields for values of goods rteceived and issued in particular time period and also number of units of goods in that period.
    regards,

    vague...your requirement
    try to search for tables by fields with se16 and table DD03L
    A.

  • Problem naming table with schema prefix in Trigger

    Hi,
    When i try to compile the trigger having that body :
    BEGIN
    Insert into TechDb.DocumentTransfers(DocumentNumber, DocumentTypeID, StaffCodeFrom,
    StaffCodeTo, TransferType, TransferDate)
    values (:New.DocumentNumber, :New.DocumentTypeID, :New.StaffCode,
    :New.StaffCode, :New.LastOperation, :New.DocumentDate);
    END;
    I get the following error :
    Line # = 2 Column # = 4 Error Text = PLS-00201: identifier 'DOCUMENTTRANSFERS' must be declared
    I noticed that the error disappears works if i don't need to prefix the DOCUMENTTRANFERS table with the schema name.
    I am missing something ?
    Thanks very much for your help.
    Christian Moungou

    Thanks John and Todd. It works exactly as you said.
    But, does that mean i will have to directly grant the access right to all the users who will do the action which activates the trigger ?
    Just to confirm : I assume that the user who executes the trigger is the user who does the action that activates the trigger ?
    Christian

  • Can't Find Owning Entity From Detail Table With 2 Masters

    Hi,
    I've got a master detail table relationship working with association and view link but when I try to do it again with the same detail table but a new master table I am getting the error, JBO-25030: Detail entity RulBAAG with row key oracle.jbo.Key[null 6A ] cannot find or invalidate its owning entity.
    I really don't want to have to create a seperate set of EOs and VOs for this second relationship. Is there something I can do programaticaly to identify which master / detail relationship the CRUD operation is for? Thanks-
    Master1 table: PK and FK, BId
    Master2 table: PK and FK, AgId
    Detail table: PK, BId & AgId

    Gabz,
    I believe you need to create the database foreign key relationship with "cascade on delete" set. Then ensure that your association in BC4J that models this relationship also has the "cascade on delete" property set (it should by default).
    With this set, deleting the master should automatically delete the children.
    Hope this helps,
    -brian
    UIX Team

  • How to add primary key for table with existing data?

    The table is occupied data already. There was no primary key before, so for every column, there are some duplicate values.
    I want to add a new column, which should be of the datatype integer, and can automatically increment, starting from 001. I tried this in Oracle SQL Developer, but it says "ORA-01758: table must be empty to add mandatory (NOT NULL) column". How can I do it? Thanks!

    Hello, don't call the column ID, that could be an ID relating to anything. Perhaps be a little more specific like emp_id .
    Then to update it:
    UPDATE Employee emp
      SET emp_id = (
      SELECT row_num
        FROM (
      SELECT ROWID,
                 ROW_NUMBER() OVER (ORDER BY ROWID) row_num
        FROM Employee emp2) emp2
      WHERE emp.ROWID = emp2.ROWID);That will assign a new EMP_ID for each, beginning at 1.
    Then:
    ALTER TABLE Employee MODIFY emp_id NOT NULL;
    ALTER TABLE Employee ADD CONSTRAINT EMP_PK PRIMARY KEY (EMP_ID);Then create a sequence for future population of the Employee table:
    CREATE SEQUENCE emp_seq START WITH <maximum value of emp_id + 1>;

  • Validate Entity Attribute for White space

    I want to validate my create form for whitespaces.
    For example, in a First name column, there should not be any space in between.
    That is, First name should be allowed only for "Sahar". Not for "Sahar Hassan".
    Please help.

    Please post the version of JDeveloper you're using when posting to this forum. You also haven't mentioned which technology but I assume you mean ADF BC.
    Recommendation: regular expression validator on the EO attribute. See: http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcvalidation.htm#CHDBCICF
    CM.

Maybe you are looking for

  • How do I get flash player to open to facilitate veiwing email video

    How do I get flash player to open in order to facilitate viewing an email video attachment?

  • VAR syntax in business rule

    <p>Hi,</p><p>I'm trying VAR command in busines rule.</p><p> </p><p>Type of local variables declared by VAR in business rule can benumeric only?</p><p>I shoud use string variables.</p>

  • Disable include statements to access control

    Hi, include statements (@include, not include actions) can include any resource and are not subject to declarative or programmatic access control. So access control works for the including JSP but not for the included resource. Is there a way to rest

  • WCS Report - Rogues on Wired LAN

    Each WLC on our network shows "Rogues on Wired Network" from the Summary screen, however, checking these can be time consuming due to the number of WLC's in the network. All of the WLC's are connected to a WCS so I was wondering whether a report for

  • Higher level item category & Usage

    Hi All, Can some one please provide a detailed explanantion on higher level item category and usage with an example. Best Regards, Ramesh