Problem in using LOV for validation-JHS 10.1.3

Hi all,
This problem was also noticed by Phil McDermott (Problem in using LOV for validation-JHS 10.1.3
I am following the demo and I noticed that the Use LOV for Validation functionality does not work on the browse page. However, it does work on the details page!
Another effect of this problem is that once you tried to validate on the browse screen, the lov button does not work anymore.
Thanks, Joep
Just found out that is does not work when entering "ph" like suggested in the tutorial. When I enter "p" and then tab to the next field, the lov popup does show.
Message was edited by:
Joep Hendrix

Thanks for your reply Steven.
I had the same problem as Joep reported here, following the steps at:
http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html#genandrunagain
Your solution works for me.
The "completed version of the tutorial application" also has this issue:
http://otn.oracle.com/products/jdev/tips/muench/jhstutorial/MyDemo.zip
Are there any other known issues for this tutorial? Where can I find such errata list?
many thanks
Jan Vervecken

Similar Messages

  • Using LOV with Validation on the Numeric Fields results in Error

    Dear JHeadstart Team,
    During my work with lov I encountered another problem. I defined a lov and attached the lov to a numeric field and check the LOV for validation. Now when I use LOV using the LOV button it works fine but when I enter some numbers and then press tab the LOV was not shown correctly and resulted in the following errors and the worst thing is that you can not navigate to any other pages and all try to navigate to other pages results in errors too. When we put the same LOV on a string field (which is not desirable for us) it worked fine.
    It seems to me like a bug. Am I right? Is ther any solution or workaround for this problem?
    Thanks in advance,
    Navid
    16:31:29 DEBUG (LovItemBean) -Cleared value of item HrTrainingCourseSchedulesTitle
    16:31:29 DEBUG (LovItemBean) -Cleared value binding #{bindings.HrTrainingCourseSchedulesTitle.inputValue} of item HrTrainingCourseSchedulesTitle
    16:31:29 ERROR (ApplyRequestValuesPhase) -java.lang.ClassCastException: java.lang.Long
    javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.Long
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1079)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at oracle.adf.view.faces.component.UIXSelectInput.broadcast(UIXSelectInput.java:215)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.pooya.controller.jsf.PooyaAuthenticationFilter.doFilter(PooyaAuthenticationFilter.java:256)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.lang.Long
         at oracle.jheadstart.controller.jsf.bean.LovItemBean.validateWithLov(LovItemBean.java:101)
         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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 31 more

    Hi Navid,
    We ran into the same bug and have the next workaround for it:
    We extended the JHeadstart class 'LovItemBean' and we have overridden the method 'validateWithLov(...)' with:
      public void validateWithLov(ValueChangeEvent valueChangeEvent)
        Object newValue = valueChangeEvent.getNewValue();
        if(newValue != null && !(newValue instanceof String))
          newValue = newValue.toString();
          ValueChangeEvent newEvent = new ValueChangeEvent(valueChangeEvent.getComponent(), valueChangeEvent.getOldValue(), newValue);
          newEvent.setPhaseId(valueChangeEvent.getPhaseId());
          super.validateWithLov(newEvent);
        else
          super.validateWithLov(valueChangeEvent);
      }Next step is to use a custom template in your JHeaedstart Application Structure file for 'LOV_ITEM_BEAN'. In this custom template you should use your own class as 'managed-bean-class' instead of the default JHeadstart one.
    Now you can safely generate LOV with validation of number fields.
    Maybe something the JHeadstart can pcik up in the next release of JHeadstart :-)
    Hope this helps.
    Pascal

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

  • Having bluetooth connection problem after using Yosemite for a week

    After installing and using Yosemite for a week, I experienced bluetooth connection problems with my magic mouse and headphone, my model is macbook pro retina early 2013, hope to fix this soon

    Hello there Oranger84,
    If I understand correctly you are having some sort of Bluetooth issue between your computer and Magic Mouse and Headphones after installing Yosemite. Depending on the particular symptoms you are seeing, I would recommend the following article to help you get that resolved:
    Troubleshooting wireless mouse and keyboard issues
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Problems with Use Cases for Process Integration

    Hi there,
    I'm reading the "Simple Use Cases for Process Integration" (http://service.sap.com/xi -> Media Library ->
    Documentation) and try to setup the variants 1 up to 4. As per description I created the Technical and Business Systems in the SLD. Everything worked fine. But I can't find the created business systems in the Integration Directory When I click on Objects tab page -> Services without party and and choose Assign Business System, I can't see the desired business systems in the list. What am I doing wrong?
    Cheers
    Marc

    hi Marc,
    maybe the business system was already assigned?
    1. check if the business system exists in the SLD
    2. check if the business system exists in directory
    3. refresh SLD cache (in directory menu)
    4. try assigning once more
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problem in using LOV's (List of values)

    I have created a few messageLovInput items on my OAF page. I have created a table based on a VO in the inline Lov region corresponding to each of the Lov items.
    When I enter data manually in messageLovInput and then click the torch button besides it, it opens the inline region and usually queries the VO depending upon the input given in the field.
    I have also set the Search Allowed property to 'true' for all the Columns of the table in the inline region of the Lov.
    But in my case in few of the Lov input fields, when I enter the data and press the torch button, it goes into error.
    The error is an oracle.jbo.SQLStmtException in which it shows the query of the VO along with a where clause.
    Eg: If Column name in the query of VO is Employee_number(i.e this is mapped to the messageLovInput item where we enter the data), the error is :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement:
    select * from(the query of the VO) qrslt (where Employee_number like :5 )
    The error: java.sql.SQLException: ORA-01008: not all variables bound
    as the above where clause is dynamically generated.
    I am not able to get solution to this problem as this problem does not occur with most of the remaining messageLovInput items on the page. I have also matched the properties of all the Lov input items and have found them to be same.
    Can u please provide some help in this issue?

    Hi Shiv,
    This is the error stack.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (Query of VO ) QRSLT WHERE (( UPPER(EMPLOYEE_NUMBER) like :5 AND (EMPLOYEE_NUMBER like :6 OR EMPLOYEE_NUMBER like :7 OR EMPLOYEE_NUMBER like :8 OR EMPLOYEE_NUMBER like :9)))
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:693)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2263)
         at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequestAfterController(OAListOfValuesHelper.java:719)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:639)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequest(OAListOfValuesHelper.java:395)
         at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processRequest(OAListOfValuesBean.java:379)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:693)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2263)
         at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequestAfterController(OAListOfValuesHelper.java:719)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:639)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequest(OAListOfValuesHelper.java:395)
         at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processRequest(OAListOfValuesBean.java:379)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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)

  • Problem in using OCIBindByName  for date type column

    Hi,
    Can you please guide me about my following problem?
    I am trying to fetch the data from system table "FLOWS_020100.WWV_FLOW_ACTIVITY_LOG1$" in Oracle Express edition 10.2.0.3 database, using the OCI library on Windows with C++
    This table has a TIMESTAMP column of date type.
    I've the following query as below:
    select TIME_STAMP from FLOWS_020100.WWV_FLOW_ACTIVITY_LOG1$ where TIME_STAMP > to_date('31/OCT/12 23:59:59', 'DD-MON-YY HH24:MI:SS') order by TIME_STAMP asc;
    For this, first I am preparing the query as below:
    select TIME_STAMP from FLOWS_020100.WWV_FLOW_ACTIVITY_LOG1$ where TIME_STAMP > :PKVAL order by TIME_STAMP asc;
    Before calling OCIExecute(), I am setting the PKVAL buffer to following value:
    "to_date('31/OCT/12 23:59:59', 'DD-MON-YY HH24:MI:SS') "
    & calling the OCIBindByName function with data type as SQLT_DATE.
    But when the OCIExecute is called, my program crashes with access violation
    Can you please guide me what is the correct way to pass the date value in query to OCI? How do we bind the date values?
    Thanks in advance for your time and help.
    Best Regards.

    I had a similar problem. TO_DATE doesn't appear to function w/ BindByName or BindByPos.
    You are going to have to bite the bullet and use an actual date.
    Here's an example (I am using two dates in my query):
    int main (int argc, char **argv, char **envp)
    static text invalidQuery = (text )"SELECT f1.my_val, COUNT(f1.my_val) invalid_count, (SELECT COUNT(*) FROM my_db_table f2 WHERE f2.my_val = f1.my_val AND f2.foo_dt = :1 ) total_count FROM my_db_table f1 WHERE f1.foo_dt = :1 AND ( (f1.vld_bar_sw IS NULL OR f1.vld_bar_sw = 'N') OR (f1.vld_foo_sw IS NULL OR f1.vld_foo_sw = 'N') ) group by my_val order by my_val asc";
    OCIDate boundDateVal;
    sb2 inputYear;
    ub1 inputMonth;
    ub1 inputDay;
    char inputYearStr [] = "0000";
    char inputMonthStr [] = "00";
    char inputDayStr [] = "00";
    /* I get and validate the date as input, but you can set it however you'd like */
    inputYear = (sb2) (atoi (inputYearStr));
    inputMonth = (ub1) (atoi(inputMonthStr));
    inputDay = (ub1) (atoi(inputDayStr));
    /* Allocating Date*/
    OCIDateSetDate ( &boundDateVal, inputYear, inputMonth, inputDay );
    OCIDateSetTime( &boundDateVal, 0, 0, 0);
    returnVal = OCIBindByPos(invalidStmt, &firstInputBindHPtr, myErrorHandle, (ub4) 1,
    (dvoid *) &boundDateVal, (sword) sizeof(boundDateVal),
    SQLT_ODT, /*dty OCIDate*/
    (dvoid *) 0, (ub2 *) 0, (ub2 *) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT);
    if ( !(returnVal == OCI_SUCCESS || returnVal == OCI_SUCCESS_WITH_INFO) )
    displayErrors (returnVal, myErrorHandle, "OCIBindByPos-contactDate 1 ");
    cleanup();
    exit(1);
    }//if
    returnVal = OCIBindByPos(invalidStmt, &secInputBindHPtr, myErrorHandle, (ub4) 2,
    //(dvoid *) &InputArguments.contactDate, (sword) sizeof(InputArguments.contactDate),
    (dvoid *) &boundDateVal, (sword) sizeof(boundDateVal),
    SQLT_ODT, /*dty OCIDate*/
    (dvoid *) 0, (ub2 *) 0, (ub2 *) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT);
    if ( !(returnVal == OCI_SUCCESS || returnVal == OCI_SUCCESS_WITH_INFO) )
    displayErrors (returnVal, myErrorHandle, "OCIBindByPos-contactDate 2 ");
    cleanup();
    exit(1);
    }//if
    }//main
    ** I have had issues w/ OTN not correctly translating certain characters, so hopefully the above example is readable or you can figure out which characters may be missing.

  • Problem in using SPEL for Required Property

    Hi,
    While creating a Application Properties View Object PVO
    transient attribute for the required property item what should be the type while using Boolean Iam facing issue
    If any guidense related to SPEL for Required Property it would be helpful
    Regards,
    Krishna

    Hi Reetesh,
    I Haven't got your point clearly.
    I have created a Transient Attributes VO (PVO) with three attributes.
    RowKey Number
    itemRender Boolean
    itemRequired String
    Now My problem is Iam able to make the itemRender feature but not able to see any change the itemRequired Attibute
    So my problem is PPR is working fine for render property but not for required property
    is there any exercise in Tutorial any body came across setting the Required property using PPR. Please metion so that I can refer for more clarification.
    Krishna

  • Setup Problem HP6830 using Hotspot for Printer & Laptop

    I have a TMobile Hotspot that gives me internet access for my laptop.I have a HP Officejet Pro that I just got and I'm trying to set it up on the Hotspot network.I've installed (via disk) the HP Software on my Toshiba Coimputer.I've gone through the setup process on the printer and it shows I'm connected to the Hotspot Network.When I try to go through the setup process on the computer it says it can't find that printer.I've checked - over and over again - the IP, and printed everything out (Config Page & Network TestResults) on the Printer, and it indicates everything is OK. My question is - Why can't my computer find the computer (they're both on the same Hotspot Network)?I don't have a USB Cable right now, and I'm trying to set it up wirelessly.  Any suggestion about what I might have missed?  Any help would be appreciated

    Hey ,  Welcome to the HP Support Forum.  I understand you're encountering some setup issues when using your HP Officejet Pro 6830 e-All-in-One Printer with a mobile hot spot.  I would like to assist you with this.   In my experience, mobile hotspots are hit and miss when used to support printers' wireless connections, even when the setup's are completed with diligence and care on the part of the user.  This caveat aside, as there are no official documents from HP on how to troubleshoot this particular issue, I recommend  toggling airplane mode on your T-Mobile device before restoring the hotspot connection.  Try the printer to laptop connection via the software as before, once you've confirmed the laptop's connected to the hotspot.  If this approach falls short, you could try the alternative and HP supported wireless direct setup method.  Here's how: From your printer's front panel touch the Wireless Direct icon ()Turn Wireless Direct OnFrom here you can choose to have it enabled with Security On or Off.  If you turn Security On, make a note of the passcode (it'll come in handy later).To learn how to complete the setup on your computer and any other mobile devices, click here for more instructions. Please let me know the result of your troubleshooting by responding to this post.  If I have helped you resolve the issue, feel free to give me a virtual high-five by clicking the 'Thumbs Up' icon below and clicking to accept this solution. Thank you for posting in the HP Support Forum.  Have a great day!

  • Problem when using template for new database (ora10g)

    Hi all,
    I've done this a few times now, on different servers weeks apart.
    I have an Oracle 10g install on a Windows Server 2003 box, and I have run the database configuration assistant to create a database. We will have several databases with the exact same setup when I move Oracle 10g to a production environment. I created the database exactly as I need it the first time round, then I save it as a template to use for the next ones. However, when I run the template I get the following error:
    ORA-01501: CREATE DATABASE failed
    ORA-09314: sltln: error translating logical name
    Whats driving me nuts is, if I just go ahead and retype everything back in the same as the last database it works fine, just seems to be the template which is messing me up.
    Heres the template I'm trying to use (hope just pasting it like this is ok.. if not, please some mod remove it and I'll attach it)
    Thanks!
    <DatabaseTemplate name="DCnn" description="" version="10.1.0.2.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="false"/>
    <option name="SPATIAL" value="false"/>
    <option name="ODM" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="false"/>
    <option name="XDB_PROTOCOLS" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="false"/>
    <option name="CWMLITE" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    <initParam name="O7_DICTIONARY_ACCESSIBILITY" value="TRUE"/>
    <initParam name="aq_tm_processes" value="1"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\bdump"/>
    <initParam name="compatible" value="10.1.0.2.0"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\cdump"/>
    <initParam name="db_block_size" value="8" unit="KB"/>
    <initParam name="db_cache_size" value="24" unit="MB"/>
    <initParam name="db_create_file_dest" value="E:\Oradata"/>
    <initParam name="db_create_online_log_dest_1" value="C:\Oradata"/>
    <initParam name="db_create_online_log_dest_2" value="D:\Oradata"/>
    <initParam name="db_create_online_log_dest_3" value="E:\Oradata"/>
    <initParam name="db_domain" value="JACOBSONCO.COM"/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    <initParam name="db_name" value="SDC7"/>
    <initParam name="db_recovery_file_dest" value="E:\Oradata\flash_recovery_area"/>
    <initParam name="db_recovery_file_dest_size" value="2048" unit="MB"/>
    <initParam name="fast_start_mttr_target" value="300"/>
    <initParam name="java_pool_size" value="0" unit="MB"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="large_pool_size" value="8" unit="MB"/>
    <initParam name="open_cursors" value="1000"/>
    <initParam name="pga_aggregate_target" value="24" unit="MB"/>
    <initParam name="processes" value="150"/>
    <initParam name="query_rewrite_enabled" value="FALSE"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="shared_pool_size" value="80" unit="MB"/>
    <initParam name="sort_area_size" value="524288"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="undo_retention" value="10800"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\udump"/>
    <initParam name="utl_file_dir" value="D:\FileTransfers\Triggers"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>true</customSGA>
    <characterSet>WE8MSWIN1252</characterSet>
    <nationalCharacterSet>AL16UTF16</nationalCharacterSet>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\pfile\init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}\database\spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="<OMF_CONTROL_0>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="<OMF_CONTROL_1>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="<OMF_CONTROL_2>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </ControlfileAttributes>
    <DatafileAttributes id="<OMF_DEKINS_DATAFILE_0>">
    <tablespace>DEKINS</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>false</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">-2</increment>
    <maxSize unit="KB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_INDEX_DATA_DATAFILE_0>">
    <tablespace>INDEX_DATA</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>false</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">-2</increment>
    <maxSize unit="KB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
    <tablespace>SYSAUX</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">120</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
    <tablespace>SYSTEM</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">300</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
    <tablespace>TEMPORARY_DATA</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">200</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">640</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
    <tablespace>UNDOTBS1</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">200</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">5120</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="<OMF_USERS_DATAFILE_0>">
    <tablespace>USER_DATA</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">50</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">1280</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <TablespaceAttributes id="DEKINS">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">-1</initSize>
    <increment unit="KB">-1</increment>
    <incrementPercent>-1</incrementPercent>
    <minExtends>-1</minExtends>
    <maxExtends>-2</maxExtends>
    <minExtendsSize unit="KB">-1</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_DEKINS_DATAFILE_0>">
    <id>1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="INDEX_DATA">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">-1</initSize>
    <increment unit="KB">-1</increment>
    <incrementPercent>-1</incrementPercent>
    <minExtends>-1</minExtends>
    <maxExtends>-2</maxExtends>
    <minExtendsSize unit="KB">-1</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_INDEX_DATA_DATAFILE_0>">
    <id>1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSAUX">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSTEM">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>3</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>-1</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="TEMPORARY_DATA">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>true</temporary>
    <defaultTemp>true</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>0</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="UNDOTBS1">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>true</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">512</initSize>
    <increment unit="KB">512</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>8</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">512</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="USER_DATA">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">128</initSize>
    <increment unit="KB">128</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">128</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="<OMF_USERS_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_1_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_2_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_3_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>

    You may need to look into this?
    ORA-09314: sltln: error translating logical name
    Cause: Internal buffer may have overflowed
    Action: See OSD error accompanying this message

  • Problem with using SelectOneChoice for a Table column..

    Hi
    Thank you for reading my post
    I have a Table in my database which one of its fields is an status field.
    the status can be :
    Done
    Pending
    In-Progress
    I have a form that one can edit the records of this table and i want to use a ComboBox for this field.
    As you know, the ComboBox should indicate the current value and its change should be reflected to database after user pressed the submit/commit button.
    But all my tries failed, i tried to
    -put a SelectOneChoice in the form and bind it to the field
    -Use Drag and Drop feature to drag and drop the Data Control field on the form as a SelectOneChoice, it shows a Binding Dialog that i can not configure it correctly and it has no help.
    Can you please help me to resolve it?
    Thanks

    Hi user,
    Have a look at Steve M's example at http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
    Hope this helps,
    John

  • Problem with using DTW for SAP BO PL11

    Hello, experts!
    I'm using SAP B1 8.8 PL 11, Microsoft SQL Server 2008 Standard Edition.
    I have a script, which put data for Item Master Data import into temporary table, after that I want to transfer this data via DTW into SAP B1 database.
    There are some new rules for DTW beginning from PL 10; I've adapted my script - removed RecordKey and replaced it with ParentKey everywhere in child tables.
    But when I try to use DTW with ODBC connection, and press Test in form, where query should been specified, in result table values for first column are spreaded for the second one: first column ItemCode and second column ItemName are equal to Item Code (http://s39.radikal.ru/i083/1009/0b/b7071404dc99.jpg). But in SQL:http://s001.radikal.ru/i195/1009/1c/3cb40e506842.jpg
    If I don't press Test and just use it, it shows me a lot of import errors like "Invalid XML Wrong value for column" and shows that Column received shifted value from neighbour column (i.e. ItemName column received value from ItemCode column).
    My table has following structure (all column names were copied from appropriate template file, bundled with DTW, saving the order):
    CREATE TABLE [dbo].[tmpsapb1_Items](
       [ItemCode] [varchar](50) NOT NULL,
       [ItemName] [varchar](60) NOT NULL,
       [ForeignName] [varchar](1) NOT NULL,
       [ItemsGroupCode] [varchar](10) NULL,
       [CustomsGroupCode] [varchar](1) NOT NULL,
       [SalesVATGroup] [varchar](2) NOT NULL,
       [BarCode] [varchar](8000) NOT NULL,
       [VatLiable] [varchar](1) NOT NULL,
       [PurchaseItem] [varchar](1) NOT NULL,
       [SalesItem] [varchar](1) NOT NULL,
       [InventoryItem] [varchar](4) NOT NULL,
       [IncomeAccount] [varchar](1) NOT NULL,
       [ExemptIncomeAccount] [varchar](1) NOT NULL,
       [ExpanseAccount] [varchar](1) NOT NULL,
       [Mainsupplier] [varchar](1) NOT NULL,
       [SupplierCatalogNo] [varchar](17) NULL,
       [DesiredInventory] [varchar](1) NOT NULL,
       [MinInventory] [varchar](1) NOT NULL,
       [Picture] [varchar](1) NOT NULL,
       [User_Text] [varchar](1) NOT NULL,
       [SerialNum] [varchar](1) NOT NULL,

    Your temporary table will be the first trouble maker. ItemCode length is 20 for example. Check the item master table structure and recreate your temporary table.
    Thanks,
    Gordon

  • Problem in using coherence for caching

    Hi,
    I have a DB table which has close to 4000 entries. I am trying to query the DB and store the resultant XML in the cache. I have written a Java API which first checks if a particular Key is in the cache. What I get from the API is a java object which needs to be converted to XML.
    I am using the ora:getContentAsString function to convert the Object to String and then using ora:parseEscapedXML() to convert the string to XML. This works fine when the number of entries in the DB is less. But this doesn't work when the number of entries is more as is in my case.
    The problem I suspect is that ora:getContentAsString is not able to convert the whole java object to string and so the ora:parseEscapedXML() is trying to convert an incomplete string to XML which it is not able to.
    Any suggestions on this are welcome.
    Thanks,
    Shyam

    Hi Shyam
    Looks to be an DOM parsing issue. Its better if you could try using SOA 11.1.1.3.0 and if not resolved then log an SR with Oracle Support Team with testcase.
    Regards
    A

  • Problem in using LOV (List of values)

    We created a folder 'Testing FCG' in the Business View Manager.
    1) In this we created a new connection of TCD371 Database ( conn) ,
    2) We created a new Data Foundation(DF)  using the existing connection and we added table 'cdhpmember' in the DF
    3) We created a new business element(BE) using DF and we added the column like Firstname,Groupkey and Gendercode
    4) We created a Business View (BV) using DE and we added DE to the BV
    5) We created a LOV(Memkey) using BV and we selected memberkey field
    6) We tried to implement the memberkey field into crystal report as a dynamic parameter
    7) When we try to run the report we got the error like this
    Promting failed with the following error message: 'Liat of Values failure: failed to get values. [Cause of error:CSELOVDataSource::setReportInstanceCUID The List of Values did not schedule sucessfully and must be re-scheduled.]'.
    Error source : prompt.dll Error code: 0x8004380D
    Could any of you give your input on this error?

    It's happening in Crysatl Report designer tool. Not able to run the report. There's not point deploying it in info view.

  • PDF problem while using Safari for e-mail

    I'm not sure where to put this question, so it ended up here.
    Sometimes I receive a PDF file as an attachment to e-mail. I save it on the desktop and click it to open it. What happens is that for some reason "TextEdit" automatically tries to open it, with the result that all I get is a bunch of code--not the translated contents of the file at all.
    Why doesn't it automatically open it in Acrobat Reader? That's what happens when I open a PDF file I download from the internet. I can't figure out any way to connect attached e-mail files to Acrobat Reader so it will open them translated. My MacLlinkPlus translator doesn't recognize PDF files as needing to be translated.

    I woudl need to see the form and data file to debug this ...can you send the assets to [email protected]? Please include a description of the issue you are facing with your email.
    Paul

Maybe you are looking for

  • Pricing doubt

    My current system configuration PR00 = Base Price = 3.64(Commercial rounding in condition type) Quantity in Sales Order = 50 So condiiton value = 50 * 3.64 = $182 Plus Tax = MWST (say at 10%) = 18.20 Total selling price = $200.20 But from the custome

  • Why doesn't FF ask me to save tabs anymore(after upgrade to 4.0.1)?

    I have HP HDX laptop 4 GIG RAM W7 ultimate 64 bit. When I turned off comp I was was asked "do you want to save" with FF 3.6. With 4.0.1 that has stopped?!? How can I get that feature back? Thanks

  • Re: GTX 970 Gaming 4g Broken fan blade

    you have to sent the card back to reseller or MSI for repair

  • Officejet 6700 Problems

    I purchased an HP 6700 specifically for its wireless capabilities. It runs perfectly from my XP desktop, but I keep getting an error from my new Windows 8.1 laptop. The printer shows up as ready, but when I press OK, I get an error saying it can't pr

  • Reverse proxy for uwc

    I want to access uwc thru "http://hostname.domain" instead of "http://hostname.domain/uwc". In my server, I have installed web server, access manager, messaging express, portal server and uwc. I have also configured Messaging Express Multiplexor and