Java.sql.SQLSyntaxErrorException: ORA-00904: "GROUPID": invalid identifier

I have this Oracle table:
CREATE TABLE USERGROUPS(
  GROUPID INTEGER NOT NULL,
  GROUPNAME VARCHAR2(40 ),
  GROUPSTATUS VARCHAR2(30 ),
  DATEGROUPADDED DATE,
  DATEGROUPLOCKED DATE,
  GROUPEXPIREDATE DATE,
  DESCRIPTION CLOB
/I tried to run this SQL query:
SELECT c.*
FROM
  (SELECT b.*,
    rownum rn
  FROM
    (SELECT a.* FROM USERGROUPS a ORDER BY GROUPID ASC
    ) b
  WHERE rownum <= 5
  ) c
WHERE rn > 10I get this error message in SQL developer when I run it:
ORA-00904: "GROUPID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:   
*Action:
Error at Line: 5 Column: 25
I also tested this SQL query:
SELECT GROUPID FROM USERGROUPS I get this error:
ORA-00904: "GROUPID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:   
*Action:
Error at Line: 1 Column: 7
Can you help me to fix the problem?

Are you sure the create table statement executed successfully (with no error)?
Perhaps you use an older version of the table where the column groupid did not exists.
You can check the columns of your table with:
select * from all_tab_columns
where table_name='USERGROUPS'
  and owner='<schema-name>'
order by column_id;Another reason could be, that exist two tables with the same name.
You could check that with
select *
from all_tables
where table_name ='USERGROUPS';hm

Similar Messages

  • Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier

    Hi everyone,
    we are facing the below issue when trying to schedule a BI report.
    Error Details:
    +oracle.apps.xdo.servlet.scheduler.ProcessingException: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
    Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    Error Code: 904
    Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
    Query: DataModifyQuery()
    +     at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:830)+
    +     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1896)+
    +     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:293)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)+
    +     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)+
    +     at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)+
    +     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)+
    +     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)+
    +     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)+
    +     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)+
    +     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)+
    +     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)+
    +     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)+
    +     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)+
    +     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)+
    +     at java.lang.Thread.run(Thread.java:595)+
    +Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
    Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    Error Code: 904
    Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
    Query: DataModifyQuery()
    +     at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:296)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:790)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:524)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:467)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeCall(AbstractSession.java:795)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:222)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:202)+
    +     at oracle.toplink.queryframework.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:55)+
    +     at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:671)+
    +     at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1032)+
    +     at oracle.toplink.sequencing.QuerySequence.update(QuerySequence.java:319)+
    +     at oracle.toplink.sequencing.QuerySequence.updateAndSelectSequence(QuerySequence.java:258)+
    +     at oracle.toplink.sequencing.StandardSequence.getGeneratedVector(StandardSequence.java:62)+
    +     at oracle.toplink.sequencing.DefaultSequence.getGeneratedVector(DefaultSequence.java:144)+
    +     at oracle.toplink.sequencing.Sequence.getGeneratedVector(Sequence.java:256)+
    +     at oracle.toplink.internal.sequencing.SequencingManager$Preallocation_Transaction_NoAccessor_State.getNextValue(SequencingManager.java:444)+
    +     at oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:873)+
    +     at oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)+
    +     at oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:234)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.assignSequenceNumbers(UnitOfWorkImpl.java:419)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:497)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1407)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitRootUnitOfWork(UnitOfWorkImpl.java:1167)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commit(UnitOfWorkImpl.java:939)+
    +     at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:815)+
    +     ... 16 more+
    Caused by: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    +     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)+
    +     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)+
    +     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)+
    +     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)+
    +     at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)+
    +     at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:561)+
    +     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)+
    +     at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1585)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:713)+
    +     ... 45 more+
    Found a thread related to this but there it was explained that the error was occuring when trying to notify regarding output through email. In our case, issue is occuring just during scheduling itslef.
    Also I haved checked the following schedular tables in my database.
    SQL> select table_name from all_tables where table_name like 'S_NQ%'
    +2 /+
    TABLE_NAME
    S_NQ_ERR_MSG
    S_NQ_INSTANCE
    S_NQ_JOB_PARAM
    S_NQ_JOB
    SQL> select SEQ_NAME.CURRVAL FROM DUAL;
    select SEQ_NAME.CURRVAL FROM DUAL
    *+
    ERROR at line 1:
    ORA-02289: sequence does not exist
    Please help me out in solving this as I have tried almost all possible solutions.
    Thanks,
    Sri Harsha.
    Edited by: user10545574 on Dec 20, 2009 10:24 PM

    Hello,
    In the delivery email configuration server page (under BI Publisher Admin Tab), the username / password to enter is the one defined on the email server itself. It is the user that will be user to send the emails when scedhuling a report.
    It may not be Administrator/ Administrator (not a user defined with OBI admin tool) but the username/password defined on the email server itself.
    Moreover, to properly configure the BI Publisher Scheduler, it is a prerequistes to create bipsched user on Oracle DB and install the schema tables in Oracle DB (by clicking on Install Schema button after defining database connection under Admin / Scheduler Configuration tab)
    From the error your are getting 'SEQ_NAME unknown..., it appears that the tables are not created'.
    Hope this helps and good luck
    Matthieu

  • JDBC Receiver adapter-java.sql.SQLException: ORA-00904: "BATCH_ID": invalid

    Hi
    I am trying insert rows in Oracle database using JDBC receiver adapter setup in PI 7.1. However this receiver adapter is throwing following exception.
    Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'PRADEEP_OTC_ORDERS' (structure 'statement'): java.sql.SQLException: ORA-00904: "BATCH_ID": invalid identifier .
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:mt_sql_writer xmlns:ns0="http://rdbms_poc">
    <statement>
         <dbtablename action="INSERT">
                <table>PRADEEP_OTC_ORDERS</table>
              <access>
                     <order_id>19126</order_id>
                     <version>1</version>
                     <batch_id>132</batch_id>
                </access>
           </dbtablename>
    </statement>
    </ns0:mt_sql_writer>
    PRADEEP_OTC_ORDERS table has just 3 columns as specified the access segment. However I stil get this ORA-00904 error message.
    Any idea on what could be wrong.?
    Thanks
    -Pradeep

    Hi All,
    Thanks a lot for responding...
    I verified the table structure, table just contains those 3 coulms all varchar type.
    I modified the column name as well, But was still getting ORA-00904. Then I went directly to the the database and executed below insert statement,
    insert into PRADEEP_OTC_ORDERS (mps_order_id, mps_version,mps_batch_id) Values(1,2,3)
    I got exact SQL Error: ORA-00904: "MPS_BATCH_ID": invalid identifier.
    So ISAP JDBC adapter is not enclosing the string values in quotes.
    SAP documentation says it puts quotes for values and treats everything as string(text).
    Anybody has any idea, why JDBC receiver adapter not enclosing the values in quotes?
    Thanks
    -Pradeep

  • Internal : java.sql.SQLSyntaExceptionxErrorException: ORA-00904: "TENANT_ID

    I had to refresh my view to the latest label. After I did the ade refresh -latest, I got this label:
    FMWTOOLS_11.1.1.6.0_GENERIC_120112.0037.2_PATCHES4FA_11.1.1.6.2_PLATFORMS
    this label also updated the JDeveloper to 11.1.1.6. I was using before 11.1.5.
    The problem is that now I cannot run composites that were running with no issues before the upgrade.
    This error is shown in the console after starting the SOA server, without even trying to run anything at all.
    soa_server1] [ERROR] [] [oracle.soa.mediator.common.listener] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [ecid: 889cfef60875ddb5:-530c4ecd:135e2d7308b:-8000-0000000000000003,0] [APP: soa-infra] DBLocker caught exception while retrieving locked messages. Will retry retrieval after 2 seconds[[
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.6.0) (Build 111018)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "TENANT_ID": invalid identifier
    Error Code: 904
    Call: SELECT CASE_ID, CONTAINER_ID, DUMMY1, MSG_ID, COMPONENT_DN, OPERATION, CREATION_DATE, PRIORITY, COMPONENT_STATUS, QNAME_LOCAL_PART, CASE_INFO, QNAME_NAMESPACE, LOCK_TIME, SOURCE_URI, TENANT_ID, INSTANCE_CREATED, IS_EVENT, STATUS FROM MEDIATOR_DEFERRED_MESSAGE WHERE (((STATUS = ?) AND (LOCK_TIME = ?)) AND (CONTAINER_ID = ?))
    bind => [1, 2012-03-05 04:59:22.978, 56B16AC166BF11E1AF4DC30F777D0670]
    Query: ReadAllQuery(oracle.tip.mediator.common.persistence.MediatorDeferredMessage)
    at oracle.toplink.exceptions.DatabaseException.sqlException
    My environment:
    is a VM with Linux
    I am using the standalone weblogic
    running SOA composites.
    Is this a Database Issue?
    Any help would be appreciated.
    Thanks
    Edited by: user721265 on Mar 9, 2012 5:00 AM

    Hi,
    Try to create the column as:
    ALTER TABLE MEDIATOR_DEFERRED_MESSAGE
    ADD (TENANT_ID NUMBER(18, 0) DEFAULT -1 );
    The RCU does not create that column. There are two more tables that "should have" that column (or even more? ): COMPOSITE_INSTANCE and CUBE_INSTANCE.
    Check this site:
    http://www.oracle.com/technetwork/database/availability/oraclefmw-soa-11gr1-securefiles-1842740.pdf
    Regards,
    AAPDL

  • Could not get schema Object:java.sql.SQLSyntaxErrorException ora-904

    All of a sudden I get
    Could not get schema Object:java.sql.SQLSyntaxErrorException: ORA-00904: "SYS"."O"."NAME": ongeldige ID
    when doing anything in the tables tree in the connections pane
    The only thing I set recently is pga_aggregate_target
    Environment
    Oracle 11.2.0.1
    OS Windows Vista Ultimate sp2
    Sql developer 2.1.1.64.39 with its own JDK
    As the download links on OTN are broken I can not upgrade, and I'd rather not work in command line sqlplus.
    Help!!!
    Sybrand Bakker
    Senior Oracle DBA

    My copy of sqldeveloper isn't located in that directory. Would that matter?
    In the mean time I have disabled filtering the tables node. Opening the tables node doesn't result in exceptions anymore.
    Now, when I click on any table in that node I get 4 identical ora-904 error messages for sys.o.name for any table.
    Apparently it is querying either the all_objects view and it thinks it is querying sys.obj$.
    I didn't yet enable sql_trace for the session, I'm more or less giving up on sqldeveloper. I can not use the space bar in any datagrid, sqldeveloper has always been extreemly unresponsive when navigating the schema browser (as opposed to Toad), etc, etc. Too bad I bought Sue Harpers book, but I think I will be de-installing sqldeveloper soon.
    Sybrand Bakker
    Senior Oracle DBA

  • FNDLOAD: PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier

    Hi
    I have done a form personlization and download it as .ldt file using FNDLOAD.
    command used:
    FNDLOAD apps/dvpins93 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct KPMNPOINV_LD.ldt FND_FORM_CUSTOM_RULES function_name="KPMNPOINV"
    log file:
    Application Object Library: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    module:
    Current system time is 24-DEC-2009 15:12:26
    Downloading FND_FORM_CUSTOM_RULES to the data file KPMNPOINV_LD.ldt
    Downloaded FND_FORM_CUSTOM_RULES 1204
    Concurrent request completed successfully
    Current system time is 24-DEC-2009 15:12:27
    After that i have uploaded the .ldt file using FNDLOAD after removing the personalization from that form, just to check whether it is upoloaded or not.
    But the problem, when i uploaded the file it gives me an error PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier
    command used:
    FNDLOAD apps/dvpins93 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct KPMNPOINV_LD.ldt
    log file:
    Application Object Library: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    module:
    Current system time is 24-DEC-2009 16:55:17
    Uploading from the data file KPMNPOINV_LD.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dump from LCT/LDT files (/appldvp/apps/prodappl/fnd/11.5.0/patch/115/import/affrmcus.lct(115.1), KPM
    NPOINV_LD.ldt) to stage tables
    Dump LCT file /appldvp/apps/prodappl/fnd/11.5.0/patch/115/import/affrmcus.lct(115.1) into FND_SEED_S
    TAGE_CONFIG
    Dump LDT file KPMNPOINV_LD.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (FND_FORM_CUSTOM_RULES 1204 , FND_FORM_CUSTOM_SCOPES 1204 20 ) into FND_SEED_STAGE
    _ENTITY
    Upload from stage tables
    Error during uploading. ORA-06550: line 354, column 17:
    PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier
    ORA-06550: line 347, column 1:
    PL/SQL: SQL Statement ignored
    Concurrent request completed
    Current system time is 24-DEC-2009 16:55:18
    I am not able to understand the actual problem as there is nothing like LAST_UPDATED_DATE.
    Please suggest me something so that i can solve this problem

    Hi,
    Please refer to:
    Note: 287417.1 - Parameters Of Different Configuration Files To Download And Upload Seed Data Types
    For forms personalization, please refer to:
    Note: 395117.1 - Form Personalizations in Oracle E-Business Suite (Release 12)
    Note: 743490.1 - Customization in Oracle Applications
    There are many documents available on Metalink, just search for FNDLOAD and you will get many hits.
    Regards,
    Hussein

  • Java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist while invoking a DBAdapter

    I have a WebService which is invoked , the request is routed through the mideator to the DBAdapter .DBAdapter interacts with the database and replies the result.
    I send in the CreditCardNumber in the request and recieve its Status (VALID,INVALID). i get this error every time . i have tried almost every thing to fix this . Please help me with same .
    Below is the complete error stacktrace.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks in advance

    Can you please check the following
    a. check the JNDI Configuration. ( check for the value used for XADatasourceName )
    b. check the Data source created for the User.
    c. Incase you have updated the existing JNDI then you need to update the adapter with the New Deployment Plan.
    Thanks,
    Sunil Gopal

  • ORA-00904: "OCT": invalid identifier

    Hi All,
    i using execulte immediate to create a table as below
    SQL_STR := 'create table test_archive as select * from test_one where date_key between' TO_DATE(20121001,'YYYYMMDD')||' and '||TO_DATE(20121002,'YYYYMMDD');
    execute immediate SQL_STR;
    i am getting below error.
    Eexeduting the varSqlstmt.
    ERROR CODE: ORA-00904: "OCT": invalid identifier
    and it has generated the Query as below ,
    create table test_archive as select * from test_one where
    date_key between 01-OCT-12 and 03-OCT-12
    my requirement is insted of "OCT" it has to Display as "10".
    Note : date_key column date datatype.
    please any one help me in this .
    Thanks
    Sree

    ALTER SESSION SET NLS_DATE_FORMAT='YYYY/MM/DD';
    SQL> alter session set NLS_DATE_FORMAT='YYYY-MON-DD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    2013-ENE-11
    SQL> alter session set NLS_DATE_FORMAT='YYYYMMDD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    20130111
    SQL> alter session set NLS_DATE_FORMAT='YYYY-MM-DD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    2013-01-11Edited by: Fran on 11-ene-2013 5:52

  • ORA-00904: "SPN": invalid identifier

    Team
    I am caught in a situation and I am reaching out for support. I am importing the scripts on datamover and I am receiving this error:
    File: Data MoverSQL error. Stmt #: 0 Error Position: 2293 Return: 904 - ORA-00904: "SPN": invalid identifier
    Failed SQL stmt:INSERT INTO PS_INSTALLATION (COMPANY, MIN_STD_HRS, MAX_STD_HRS, EMPLID_LENGTH, STD_HRS_DEFAULT, STD_HRS_FREQUENCY, TEMP_SSN_MASK, COMMIT_AFTER, POSITION_MGMT, COUNTRY, COMP_FREQUENCY, EMPLID_LAST_EMPL, NON_EMPLOYEE_LAST, DEMAND_ID_LAST, POSN_NBR_LAST, GRIEVANCE_NBR_LAST, INCIDENT_NBR_LAST, CLAIM_NBR_LAST, FILE_CREATE_LAST, ROE_NBR_LAST, CAN_CMA, CAN_IND_SECTOR, MULTI_STEP_GRADE, FSA_CLAIMS, BENEFIT_ADMINISTRN, START_EVENT_DT, EXCHNG_TO_CURRENCY, EXCHNG_TO_RT_TYPE, HR, AM, AP, AR, GL, BD, PC, PO, INV, BI, OM, PUBLIC_SECTOR, RETROPAY_SEQ_LAST, RETRODED_SEQ_LAST, RETRO_DEDUCTIONS, TL, AUTO_EE_TAX, SAME_ST_LCL_RSDNCE, FMLA_ADMINISTRN, BAL_ID_FOR_CAL_YR, MAX_ROWS_SCROLL, PA, CAR_LAST, BEN_BILLING, COBRA_ADMINISTRN, LAST_TL_CONTRCTR, ORGCHART, COBRA_EMPLID_LAST, FSA_CLAIM_NBR_LAST, FSA_CRY_CLAIM_LAST, US, CAN, GER, FRA, UK, JPN, BEL, NLD, ESP, MEX, AUS, MYS, NZL, SGP, HKG, INSTALLED_PAY_GBL, IND, BRA, CHN, THA, INSTALLED_PAY_NA, INSTALLED_PAY_INT, USE_POINTS_SW, USE_RTCD_GROUP_SW, ROWSECCLASS, ILL_NBR_LAST_GER, FED, FP_FLAG, GVT_PAY_BASIS, ACCT_CD_LAST, CPS_TRANS_ID_LAST, CHE, ITA, ALLW_CONC_CALCCONF, PIN_NUM_LAST, GP_CST_INSTALL_IND, AP_INVNO_PREFIX, AP_INVNO_LAST, ST, ILL_NBR_LAST_NLD, ADJ_TL_FINAL_CHK, ADJ_TL_ONL_CHK, ADJ_TL_REV_ADJ, REFRSH_TL_JOB_CHG, REFRSH_TL_PRECALC, PSEBENEFITS, PSECOMP, PSEPAY, PSEPROFILE, PSERECRUIT, CCU, PSEA, INSTALLED_GP_AUS, INSTALLED_GP_BRA, INSTALLED_GP_CAN, INSTALLED_GP_CHE, INSTALLED_GP_CHN, INSTALLED_GP_DEU, INSTALLED_GP_ESP, INSTALLED_GP_FRA, INSTALLED_GP_HKG, INSTALLED_GP_IND, INSTALLED_GP_ITA, INSTALLED_GP_JPN, INSTALLED_GP_MEX, INSTALLED_GP_MYS, INSTALLED_GP_NLD, INSTALLED_GP_NZL, INSTALLED_GP_SGP, INSTALLED_GP_THA, INSTALLED_GP_UK, INSTALLED_GP_USA, PSECOMP_MGR, PSEPROFILE_MGR, PSERECRUIT_MGR, EPW, FO_PBM, AUTO_JOB_END, AUTO_JOB_SUSPEND, TEMP_ASSGN_ID_LAST, EHC, EPG, EPU, APS_AUS, DI, RP, INSTALLED_GP_ARG, INSTALLED_GP_IRL, INSTALLED_GP_TWN, TL_MOBILE, PSEPERF_MANAGEMENT, AA_ENABLED_JPN, INSTALLED_PAY_PPS, AV, SA, SG, HGA, ELM, PS_GL_VERSION, ADP, RSRW, CSS, HMCF_VALID_CACHE, HMCF_CACHE_RETAIN, HMCF_EIP_LIMIT, LAST_OSHA_CASE_NBR, GVT_NFC_INDICATOR, MILITARY, BEN_DED_CLS_ORDER, TBH_SEQ_LAST, ENC_TRIGGER, LAST_SP_ID_ASSIGN, UPD_INCUMB_LMT, INSTALLED_OWS, OWS_SEQ_LAST, SAIP, HP_ENFORCE_RTBC, HP_KK_BUDGET_PROC, ARG, TMOD, SPN) VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, TO_DATE(:26,'YYYY-MM-DD'), :27, :28, :29, :30, :31, :32, :33, :34, :35, :36, :37, :38, :39, :40, :41, :42, :43, :44, :45, :46, :47, :48, :49, :50, :51, :52, :53, :54, :55, :56, :57, :58, :59, :60, :61, :62, :63, :64, :65, :66, :67, :68, :69, :70, :71, :72, :73, :74, :75, :76, :77, :78, :79, :80, :81, :82, :83, :84, :85, :86, :87, :88, :89, :90, :91, :92, :93, :94, :95, :96, :97, :98, :99, :100, :101, :102, :103, :104, :105, :106, :107, :108, :109, :110, :111, :112, :113, :114, :115, :116, :117, :118, :119, :120, :121, :122, :123, :124, :125, :126, :127, :128, :129, :130, :131, :132, :133, :134, :135, :136, :137, :138, :139, :140, :141, :142, :143, :144, :145, :146, :147, :148, :149, :150, :151, :152, :153, :154, :155, :156, :157, :158, :159, :160, :161, :162, :163, :164, :165, :166, :167, :168, :169, :170, :171, :172, :173, :174, :175, :176, :177, :178, :179)
    Any idea why? In case you need to know, I am running PT8.50 on Oracle database and HRMS 9.1. Be Blessed

    Thank you guys both for your help. To answer your questions Nicolas, the database was created through Oracle's database configuration, so it wasn't manual. It hasn't ran successful, that is what I am trying to tell you. When I run the scripts through data mover, when it gets that error, data mover stops working b/c it has failed and yes I have ran all the required scripts, but I did run the given command and got 20 rows selected:
    PS= 1
    MDSYS= 49
    TSMSYS=1
    DMSYS=2
    OUTLN=3
    CTXSYS=37
    OLAPSYS=126
    SYSADM=11625
    HR=7
    EXFSYS=44
    SCOTT=4
    SH=17
    DBSNMP=21
    ORDSYS=4
    SYSMAN=337
    OE=12
    PM=2
    XDB=11
    IX=15
    WMSYS=40
    To answer your question soundappan. First off thank you again for responding. Second, I am fully aware of that I need to run the required scripts, which have been done (as mentioned earlier). Thank you for that other piece of advice regarding starting from the failed table. I knew it before but didn't thimk about using that function, but now I will because it is too long of a process to start fresh each time, but since it is a DMO database, it is difficult to know where to start from because there are two.
    Here is an interesting fact, according to the installation guide, to properly install a DMO database, both the SYS and the DMO database options must be selected. Taking that fact into consideration, I get this error now: Be Blessed
    File: Data MoverSQL error. Stmt #: 0 Error Position: 0 Return: 805 - ORA-00001: unique constraint (SYSADM.PS_ABBR_TYPE_TBL) violated
    Failed SQL stmt:INSERT INTO PS_ABBR_TYPE_TBL (BN_ANNL_BENBASE_CD, EFFDT, EFF_STATUS, DESCRSHORT, DESCR) VALUES (:1, TO_DATE(:2,'YYYY-MM-DD'), :3, :4, :5)

  • Database Link Error ORA-00904: "function_name": invalid identifier

    Hi Everyone,
    We are using Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production.
    We have production and reporting databases. We have a link from reporting to production that we use to create tables on the reporting database by selecting from tables and/or views on the productions database.
    We have to problem selecting from any view or table unless the query uses a stored function on the production database. Then we get the ORA-00904: "function_name": invalid identifier error even though the user that uses the link is created on both databases and the user hase execute privileges on the function.
    Has anyone else ever had this problem or have any suggestions?
    Any help would be greatly appreciated.
    Thanks!
    Ken

    Hi
    Post an example.
    Ott Karesz
    http://www.trendo-kft.hu

  • Java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from

    Experts,
    I am getting "java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc" exception and it leads to one or more setter methods of the VO. I checked the respective attribute in the VO to see if it refers to any LOV with sql having Distinct or group by clause, but it is a normal attribute.
    Any idea how do i resolve this error ?
    Error Stack::
    java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3756)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3635)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3203)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1971)
         at oracle.jbo.server.AttributeDefImpl.resolveSet(AttributeDefImpl.java:3412)
         at oracle.jbo.server.EntityImpl.setAttrInvokeAccessor(EntityImpl.java:1952)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:1879)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2327)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:2131)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1427)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl.setNationality(PartyVORowImpl.java:2103)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl$AttributesEnum$19.put(PartyVORowImpl.java:207)
         at com.awRostamani.leadWeb.model.uiView.PartyVORowImpl.setAttrInvokeAccessor(PartyVORowImpl.java:4204)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1063)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1003)
         at oracle.jbo.server.ViewRowImpl.setAttributeValues(ViewRowImpl.java:1677)
         at oracle.adf.model.binding.DCDataControl.setAttributesInRow(DCDataControl.java:2427)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeValuesInRow(JUCtrlValueBinding.java:967)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2778)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.updateTargetFromSelectedValue(JUCtrlListBinding.java:2906)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setAttributeFromValueList(JUCtrlListBinding.java:2851)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setSelectedIndex(JUCtrlListBinding.java:1745)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setInputValueInRow(JUCtrlListBinding.java:3499)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2804)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2767)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.setInputValue(FacesCtrlListBinding.java:226)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.put(JUCtrlValueBinding.java:2424)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.put(JUCtrlListBinding.java:3395)
         at javax.el.MapELResolver.setValue(MapELResolver.java:229)
         at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:252)
         at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:278)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.updateModel(UIXEditableValue.java:289)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processUpdates(UIXEditableValue.java:252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$UpdateModelValuesCallback.invokeContextCallback(LifecycleImpl.java:1320)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:194)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:147)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.awRostamani.leadWeb.ui.filter.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:80)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    thnks

    When trying to commit from business tester, then also the following error is coming
    Jdev 11.1.1.5 - locking mode is optimistic.
    OracleSQLBuilderImpl.doEntitySelect failed...
    java.sql.SQLSyntaxErrorException: ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6484)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6665)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3286)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3089)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
         at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [348] JUErrorHandlerDlg.reportException(oracle.jbo.DMLException)
    [349] DBG: afterActionPerformed :javax_swing_JToolBara1_175
    Edited by: in the line of fire on Jul 12, 2011 2:54 PM

  • "ORA-00904: "POLTYP": invalid identifier" in export

    First I got errors when I did the export with an export tool of Release 11.1.0.7.0 and there were lot of ORA-00904 and ORA-01003 like the following:
    XP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table XRATE_INFO
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    Then I tried to do export with another version of export tool (Release 10.2.0.4.0) The errors changed to the following:
    .about to export FM's tables via Direct Path...
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "POLTYP": invalid identifier
    EXP-00000: Export terminated unsuccessfully
    The export tool I used is of Release 10.2.0.4.0
    Has anyone had similar problems before?
    Edited by: 910547 on Jan 26, 2012 7:31 PM

    910547 wrote:
    First I got errors when I did the export with an export tool of Release 11.1.0.7.0 and there were lot of ORA-00904 and ORA-01003 like the following:
    XP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table XRATE_INFO
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    Then I tried to do export with another version of export tool (Release 10.2.0.4.0) The errors changed to the following:
    .about to export FM's tables via Direct Path...
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "POLTYP": invalid identifier
    EXP-00000: Export terminated unsuccessfully
    The export tool I used is of Release 10.2.0.4.0
    Has anyone had similar problems before?
    Edited by: 910547 on Jan 26, 2012 7:31 PMThis possibly a bug raise SR with Oracle Support

  • ORA-00904: "YEAR": invalid identifier

    Hi,
    I am getting ORA-00904: "YEAR": invalid identifier error while running the following query.
    This query was written in MySQL and being migrated to Oracle.
    The problem is in where clause as i am unable to migrate the YEAR,MONTHNAME
    "diet_details.diet_date = 01-JUL-12"
    SELECT
    diet_details.diet_id AS diet_id,
    diet_details.diet_combination_id AS diet_combination_id,
    count(diet_details.diet_details_id)AS count,
    mas_diet_combination.diet_combination_name AS mas_diet_combination_name,
    diet_details.diet_date AS diet_diet_date,
    diet_details.diet_details_id AS diet_diet_details_id,
    mas_department.department_name AS mas_department_name,
    mas_hospital.hospital_name AS mas_hospital_name
    FROM
    mas_diet_combination RIGHT OUTER JOIN diet_details ON mas_diet_combination.diet_combination_id = diet_details.diet_combination_id
    LEFT OUTER JOIN mas_department ON diet_details.department_id = mas_department.department_id
    LEFT OUTER JOIN mas_hospital ON diet_details.hospital_id = mas_hospital.hospital_id
    WHERE
    monthname(diet_details.diet_date) =JUL
    and year(diet_details.diet_date) = 12
    and diet_details.department_id = 11
    GROUP BY
    diet_details.diet_id,
    diet_details.diet_combination_id,
    diet_details.diet_details_id,
    mas_diet_combination.diet_combination_name,
    diet_details.diet_date,
    diet_details.diet_details_id,
    mas_department.department_name,
    mas_hospital.hospital_name
    order by mas_diet_combination.diet_combination_id

    Instead of YEAR, MONTHNAME, use the to_char function.
    e.g
    where to_char(diet_details.diet_date,'MON-YYYY') = 'JUL-2012'

  • ORA-00904: "ATTRIBUTE20": invalid identifier (Human Resource)

    Hi
    Please anybody can tell me why the error (ORA-00904: "ATTRIBUTE20": invalid identifier) come. When I am trying to query in form "Human Resource Vision Enterprise > People > Salary Management"
    Regards
    Makshud

    Hi Makshud,
    In addition to above information, you can refer the following doc for the generic reason of this error,
    [OERR: ORA-904 %s: invalid identifier / invalid column name|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=18500.1]
    This could be the reason for some invalid field entry as ORA-904 coming please verify.
    This is just for the information of ORA - 904, reason can only me verified after you provide the information asked by Hussein.
    Thanks,
    Anchorage :)

  • ORA-00904: "IFREEPOOL": invalid identifier

    Hi experts,
    When i am trying to export table containing BLOB data then i am getting the error
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "IFREEPOOL": invalid identifier
    Please suggest some solution how to export Blob field of a table...
    Thanks In Advance...
    Asit...
    Edited by: Asit Kumar Mohanty on Feb 22, 2013 3:42 AM

    how you make the export? database version? OS?
    also check:
    Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
    Errors ORA-904 EXP-8 On Traditional Export (EXP) In 10.2.0.4 [ID 968322.1]
    VN204084 OMU: EXP-00008: ORACLE error 904 encountered. ORA-00904: invalid colu [ID 613976.1]

