Creating Query Form in Forms 6i

Is there any standard Oracle Templates to create a query form or the search form in 6i.
Thanks,
Sunil

Hi,
AFAIK, there is no templates as such. The search form / query form design is purely based on your requirement. Oracle provides the built-ins (enter_query and execute_query) with the default columns. If you need to build your own search form, put all the required attributes in a form manner, and then generate your own where clause based on the user input to query on the table.
-Arun

Similar Messages

  • How to create a form or report on a view or on a sql for update

    Let's suppose to have this two tables:
    BOOKS(title, author, id_tongue)
    TONGUE(id_tongue, tongue)
    where TONGUE contains (1, english), (2, french), ...
    I want to create a report and a form (for inserting new books) so as to insert the right values in the two tables.
    I've created a view VIEW_BOOKS(title, author, tongue) and an instead-of-trigger to update the two tables when inserting into the view itself. The problem is that with APEX it seems to me it's only possible to define a form or report on tables or on query and not on a view.
    Any advice to give me? Or other solutions?
    I'm quite new on APEX
    Thanks in advance!

    You are mistaken!! what version of apex are you on?
    Select Form on a Table or View when creating a form using wizard
    See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_frm.htm#HTMDB05029

  • Error when trying to create 2 Forms on same page on 2 tables with ID as PK

    Hi all,
    here's the error message I get: "ORA-20001: Unable to create query and update page. ORA-20001: Unable to create form on table. ORA-20001: Error page=1 item="P1_ID" id="509501514227854745" ORA-20001: Error page=1 item="P1_ID" id="509501514227854745" has same name as existing application-level item. ORA-0000: normal, successful completion"
    What am I trying to do:
    I try to create 2 forms on the same page, each one based on tables that have PK column named "ID".
    From what I understand, HTML DB is trying to create for both forms the same "P1_ID" (P[no_page]_[column_name], right ?) hidden item in order to keep the value of the pk column...
    I think this is not right...what do you think ?
    Thanks,
    Andrei

    You cannot use multiple automated row fetch or automated DML processes on the same page where any table column names are in common between them.
    Scott

  • Unable to Create/Update Forms in design console(OIM11G)

    I have installed 11g and configured client to a server that is running in the network.
    I am trying to create a new form from form designer, if I click on Save after giving the Table Name and Description.
    It is giving this error. Any suggestions?
    I tried to update an existing form which is created while installing the connector. There while saving after creating the new version I am getting the error.
    I logged in as XELSYSADM. and the group System Administrator has all the permissions ALLOW INSERT, WRITE ACCESS, DELETE ACCESS to the following permissions.
    1.Form Information                     
    2.Form Designer                     
    3.Form.Lookup Definition
    This is the error while creating the form
    Error Keyword: DAE.DB_READ_FAILED
    Description: Could not execute database read. The database encountered a problem with the specified SQL query.
    Remedy: Check the database query. Contact your system adminstrator.
    Action: E
    Severity: H
    Help URL:
    Detail:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.GET_INSERT_PERMISSION_FAILED'Description: Got a null connectionSQL State: Vendor Code: 0Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.util.ThorException.<init>(ThorException.java:23)
         at com.thortech.xl.orb.dataaccess.tcDataAccessException.<init>(tcDataAccessException.java:58)
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(tcDataAccessExceptionUtil.java:81)
         at com.thortech.xl.dataaccess.tcDataBase.createException(tcDataBase.java:3171)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(tcDataBase.java:743)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(tcDataBase.java:271)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(tcDataBase.java:221)
         at com.thortech.xl.dataobj.tcDataBase.getError(tcDataBase.java:700)
         at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1197)
         at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1151)
         at com.thortech.xl.dataobj.tcDataObj.isInsertPermissible(tcDataObj.java:1828)
         at com.thortech.xl.dataobj.tcDataObj.eventPreInsert(tcDataObj.java:2144)
         at com.thortech.xl.dataobj.tcSDK.eventPreInsert(tcSDK.java:132)
         at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:578)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
         at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(tcDataObjectBase.java:177)
         at com.thortech.xl.ejb.databeansimpl.tcSDKBean.save(tcSDKBean.java:99)
         at com.thortech.xl.ejb.interfaces.tcSDKEJB.savex(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy337.savex(Unknown Source)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl.savex(tcSDK_hxpdpf_tcSDKRemoteImpl.java:2294)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Source SQL Exception:
    java.sql.SQLException: Got a null connection
         at java.lang.Throwable.<init>(Throwable.java:67)
         at java.sql.SQLException.<init>(SQLException.java:101)
         at java.sql.SQLException.<init>(SQLException.java:71)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(tcDataBase.java:694)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(tcDataBase.java:271)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(tcDataBase.java:221)
         at com.thortech.xl.dataobj.tcDataBase.getError(tcDataBase.java:700)
         at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1197)
         at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1151)
         at com.thortech.xl.dataobj.tcDataObj.isInsertPermissible(tcDataObj.java:1828)
         at com.thortech.xl.dataobj.tcDataObj.eventPreInsert(tcDataObj.java:2144)
         at com.thortech.xl.dataobj.tcSDK.eventPreInsert(tcSDK.java:132)
         at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:578)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
         at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(tcDataObjectBase.java:177)
         at com.thortech.xl.ejb.databeansimpl.tcSDKBean.save(tcSDKBean.java:99)
         at com.thortech.xl.ejb.interfaces.tcSDKEJB.savex(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy337.savex(Unknown Source)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl.savex(tcSDK_hxpdpf_tcSDKRemoteImpl.java:2294)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The error while updating is
    Error Keyword: DOBJ.UPDATE_FAILED
    Description: Update failed.
    Remedy:
    Action: E
    Severity: C
    Help URL:
    Detail:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_WRITE_FAILEDDetail: SQL: update sdk set SDK_LATEST_VERSION=?, SDK_SCHEMA=?, SDK_UPDATE=?, sdk_rowver=? where sdk_key=18 and sdk_rowver=HEXTORAW('0000000000000001')Description: ORA-01407: cannot update ("FRO_OIM"."SDK"."SDK_SCHEMA") to NULL
    SQL State: 72000Vendor Code: 1407Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.util.ThorException.<init>(ThorException.java:23)
         at com.thortech.xl.orb.dataaccess.tcDataAccessException.<init>(tcDataAccessException.java:58)
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(tcDataAccessExceptionUtil.java:81)
         at com.thortech.xl.dataaccess.tcDataBase.createException(tcDataBase.java:3171)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(tcDataBase.java:1718)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(PreparedStatementUtil.java:156)
         at com.thortech.xl.dataobj.tcTableDataObj.updateImplementation(tcTableDataObj.java:672)
         at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:648)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
         at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
         at com.thortech.xl.dataobj.tcSDK.createNewVersion(tcSDK.java:623)
         at com.thortech.xl.ejb.databeansimpl.tcSDKBean.createNewVersion(tcSDKBean.java:66)
         at com.thortech.xl.ejb.interfaces.tcSDKEJB.createNewVersionx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy337.createNewVersionx(Unknown Source)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl.createNewVersionx(tcSDK_hxpdpf_tcSDKRemoteImpl.java:2422)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Source SQL Exception:
    java.sql.SQLException: ORA-01407: cannot update ("FRO_OIM"."SDK"."SDK_SCHEMA") to NULL
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3694)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(tcDataBase.java:1707)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(PreparedStatementUtil.java:156)
         at com.thortech.xl.dataobj.tcTableDataObj.updateImplementation(tcTableDataObj.java:672)
         at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:648)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
         at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
         at com.thortech.xl.dataobj.tcSDK.createNewVersion(tcSDK.java:623)
         at com.thortech.xl.ejb.databeansimpl.tcSDKBean.createNewVersion(tcSDKBean.java:66)
         at com.thortech.xl.ejb.interfaces.tcSDKEJB.createNewVersionx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy337.createNewVersionx(Unknown Source)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl.createNewVersionx(tcSDK_hxpdpf_tcSDKRemoteImpl.java:2422)
         at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions?

    Yes, its giving null value due to the following error.
    <Sep 30, 2011 11:52:44 AM EDT> <Warning> <JNDI> <BEA-050006> <An attempt was made to look up versioned object "ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote" from an external client or another application. This can potentially cause in-flight work of the application version not being tracked properly and thus being retired prematurely.>
    <Sep 30, 2011 11:53:24 AM EDT> <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: DBPoolManager/getConnection/Exception encounter some problems: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
    java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
         at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:911)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:857)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:851)
         at com.thortech.xl.util.DirectDB$DBPoolManager.getConnection(DirectDB.java:429)
         at com.thortech.xl.util.DirectDB.getSchemaName(DirectDB.java:325)
         at com.thortech.xl.dataobj.tcSDK.getSchemaName(tcSDK.java:143)
         at com.thortech.xl.dataobj.tcSDK.eventPreUpdate(tcSDK.java:150)
         at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:633)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
    Can any one suggest on DB url format for JDBC connection, my weblogic has automatically updated in the following format, Is that correct?
    jdbc:oracle:thin:@hostName:1521/ServiceName (not SID).
    Thanks.

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • Link to query Form and auto-execute

    What is the secret after creating a link from a report for example, to not only pass the link parameter to a query form, but to cause the form to execute the query.
    Currently my query form shows the passed parameter but doesn't auto-execute..

    This is exactly the same question I have and there are lots of similar questions in this forum. None of them have replies. Is this question still unanswerable?

  • Help with creating a FORM Newbie Question

    Hi,
    I have created a FORM which is inserted into the database. I am a little bit confused to acquire the data from database when a user clicks on search button to check if this profile is already in the database.
    Please let me know if there is any TUTORIAL which can help me with this project.
    Thanks in advance to everyone.
    Regards,
    Venkatesha

    Venkatesha,
    I'm not sure I can give you too much help based on this limited information.
    I assume you created an Insert Record form with the Devloper Toolbox's Insert Record Form Wizard. I'm not sure if you are wanting a separeate search page where the user can check if a profile is already there before they try to fill out the form or if you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database.
    If you want a separate search page for checking profiles, you would need to hand code that page with a form to allow the person to check the profile by entering a value and then your code would query the database to see if there was a match. You could probably use the Custom Form Wizard to do some of that.
    If you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database, you would need to create a Custom Trigger on the Insert Record page. This Custom Trigger would need to be set to execute BEFORE the Insert operation. You would need to hand code the Custom Trigger to check the database for matching profiles and throw an error if it finds a matching one.
    Unfortunately, both these options require some hand PHP coding. For info on how to add Custom Triggers with ADDT, read the documentation provided with the ADDT software. Search the forums and tutorial pages for more detailed help.
    Shane

  • Auto Query Form on Page not working

    Hi,
    I created a simple form portlet and want to autoquery it on a certain record. I added this code to "Before displaying the page" :
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_STC_SAMPLINK',
    p_value => 620352);
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => '_CALLED_FROM_LINK',
    p_value => 'STC_SAMPLINK');
    PORTAL.wwa_api_module_event.do_event('DEFAULT', 'QUERY_BOTTOM', 1, 'ON_CLICK', True, '', p_session);
    This performs the query but i see this first record of my table, while it should show the record with STC_SAMPLINK = 620352. When I remove the do_event statement, i can see the field filled in correctly and when pressing the query-button manually, it does show the record with STC_SAMPLINK = 620352.
    What am I doing wrong?
    Using Application Server 10.1.2.0.2 on HP-UX

    I just discovered that it does work using p_session.set_shadow_value (with extra p_language parameter). Does this mean that note 316158.1 on metalink (based on Auto Query Form on Page is no longer valid for 10g ?

  • Query form requires Logical operators and/or Quotes

    In ORACLE 9I Jdeveloper beta I used the BC4J JSP wizard to create a - Query Form. The query form looks nice and runs except I have to also include the logical operators (= > <) and Quotes. For example to query on the name Joe I have to enter it as ="JOE". If I use JOE it gives me a JSP error. The error message shows the generated Select statment with the where clause JOE but is missing the "=" and quotes.
    How do I hard code the "=" and quotes around strings so that the user doesn't have to?

    In ORACLE 9I Jdeveloper beta I used the BC4J JSP wizard to create a - Query Form. The query form looks nice and runs except I have to also include the logical operators (= > <) and Quotes. For example to query on the name Joe I have to enter it as ="JOE". If I use JOE it gives me a JSP error. The error message shows the generated Select statment with the where clause JOE but is missing the "=" and quotes.
    How do I hard code the "=" and quotes around strings so that the user doesn't have to?

  • Is there a way to prepopulate an af:query form??

    Hi,
    I am trying to implement an use case mentioned below:
    User tries to create a certification by going through a Train. During this process, on a particular screen, they can Query by applying whatever criteria they want before creating the record. (af:query component is used for this)
    These certifications once created can be Edited too, and that is where my problem creeps in.
    What I am trying to achieve is, when the User goes back to the screen where the query criteria was applied during create, I would like to pre-populate and show the fields that they had used for querying.
    I have access to the searchCriteria because that is saved on the server side and is returned during edit mode, but I am unable to figure out how I can use that to pre-populate an af:query form.
    Please note that I am trying to do this without having the user hit the Save button for saving the query. I want to pre-populate it from the searchCriteria containing the previously used details.
    Can anyone provide some suggestions on this?
    Edited by: 982314 on Jan 16, 2013 12:35 PM

    using your VO invoke createAndInitRow method on it and pass in the already know values using the NameValuePair object. as you said you already(**) have the info to prepopluate. And then invoke insertRow on the viewO.
    please note that the NameValuePair object doesnt get populated if you provide setAtttibute(int,object). basically dont insert positionally. I dont know why, but it doesnt get populated this way. the other way is use setAttribute(String,object), where string is the name of the column/field you want populated and object is the value. get all names using getAtrributeNames and all values using getAttributeValues. do this on the row object for the vo
    ** if you dont have the values to prepopulate you can get previousvalues from the same VO and then reapply them using NameValuePair object.
    Edited by: bigchill on 16/01/2013 17:36

  • Advanced Query Form

    I am trying to create a query form that works similar to Oracle Query Builder.
    It will only be using 5 tables. I need the user to enter any of up to 25
    conditions for the columns. I need them to enter AND or OR. Also, the
    expressions of <, >, =,!=, between, etc. Some examples are:
    DeptNo field holds the value of 10
    AND
    Commission < Comm field holding the value of 10,000
    AND
    How can I create a query form like the one I described above, any examples would be helpful?

    You can setup your query screen as you like, and then build up your query using dynamic SQL in PL/SQL.
    You can also create a view that joins your five tables, and base a block on it. Forms lets you enter conditions when you query using <, >, etc.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Creating dynamic form data with SetValue QPAC

    I'm creating form data in a workflow process, and using it to populate a dynamic XDP with a subform.  In my test form, the subform is named "Item", with a text field named "ItemData".  Initially, I can create the form field via the SetValue QPAC and using these parameters;
    location: /process_data/form/form-data/data/xdp/datasets/data/fields/Item/ItemData
    value: "first"
    However, I need to add multiple instances of the Item subform.  For example, if I fill out the test form with 3 items and export the data to XML, the data structure comes out like this:
    first
    second
    third
    So, the question is, how do I use the SetValue QPAC to create multiple instances of the items? I've tried various locations;
    /process_data/form/form-data/data/xdp/datasets/data/fields/Item.x/ItemData
    /process_data/form/form-data/data/xdp/datasets/data/fields/Item[x]/ItemData
    /process_data/form/form-data/data/xdp/datasets/data/fields/Item/ItemData.x
    but none of them seem to work.  I know I'm probably just missing something simple.  Anybody care to fill me in on the obvious?

    Hi Clifton
    Looking back on this thread, I think you're saying that the data is eventually going to come from a MySQL database.
    In that case, our SQLPlus QPAC will do the job perfectly.
    You just specify the query, specify the repeating element:
    /process_data/form/form-data/data/xdp/datasets/data/fields/Item
    and then map columns in the result set to sub-element of the Item.
    eg mycolumn -> ItemData
    The SQLPlus qpac will create all the repeating items for you.
    Does this work for you?
    If not, please specify what you'd like to see.
    A couple of options are:
    - A setValue qpac that correctly inserts for expressions like: process_data/form/form-data/data/xdp/datasets/data/fields/Item[2] (probably difficult to do)
    - An InsertSequence qpac that takes a repeating element and a count as an input, and creates that many repeating elements. You could then refer to them using the regular SetValue qpac. (Probably easier to do.)
    - Something else. Go wild :-)
    Howard

  • Creating vb forms from designer

    After creating oracle forms from designer whenever we run form it display no records at the first and we can add/edit/delete/query
    but if we create vb forums it display all the records.
    Can't we do it just like in oracle forms

    Hi Niall,
    After updating Properties>Compatibility and settings Target version on the old xdp I see following  xml  generated.
    Does this sound right () ?
    Thanks
    YogLC
    <?xml version="1.0" encoding="UTF-8"?>
    <?xfa generator="AdobeLiveCycleDesignerES_V9.0.0.1.20100329.2.659576" APIVersion="3.1.9277.0"?><xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-06-21T15:15:11Z" uuid="42e37fb9-0d21-499d-94bd-259200a97a10"><
    template xmlns:xfa="http://www.xfa.org/schema/xfa-template/2.1/" xmlns="http://www.xfa.org/schema/xfa-template/3.0/"> 
    <?formServer defaultPDFRenderFormat acrobat9.1static?>
     <?formServer allowRenderCaching 0?>
     <?formServer formModel both?>
    <subform name="F" layout="tb" locale="ambient">

  • Bc4j, struts and query form (where)

    I have a query form on 1 table created by the wizards (bc4j - struts).
    For ex. in the name field I can insert 'Dimi' and the query form will find my record.
    But when somebody inserts 'dimi' (not initcap), he doesn't find my record.
    How can I adapt the default where clause in the query like eg. WHERE UPPER(FIRSTNAME)=document.form.field.toUpperCase(); ??
    In the next release this should be more simple!

    You can call setUpperColumns(true) on any instance of your view criteria row that you want to apply this UPPER() function to.
    Do you have a functional index at the database level on the UPPER(FIRSTNAME) function?
    If not, the query will do a full table scan with the UPPER(FIRSTNAME) in there.

Maybe you are looking for

  • Exception error in DTP  CX_static_check

    Hi , I am getting error when i run DTP , The request shows red when i see the log it says exception raised in Start routine , below is the Warning message in start routine when i go through the log see The exception CX_static_check is neither caught

  • Activity to determine if a user has a mailbox.

    Hello, I am writing this to see if anybody has been able to figure out how to do what i am trying to accomplish. I am working on a RB that builds user accounts and I have come across a problem i haven't been able to figure out. I have a process where

  • How to perform a clean install?

    Hello, I would want to perform a clean installation on my Lenovo G780.  The problem is that I haven't created an image and I don't have a backup cd.  I thought the system would make an automatic backup on the partition.  Is there a way to recover my

  • Failure to launch in Vista

    Users CD fails to start in Vista. I have a medical CD that launches with autostart. It points to my launching Authorware7 Title.exe file. I have received no other errors from users. Any ideas what might cause this? Is there a Vista compatability prob

  • How to use signed classes/Jars in Java Stored Procedure?

    I am using java encryption API in my java application that I want to deploy as java stored procedure. The API is kept in the signed jar files. The Application is running in the MS-DOS environment but not in Oracle8i. It gives me following error. java