1031: 42000: java.sql.SQLException: ORA-01031: insufficient privileges

Nice day

I am trying to execute an interface in which data from a csv file must be loaded into a target table. I managed to debone the flat file and map all fields. But come running, I get this error message:

1031: 42000: java.sql.SQLException: ORA-01031: insufficient privileges

java.sql.SQLException: ORA-01031: insufficient privileges

I have already given modify and insert the user access.

Thanks in advance

Looks like your problem is solved. Why don't you close the message and give different points as useful for each answer and replied to the right answer to other users that have helped you.

Tags: Business Intelligence

Similar Questions

  • 911: 42000: java.sql.SQLException: ORA-00911: invalid character

    Hi all

    I am trying to load the data in the 1 table to another using ODI 10 g. My approach is error ed out in step 3 - load data showing the exception below
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    
    java.sql.SQLException: ORA-00911: invalid character
    
    
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
    
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
    
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
    
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
    
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
    
         at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    
         at com.sunopsis.dwg.cmd.e.k(e.java)
    
         at com.sunopsis.dwg.cmd.g.A(g.java)
    
         at com.sunopsis.dwg.cmd.e.run(e.java)
    
         at java.lang.Thread.run(Unknown Source)
    When I see the description of the sql that runs to the phase I see below
    select     
         _ACTIVITIES_V.ACTIVITY_ID        C1_ACTIVITY_ID,
         _ACTIVITIES_V.ATTRIBUTE15        C42_ATTRIBUTE15
    from     .COM_ACTIVITIES_V   _ACTIVITIES_V
    where     (1=1)
    OBV when this sql is tried of toad is giving the same error.

    Please advice what's not here


    thnks

    Hello

    In topology-> physical schema Manager, where you set the source of Oracle schema, you left the WORKING PATTERN as empty. Put a schema name in the scheme of work and this. will be preceded by the name of this schema

    Also, for better visibility, you change the table alias name in the interface of
    ACTIVITIESV
    TO
    ACTIVITIES_V

    Thank you
    Fati

  • 904: 42000: java.sql.SQLException: ORA-00904: "FY11": invalid identifier

    Hello

    I created a refreshing alphanumeric variable that use SYSDATE to generate the year in the format "FY11.

    The variable acts as a filter in an interface.

    When I run a package to run the interface, I get the error:
    904: 42000: java.sql.SQLException: ORA-00904: "FY11": invalid identifier +.

    java.sql.SQLException: ORA-000904: "FY11": invalid identifier

    Only thing I can think is that it is related to quotes.

    No idea how to fix this error?

    See you soon

    Hello

    In this case, he expects a character data.
    Your filter is therefore SALES_HYPERION_SALES. YEAR ='#FCAST. ACTYEAR'

    Pay attention to the unique quoates before # and in the end...

    Thank you
    Fati

  • SQL error: ORA-01031: insufficient privileges

    I am trying to create a view. I logged as a DBA. Please suggest.

    create or replace view tspace_vw as

    SELECT tablespace_name,

    Total_Size 'Total_Size (MB).

    Free_space "Free_Space (MB).

    (Total_size - free_space) "USED_SPACE (MB).

    round (((Total_size-Free_Space)/Total_size) * 100, 2) | ' %' "% USED.

    DE)

    SELECT a.tablespace_name,

    Round(sum(a.bytes)/1024/1024,2) Total_Size,.

    Round(sum(b.free_bytes)/1024/1024,2) free_space

    FROM dba_data_files a, (SELECT file_id, SUM (bytes) free_bytes

    FROM dba_free_space

    GROUP BY file_id

    ) b

    WHERE a.file_id = b.file_id

    and nom_tablespace not in ('SYSTEM', 'SYSAUX', 'UNDOTBS1', 'TEMP')

    GROUP BY a.tablespace_name

    )

    ORDER BY nom_tablespace;

    ================================================

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    978487 wrote:

    I am trying to create a view. I logged as a DBA. Please suggest.

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    You must grant the right to SELECT user views the two system.

    >

    Grant select on dba_data_files Scott;

    Grant select on dba_free_space Scott;

    >

    I'm assuming that "connected is a DBA" means that you granted the DBA role to the user. But you need to grant privileges directly so that they are able to create a view.

    See CREATE VIEW in the doc of the SQL language

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_8004.htm

    >

    The owner of the schema containing the view must have the necessary privileges to either select, insert, update, or delete rows from all tables or views on which the opinion is based. The owner must grant these privileges directly, rather than through a role.

    >

  • ORA-01031: insufficient privileges when granted access privileges to a new user

    Hello.

    When you are connected to a SYSTEM, I'm trying to create a new user and give him all the system privileges, but do so always the following error message appears:

    Cannot process the SQL command

    -

    Error at startup to the line: 123 to orders.

    SYSDBA GRANT TestUser

    Error report-

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to execute a database operation without

    the necessary privileges.

    * Action: Ask your database or the designated security administrator

    administrator to grant you the required privileges

    After clicking OK, the user is still being created, but it lacks many privileges to access.

    How can I solve this problem?

    I use Oracle SQL Developer version 4.1.2.20 and Oracle database 11g of the express edition.

    Connect as SYS, not SYSTEM to grant this priv

    Give him with extreme prejudice - it is powerful

    Note in the 12 c database we have stopped a lot of the administrative bits of the SYSDBA role in less powerful. This gives you more flexibility on who can do what in your database

    https://docs.Oracle.com/database/121/DBSEG/authorization.htm#DBSEG578

  • create returns user ORA-01031: insufficient privileges

    Hi all

    I am trying to create user on Oracle 11.2.0.4 windows db.

    I get the following error

    create the user one identified by a

    Error in the command line column: 6:28

    Error report:

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    Please may I know how to solve.

    I disabled Database Vault Account Management.

    This allowed me to grant privileges as user sys.

    C:\Users\rbastawa>sqlplus / as sysdba

    SQL * more: Production release 11.2.0.4.0 on sea 12 Nov 09:56:40 2014

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    With partitioning, Oracle Label Security, OLAP, Data Mining,

    Oracle Database Vault and Real Application Testing options

    SQL > grant connect to one.

    grant connect to a

    *

    ERROR on line 1:

    ORA-47410: Violation of Kingdom for GRANT on CONNECT

    SQL > grant connect to one.

    Grant succeeded.

    SQL >

    Thanks for the help.

  • ORA-01031: insufficient privileges on ASM instance shutdown

    Hello!

    I installed oracle enterprise linux (5.4) and oracle grid 11.2 for stand-alone server on my server. After installing the database software, I created a database in my ASM instance.

    My next step, that I wanted to test some crash szenarios ASM. First of all, I just wanted to stop the ASM instance:

    [oracle@db11gr2 ~] $. oraenv
    ORACLE_SID = [+ ASM]? + ASM
    The ORACLE_HOME=/opt/oracle/product/11.2.0/grid Oracle base is/opt/oracle

    [oracle@db11gr2 ~] $ sqlplus / as sysdba

    SQL * more: Production release 11.2.0.1.0 on Mon Dec 28 10:29:36 2009

    Copyright (c) 1982, 2009, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the option of Automatic Storage Management

    SQL > shutdown
    ORA-01031: insufficient privileges
    SQL >

    What's not here?

    [oracle@db11gr2 ~] $ id
    UID = 500 (Oracle) gid = 500 (oinstall) groups = 500 (oinstall), 501 (dba), 502 (oper), 503 (asmadmin)

    The oracle user has the required roles. The oracle sqlplus has the following privileges:
    [oracle@db11gr2 bin] $ ls-l sqlplus
    -rwxr-x---x 1 oracle oinstall 6873 15. Dec 13:55 sqlplus

    For my database I can connect as sysdba and power, he...


    Thank you
    Markus

    Markus,

    11.2, sound required for administrative tasks on ASM, you must connect using the SYSASM role. Sysdba for ASM using won't want to work more. Can you connect once more to the instance of the ASM using role Sysasm and post your comments?

    HTH
    Aman...

  • What is the reason for the error. weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired

    Mr President

    Make me a mistake for an adf application.

    Running application ElizaSoft on IntegratedWebLogicServer...] 
    [06:38:05 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
    [06:38:07 PM] ----  Deployment started.  ----
    [06:38:07 PM] Target platform is  (Weblogic 12.x).
    [06:38:10 PM] Retrieving existing application information
    [06:38:11 PM] Running dependency analysis...
    [06:38:11 PM] Deploying 2 profiles...
    [06:38:20 PM] Wrote Web Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft\ViewControllerWebApp.war
    [06:38:22 PM] Wrote Enterprise Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft
    [06:38:23 PM] Deploying 3 data source(s) to the server...
    [06:38:24 PM] Deploying Application...
    <Jan 3, 2016 6:38:35 PM PKT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "2192494870412" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    "
    weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      Truncated. see log file for complete stacktrace
    Caused By: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)
      at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)
      at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507)
      Truncated. see log file for complete stacktrace
    > 
    <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ElizaSoft".> 
    <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      Truncated. see log file for complete stacktrace
    Caused By: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)
      at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)
      at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507)
      Truncated. see log file for complete stacktrace
    > 
    [06:38:36 PM] Deployment cancelled.
    [06:38:37 PM] ----  Deployment incomplete  ----.
    [06:38:37 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application ElizaSoft due to error deploying to IntegratedWebLogicServer.
    [06:38:37 PM] Cancel requested
    [Application ElizaSoft stopped and undeployed from IntegratedWebLogicServer]
    
    

    But I got back to the top of the same request for the same user and password but it works and do not give the error.

    Help, please.

    Concerning

    Mr President

    I just want to remove the old conn ide and create a new ide conn and add to the application and it works

    Concerning

  • java.sql.SQLException: ORA-01653: unable to extend table IAMEXT_OIM. RECON_EVENTS by 1024 in the IAMEXT_OIM tablespace

    Hello


    When I try to run the Active Directory Trusted user he ran for some users and in the log file I found this erro. After that when I ran recon target, it does not all recon events.


    In DEV, it worked perfectly



    java.sql.SQLException: ORA-01653: unable to extend table IAMEXT_OIM. RECON_EVENTS by 1024 in the IAMEXT_OIM tablespace


    What does that mean?

    Should I increase any space of the table?


    Thank you

    You must work with your DBA team to extend the table space.

  • avctl start_collector - java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    Hi all

    I was hoping you could help me.  After a server restart scheduled that I tried to start my fundraiser, when I did, I got the following error:

    09/29/14 10:19:36       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-28001: the password has expired
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    So I checked the database of Audit Vault and of course, uses that have expired there, Audit Vault users expire after 180 days.

    SELECT username, account_status, expiry_date
      FROM dba_users
    WHERE account_status = 'EXPIRED';
    
    

    I had a user "AGENT_BW3", which has expired. I also had the SYSAV & AVREPORTUSER that have expired.  So I changed my profile and then reset the password for these uses to the same than what have been before

    Now when I try to restart the collector, I get the following:

    09/29/14 10:36:02       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    Now of course I went on this issue the wrong way, is - that someone has encountered this problem before?

    Just to add, I tried to connect with the same passwords for all users of Audit Vault in sqlplus and all work fine, its only the "start_collector" that has the problem.

    Kind regards.

    I fixed it by following these steps.

    When the audit Vault database is created all users will see the profile by DEFAULT, it is a grace expires 180 days.  I needed to reset user passwords that I did.  The part that missed me, was that even if I put the passwords for what they had been before the expiry I still need to change the portfolio.

    sqlplus SYSAVDVA/xx

    -User AV_ADMIN

    ALTER USER SYSAV IDENTIFIED BY xx;

    -Server wallet

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr SYSAV/xx

    sqlplus SYSAVDVA/xx

    -User AV_AGENT

    ALTER USER IDENTIFIED BY AGENT_BW3 xx.

    -Portfolio Officer

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr AGENT_BW3/xx

    This fixed the problem.

  • Houston-27122: SQL error in the preparation of the statement in OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi friends,

    I've extended CO where I added dynamic VO where condition, it start error.

    Code added to the controller:

    SerializableAttribute public class Custom_HomePageCO extends HomePageCO

    {

    public Custom_HomePageCO()

    {

    }

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    System.out.println ("NewClase");

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    System.out.println (AM);

    OAApplicationModule am1 = (OAApplicationModule) am.findApplicationModule ("TrackExpenseReportsAM");

    System.out.println (AM1);

    OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");

    System.out.println (VO);

    vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");

    vo.executeQuery ();

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    }

    }

    Error message:

    Details of the exception.

    Error details
    Logout



    Error page


    Details of the exception.

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.  Statement: SELECT * FROM (SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,


    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    PO_VENDORS PV,
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE PV. EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 1
    AND P.PERSON_ID = PV. EMPLOYEE_ID
    AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
    UNION
    SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,
    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    PO_VENDORS PV,
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "in ("STANDARD "," MIXED")
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 2
    AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
    AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
    UNION ALL
    SELECT
    AERH. DESCRIPTION OBJECT,
    AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH. WEEK_END_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH. INVOICE_NUM REPORT_NUMBER,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
    PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE. FULL_NAME FULL_NAME,
    NVL (AERH.expense_status_code,
    AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
    AERH.report_header_id, 'Y', 'n')) STATUS_CODE.
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
    AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
    ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
    SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    Decode (aerh.expense_current_approver_id,
    -99999, "AMEMultipleApprovers."
    Decode (PER_APPROVER.full_name,
    (null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    -INVOICE_ID 1
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X PER_EMPLOYEE,
    PER_PEOPLE_X PER_APPROVER
    WHERE AERH. VOUCHNO + 0 = 0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND AERH. EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 3
    AND PER_EMPLOYEE. PERSON_ID = AERH. EMPLOYEE_ID
    AND (AERH. Source <>"NonValidatedWebExpense".
    OR AERH. Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
    AND AERH. SOURCE <>"the two Pay."
    UNION
    SELECT
    AERH. DESCRIPTION OBJECT,
    AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH. WEEK_END_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH. INVOICE_NUM REPORT_NUMBER,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
    PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE. FULL_NAME FULL_NAME,
    NVL (AERH.expense_status_code,
    AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
    AERH.report_header_id, 'Y',' don't)) STATUS_CODE.
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
    AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
    ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
    SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    Decode (aerh.expense_current_approver_id,
    -99999, "AMEMultipleApprovers."
    Decode (PER_APPROVER.full_name,
    (null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    -INVOICE_ID 1
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X PER_EMPLOYEE,
    PER_PEOPLE_X PER_APPROVER
    WHERE AERH. VOUCHNO + 0 = 0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND AERH. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 4
    AND PER_EMPLOYEE. PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH. EMPLOYEE_ID IS NULL
    AND (AERH. Source <>"NonValidatedWebExpense".
    OR AERH. Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
    AND AERH. SOURCE <>"the two Pay."
    UNION ALL
    / * This selection is for reports of invoice imported by casual workers * /.
    SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,
    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 5
    AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG. IsPersonCwk (HAVE. PAID_ON_BEHALF_EMPLOYEE_ID) = 'Y '.
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)) QRSLT WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    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:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.sql.SQLException: ORA-01008: not all variables

    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:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    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:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    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:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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)
    to 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

    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:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    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:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    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:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    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)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    I took the sql error message and tried the same performance in Toad... I could run it smoothly... I dot know why his work during the execution of the page

    Please help me guys...

    Thank you

    Pavan

    See you are not sure if they make somewhere clause or where clause params. Your code can be disturbing the standard flow of the code

    Try

    (a) Substitution of view object

    (b)

    OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");

    System.out.println (VO);

    vo.setWhereClause (null);

    vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");

    vo.executeQuery (); do not run

    B. try if this does not work go for a

    Concerning

    Marie Lise S

  • java.sql.SQLException: ORA-01008: not all variables

    Hi all

    Here is the code in my opinion

    SELECT * FROM (select * from ())
    SELECT WN. NOTIFICATION_ID,
    WN. FROM_USER,
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
    ||' '
    || WN. SUBJECT) AS THE SUBJECT.
    WN. LANGUAGE,
    WN. BEGIN_DATE,
    WN. END_DATE,
    WN. STATUS,
    WN. PRIORITY,
    'P' AS PRIORITY_F,
    WN. RECIPIENT_ROLE,
    WN. END_DATE,
    WIT. DISPLAY_NAME AS TYPE,
    WN. MORE_INFO_ROLE,
    WN. FROM_ROLE,
    WN. MESSAGE_TYPE,
    WN. MESSAGE_NAME,
    WN. CONTEXT,
    XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
    XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
    OF WF_NOTIFICATIONS WN.
    WF_ITEM_TYPES_TL WIT,
    WL WF_LOOKUPS_TL
    WHERE WN.message_type = WIT.name
    AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
    AND WIT.language = userenv ('LANG')
    AND WIT.language = WL.language
    AND WN.status = WL.lookup_code
    AND more_info_role IS NULL
    AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
    AND WN.recipient_role IN
    (SELECT WUR.role_name
    OF WF_USER_ROLES WUR
    WHERE WUR.user_name =: 1
    AND WUR.user_orig_system =: 2
    AND WUR.user_orig_system_id =: 3
    )
    UNION ALL
    SELECT
    / * + Index (WN WF_NOTIFICATIONS_N6) ORDERED PUSH_SUBQ USE_NL (WN WL WIT) * /.
    WN. NOTIFICATION_ID,
    WN. FROM_USER,
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
    ||' '
    || WN. SUBJECT) AS THE SUBJECT.
    WN. LANGUAGE,
    WN. BEGIN_DATE,
    WN. END_DATE,
    WN. STATUS,
    WN. PRIORITY,
    'P' AS PRIORITY_F,
    WN. RECIPIENT_ROLE,
    WN. END_DATE,
    WIT. DISPLAY_NAME AS TYPE,
    WN. MORE_INFO_ROLE,
    WN. FROM_ROLE,
    WN. MESSAGE_TYPE,
    WN. MESSAGE_NAME,
    WN. CONTEXT,
    XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
    XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
    OF WF_NOTIFICATIONS WN.
    WF_ITEM_TYPES_TL WIT,
    WL WF_LOOKUPS_TL
    WHERE WN.message_type = WIT.name
    AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
    AND WIT.language = userenv ('LANG')
    AND WIT.language = WL.language
    AND WN.status = WL.lookup_code
    AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
    AND WN.more_info_role IN
    (SELECT WUR.role_name
    OF WF_USER_ROLES WUR
    WHERE WUR.user_name =: 4
    AND WUR.user_orig_system =: 5
    AND WUR. USER_ORIG_SYSTEM_ID =: 6
    ))
    WHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
    AND DECODE (: 7, NULL, ' 1 ',' < ', VBG, ' 1') < DECODE (: 7, NULL, ' 2 ',' < ',: 8, '2')
    (AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))

    Code of VOImpl
    ' public void initQuery (String s, String s1, s2, s3, s4 of the string String String,
    S5, s6 String String) {}
    OAApplicationModuleImpl = localOAApplicationModuleImpl
    (OAApplicationModuleImpl) getApplicationModule ();
    OADBTransactionImpl = localOADBTransactionImpl
    (OADBTransactionImpl) localOAApplicationModuleImpl.getDBTransaction ();
    int i = 0;
    setWhereClause (null);
    setWhereClauseParams (null);

    setWhereClauseParam (0, s);
    setWhereClauseParam (1, s1);
    setWhereClauseParam (2, s2);
    setWhereClauseParam (3, s);
    setWhereClauseParam (4, s1);
    setWhereClauseParam (5, s2);
    setWhereClauseParam (6, s4);
    setWhereClauseParam (7, s6);

    String strWhereClause = "";

    If ((null! = s5) & &!("".)) Equals (S5)))
    {
    If (! (")) All".equalsIgnoreCase (S5)))
    {
    "" strWhereClause = "asset_type =" "+ s5 +" ' ";
    addWhereClause (strWhereClause);
    }
    }

    When I try to run the page, and then I am getting java.sql.SQLException: ORA-01008: not all variables.

    Can someone tell the cause of the road please?

    Thank you
    Siva Prasad

    WHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
    AND DECODE (: 7, NULL, 1 ',')<'1')>< decode(:7,="" null,="" '2',=""><', :8,="">
    (AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))

    You use the variable even here several times. Please change sequentially. Even if you use: 7 more than once, please change to: 8 (number) and go to the setWhereClauseParam. Basically do not use the same variable twice (even if you want to compare the same value)

    Thank you
    Shree

  • Caused by: java.sql.SQLException: ORA-28001: the password has expired

    Hi all

    After that I installed vCloud Director and it works OK for the last 2 weeks. Now, after reboot yesterday for the ESX interview, I get the following error in the /opt/vmware/cloud-director/logs/vcloud-container-info.log:

    Caused by: java.sql.SQLException: ORA-28001: the password has expired

    Director vCould crashes and refuses to come,-(.)

    Anyone out there had this problem too? How can I fix? Thanks in advance for your help. See you soon.

    PSK@Centrify

    http://www.VMware.com/PDF/vcd_10_install.PDF

    Pages 9-23

  • java.sql.SQLException: ORA-01691: impossible to extend lob segment

    Hello

    I get the following code:
    java.sql.SQLException: ORA-01691: unable to extend lob segment 
    MI.SYS_LOB0000082688C00020$$ by 128 in tablespace SYSTEM
    I googled and found this thread helpful ORA-01691: impossible to extend lob segment
    alter database datafile '<DATA_FILE_NAME>' autoextend on maxsize unlimited;
    and you can also do the same with the temp tablespace.
    It's my data files. Am I right? If yes then I change all 4 of the following? Also, where can I find the temp tablespace
    select name from v$datafile
    /usr/lib/oracle/xe/oradata/XE/system.dbf
    /usr/lib/oracle/xe/oradata/XE/undo.dbf
    /usr/lib/oracle/xe/oradata/XE/sysaux.dbf
    /usr/lib/oracle/xe/oradata/XE/users.dbf
    Thank you in anticipation

    Published by: Christy h. on December 24, 2011 11:30

    Why the schema object specific MEDICALINTERNATIONAL in the SYSTEM tablespace?; that's reserved for Oracle?

    ALTER database datafile ' / usr/lib/oracle/xe/oradata/XE/system.dbf' autoextend on maxsize unlimited;

  • java.sql.SQLException: ORA-00923: KEYWORD not found where expected

    Hi all

    I wrote a stored procedure where I variables defined for selectColumn, fromClause and whereClause and I'm paasing to another procedure.
    But, while running, I get an error:

    "java.sql.SQLException: ORA-00923: KEYWORD not found where expected.


    XL_SPG_GetPagingSql (strColumnList,
    strFromClause,
    strWhereClause,
    strOrderByClause,
    intSortDirection_in,
    intStartRow_in,
    intPageSize_in,
    select_stmt);

    Please advice

    I think so.

    You will want to ensure that columns used in ORDER BY are listed in the SELECT statement since you use SEPARATE.

Maybe you are looking for