Maybe you are looking for

  • ITunes 7 and Nano No-No

    My system is completely in error since the update of iTunes 7. The Nano mounts in the finder and i can start iTunes 7 but when i doubleclick a file on the Nano iTunes hangs, system hangs everything very awkward. Connected to my powerbook (itunes 6.04

  • Causes AS to crash

    It uses a simple class file to just draw a circle, any thought on why this would cause it to crash? The part in bold is what causes the crash import com.tools.circleDraw.circleDraw; var sets:getSet = new getSet(); var circDraw:circleDraw; var circArr

  • Extensis Suitcase Fusion will not launch after updating to 10.5.7

    Just recently updated to OS 10.5.7 and now I can't launch Extensis Suitcase Fusion software. Repaired permissions and hard drive, removed Suitcase from the login items list in my account under System Preferences, reinstalled Suitcase and updated to l

  • OWB mapping issue

    Hi, I we have an issue with 10gR database and OWB mapping. When I run the generated SQL of the OWB mapping it hardly takes any time to complete. But when I run the mapping through OWB client or Run the process flow which calls the mapping it takes hu

  • Fix for Airport Wireless Connection Problem stating Self-Assigned IP and not wanting to connect in Lion OSX.

    Fix for Airport Wireless Connection Problem stating Self-Assigned IP and not wanting to connect in Lion OSX. Bought my girlfriend the newest Macbook Pro 13" and began experiencing problems with my wifi the moment we got home. Her Macbook would not co