Error while inserting date field data in user nanaged cache group( program)

Hi,
I had usermanaged cachegroup, it is working fine as expected when I insert the record on the ttIsql prompt but when I try to insert the record programmatically (using c language ) it gives me the following error for date field
pthread_kill(??, ??) at 0x90000000217d214
praise(??) at 0x90000000217cc68
raise.raise(??) at 0x900000000050c84
abort() at 0x90000000007ac1c
getExports.getPtrArrayIf() at 0x9000000030a16c0
datetime.sbPatCmp() at 0x9000000033033ec
cacheAgingAPI.hashString() at 0x900000003663eac
unnamed block in ttBdbOraInputValue(0x7000000476efbb0, 0x73000000000073, 0x70000004866dea8, 0x113d8fdf0, 0xfffffffffffd250, 0x113d8fdf8, 0x113c1def0), line 690 in "bdbConvert.c"
ttBdbOraInputValue(0x7000000476efbb0, 0x73000000000073, 0x70000004866dea8, 0x113d8fdf0, 0xfffffffffffd250, 0x113d8fdf8, 0x113c1def0), line 690 in "bdbConvert.c"
bdbBufferStmt(0xf9000000d2845518, 0x834d0, 0x623e8b8, 0x73000000000073, 0x0, 0x0, 0x100000001, 0xfffffffffffd3f0), line 1290 in "bdbTblH.c"
ttBDbTableHInsert(0xf9000000d2845518, 0x834d0, 0x623e8b8, 0x73000000000073, 0x0, 0x113c1def0), line 991 in "bdbTblH.c"
sbTblStorLTupInsert(0x7000000415347c8, 0x700000083668090, 0x0, 0x0, 0xfffffffffffd928, 0x113c1def0), line 15648 in "table.c"
eeDML.sbEeInsertEval(0x70000008385d7c0, 0x7000000833cff98, 0x0, 0x113c1def0), line 5035 in "eeDML.c"
eeDDL.sbEeStmtEval(0x423ac4c8, 0x7000000833cff98, 0x113c1def0), line 12100 in "eeDDL.c"
sbSqlCmdExec(0x70000008385d618, 0x0, 0x0, 0xfffffffffffe670, 0x0, 0x0, 0x113c1def0), line 4052 in "cmdExec.c"
sb_sqlExec(0x113d27f68, 0x0, 0x0, 0xfffffffffffe840, 0x0), line 1470 in "sqlAPI.c"
cxlSqlExecute(0x113d273d0), line 3436 in "cxlsql.c"
stmtExecPart2(0x113d273d0), line 1372 in "vsexec.c"
stmtExecute(0x113d273d0), line 948 in "vsexec.c"
SQLExecDirect(0x113d273d0, 0xfffffffffffeb20, 0xfffffffdfffffffd), line 172 in "sqlexec.c"
Can please guide me.
Regards
S

I have tried but still I am not getting, can u check it out weather we have possibilites to work with DB links or shall i remove it.

Similar Messages

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error while inserting data into a table.

    Hi All,
      I created a table.While inserting data into the table i am getting an error.Its telling "Create data Processing Function Module".Can any one help me regarding this?
    Thanx in advance
    anirudh

    Hi Anirudh,
      Seems there is already an entry in the Table with the same Primary Key.
    INSERT Statement will give short dump if you try to insert data with same key.
    Why dont you use MODIFY statement to achieve the same.
    Reward points if this Helps.
    Manish

  • Error while inserting data in SQL Server.

    Hi',
    I am using SOA 11.1.1.5
    I am inserting data using DB adapter in MS SQL Server. Some times I get below error.
    Error Message: {http://schemas.oracle.com/bpel/extension}bindingFault
    Fault ID     rrr/xxx!1.1*soa_313bd437-7bb9-41c6-a719-d1775b9afc4b/xx/4115908-BpInv0-BpSeq1.6-4
    Fault Time     Dec 24, 2012 8:02:09 AM
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [InsertIntoStagingxx.Stagingxx]. Caused by java.sql.BatchUpdateException: String or binary data would be truncated.. Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-8152" 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. </summary></part><part name="detail"><detail>String or binary data would be truncated.</detail></part><part name="code"><code>8152</code></part></bindingFault></bpelFault>
    Please advice.
    Thanks
    Yatan

    Hi Yatan,
    This should be due to data issues. And the error message is due to data truncation issues.
    Please check your payload that you are trying to insert into the SQL server table.
    One or more fields might have a data that is exceeding its defined length with respect to the table definitions.
    Problem with using SQL server is that while inserting, you will not be pointed towards which field or column is causing the error.
    You have to take the pain of searching through the entire payload to find the problem causing ones.
    Thanks,
    Deepak.

  • Error while Inserting data into flow table

    Hi All,
    I am very new to ODI, I am facing lot of problem in my 1st interface. So I have many questions here, please forgive me if it has irritated to you.
    ========================
    I am developing a simple Project to load a data from an input source file (csv) file into a staging table.
    My plan is to achieve this in 3 interfaces:
    1. Interface-1 : Load the data from an input source (csv) file into a staging table (say Stg_1)
    2. Interface-2 : Read the data from the staging table (stg_1) apply the business rules to it and copy the processed records into another staging table (say stg_2)
    3. Interface-3 : Copy the data from staging table (stg_2) into the target table (say Target) in the target database.
    Question-1 : Is this approach correct?
    ========================
    I don't have any key columns in the staging table (stg_1). When I tried to execute the Flow Control of this I got an error:
    Flow Control not possible if no Key is declared in your Target Datastore
    With one of the response (the response was - "FLOW control requires a KEY in the target table") in this Forum I have introduced a column called "Record_ID" and made it a Primary Key column into my staging table (stg_1) and my problem has been resolved.
    Question-2 : Is a Key column compulsary in the target table? I am working in BO Data Integrator, there is no such compulsion ... I am little confused.
    ========================
    Next, I have defined one Project level sequence. I have mapped the newly introduced key column Record_Id (Primary Key) with the Project level sequence. Now I am got another error of "CKM not selected".
    For this, I have inserted "Insert Check (CKM)" knowledge module in my Project. With this the above problem of "CKM not selected" has been resolved.
    Question-3 : When is this CKM knowledge module required?
    ========================
    After this, the flow/interface is failing while loading data into the intermediar ODI created flow table (I$)
    1 - Loading - SS_0 - Drop work table
    2 - Loading - SS_0 - Create work table
    3 - Loading - SS_0 - Load data
    5 - Integration - FTE Actual data to Staging table - Drop flow table
    6 - Integration - FTE Actual data to Staging table - Create flow table I$
    7 - Integration - FTE Actual data to Staging table - Delete target table
    8 - Integration - FTE Actual data to Staging table - Insert flow into I$ table
    The Error is at Step-8 above. When opened the "Execution" tab for this step I found the message - "Missing parameter Project_1.FTE_Actual_Data_seq_NEXTVAL RECORD_ID".
    Question-4 : What/why is this error? Did I made any mistake while creating a sequence?

    Everyone is new and starts somewhere. And the community is there to help you.
    1.) What is the idea of moving data from stg_1 and then to stg_2 ? Do you really need it for any other purpose other than move data from SourceFile to Target DB.
    Otherwise, its simple to move data from SourceFile -> Target Table
    2.) Does your Target table have a Key ?
    3.) CKM (Check KM) is required when you want to do constraint validation (Checking) on your data. You can define constraints (business rules) on the target table and Flow Control will check the data that is flowing from Source File to Target table using the CKM. All the records that donot satisfy the constraint will be added to E$ (Error table) and will not be added to the Target table.
    4.) Try to avoid ODI sequences. They are slow and arent scalable. Try to use Database sequence wherever possible. And use the DB sequence is target mapping as
    <%=odiRef.getObjectName( "L" , "MY_DB_Sequence_Row" , "D" )%>.nextval
    where MY_DB_Sequence_Row is the oracle sequence in the target schema.
    HTH

  • Error while inserting data in datagrid

    Hi,
    I am trying to insert data into a datagrid getting results
    from a cfc using remoteobject. If I use everything inline then it
    works fine.
    I have a button when clicked give me the results. if I have
    something like this:
    <mx:Button label="get Query Remote Object"
    click="myTest.getSystem()"/>
    then it works fine.
    but if I use a namespace like
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:serv="services.*">
    <serv:services id="services" />
    and try to use
    <mx:Button label="get Query Remote Object"
    click="services.myTest.getSystem()"/>
    then i get an error saying
    Access of undefined property myTest in package services.
    I have the remoteobject call within services.mxml which is
    inside services folder. What do I need to change? It used to work
    fine in 1.5.
    Thanks

    Are you using the Cairngorm framework or why are you using a
    sevices.mxml??

  • Help with ORA 14400 error while inserting data

    Hi all,
    i am facing an ora 14400 error in the following scenario , please help.
    i have created a table using the syntax:
    CREATE TABLE temp_table
    GRPKEY NUMBER(20, 0) NOT NULL,
    UKEY NUMBER(10, 0),
    ANUM VARCHAR2(250 BYTE),
    APC VARCHAR2(2 BYTE),
    SID VARCHAR2(65 BYTE),
    RDATETIME VARCHAR2(19 BYTE),
    CKEY NUMBER(20, 0),
    AVER VARCHAR2(25 BYTE),
    CVER VARCHAR2(250 BYTE),
    TNAME VARCHAR2(50 BYTE),
    SCODE VARCHAR2(30 BYTE),
    PTYPE VARCHAR2(50 BYTE),
    FILENUMB NUMBER(10, 0),
    LINENUMB NUMBER(10, 0),
    ENTRY_CREATEDDATE DATE
    , CONSTRAINT temp_table_PK PRIMARY KEY (GRPKEY))
    PARTITION BY RANGE(ENTRY_CREATEDDATE)
    (PARTITION P0 VALUES LESS THAN(TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    when i try to insert data using :
    insert into temp_table values
    (1,null,null,null,null,null,null,null,null,null,null,null,null,null,'01-NOV-2010');
    i get the following error output:
    Error report:
    SQL Error: ORA-14400: inserted partition key does not map to any partition
    14400. 00000 - "inserted partition key does not map to any partition"
    *Cause:    An attempt was made to insert a record into, a Range or Composite
    Range object, with a concatenated partition key that is beyond
    the concatenated partition bound list of the last partition -OR-
    An attempt was made to insert a record into a List object with
    a partition key that did not match the literal values specified
    for any of the partitions.
    *Action:   Do not insert the key. Or, add a partition capable of accepting
    the key, Or add values matching the key to a partition specification

    Hi Chaitanya,
    Change your table script to
    CREATE TABLE temp_table
    GRPKEY NUMBER(20, 0) NOT NULL,
    UKEY NUMBER(10, 0),
    ANUM VARCHAR2(250 BYTE),
    APC VARCHAR2(2 BYTE),
    SID VARCHAR2(65 BYTE),
    RDATETIME VARCHAR2(19 BYTE),
    CKEY NUMBER(20, 0),
    AVER VARCHAR2(25 BYTE),
    CVER VARCHAR2(250 BYTE),
    TNAME VARCHAR2(50 BYTE),
    SCODE VARCHAR2(30 BYTE),
    PTYPE VARCHAR2(50 BYTE),
    FILENUMB NUMBER(10, 0),
    LINENUMB NUMBER(10, 0),
    ENTRY_CREATEDDATE DATE
    , CONSTRAINT temp_table_PK PRIMARY KEY (GRPKEY))
    PARTITION BY RANGE(ENTRY_CREATEDDATE)
    (PARTITION P0 VALUES LESS THAN(TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')),
    PARTITION P1 VALUES LESS THAN(MAXVALUE)
    insert into temp_table values
    (1,null,null,null,null,null,null,null,null,null,null,null,null,null,'01-NOV-2010');
    1 row insertedor refer question regarding "Date Partitioning a table"
    *009*
    Edited by: 009 on Nov 3, 2010 11:29 PM

  • Error while inserting data into BFILE datatype

    Dear Experts,
    I am trying to insert data into resume table, but it is throwing error:
    create table resume(resume blob);
    declare
    f_lob bfile;
    b_lob blob;
    begin
    insert into resume(resume) values(empty_blob())
    return documents into b_lob;
    f_lob := bfilename( 'RESUME_SAVE', 'Pawan-resume.doc' );
    dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
    dbms_lob.loadfromfile
    ( b_lob, f_lob, dbms_lob.getlength(f_lob) );
    dbms_lob.fileclose(f_lob);
    commit;
    end;
    return documents into b_lob;
    ERROR at line 8:
    ORA-06550: line 8, column 10:
    PL/SQL: ORA-00904: "DOCUMENTS": invalid identifier
    ORA-06550: line 7, column 2:
    PL/SQL: SQL Statement ignored
    Please help
    Regards
    Sunil Kumar

    Thank you very much Mihael................... It works
    But I think there is a mistake in oracle documentation, please check following link:
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl14cas.htm
    Thanks & Regards
    Sunil Kumar

  • Error While Inserting Data into table using OAF

    Hi Experts,
    I am learning OAF; i am trying into insert the data into table using OAF. I followed the below procedure.
    My table(OLF_TEST_TBL) Columns:
    EmpID (Number), Ename(VARCHAR2 100), Sal Number, and who columns.
    1. created Application Module (AM).
    package: oracle.apps.mfg.simplepg.server
    name: oaf_test_tbl_am
    2. created simple page
    name:EmployeePG
    package:oracle.apps.mfg.simplepg.webui
    3. Assigned the Application Module to Page
    4. Created Entity Object(EO)
    name:oaf_test_tbl_eo
    package:oracle.apps.mfg.simplepg.schema.server
    schema:apps
    table:OLF_TEST_TBL
    note:
    1. EMPID column is selected as primary key
    2. selected create method, remove method and validation method.
    3.checked generate default view object
    VO:
    name:olf_test_tbl_vo
    note: Entity Object was assigned to VO
    Coming To page:
    page main region:EmployeeMainRN
    1.under main region i created one more region using wizard
    selected AM and VO, region style-default single column
    2. under main region i created one more region
    region style- pagebuttonbar, ID:pagebutoonsRN
    3. under pagebuttonRN, created two submit buttons(ID:SUBMIT, ID:CANCEL).
    In AM java page:
    created a method to insert row and for commit.
    Insert Method:
    public void insertrow(){
    OAViewObject vo=(OAViewObject)getoaf_test_tbl_vo1();
    if(!vo.isPreparedForExecution()){
    vo.executeQuery();
    Row row=vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    Commit Method:
    public void savaDataTooaftesttable(){
    getDBTransaction().commit();
    In EmployeeMainRN, created a controller.
    In this controller process request method, 'insertrow' method was called.
    import oracle.apps.fnd.framework.OAApplicationModule;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("insertrow");
    To commit the transaction when SUBMIT button pressed, commit method was called in process form request method.
    import oracle.apps.fnd.framework.OAViewObject;
    public void processformRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("SUBMIT") != null)
    am.invokemethod("savaDataTooaftesttable");
    Error After clicking the submit button_
    I ran the page, page was opened successfully. Once i enter data and click submit button, it's giving the following error.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object oaf_test_tbl_am.oaf_test_tbl_vo1700_oaf_test_tbl_vo1_practice_test_prc1_oracle_apps_mfg_simplepg_server_oaf_test_tbl_am.oaf_test_tbl_vo1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Experts, Kindly help me why i am getting this error.
    Awating your replies.
    Thanks in advance.

    If you dont want to create message. You can throw exception like below as well
              throw new OAException("Emp Id is "+empId+" and employee name is "+empName, OAException.CONFIRMATION);Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while inserting data in Forms10G using TEXT_IO

    Dear all i am using 10g Forms.
    I am using Text_io to read the text file and putting into table and again reading the tables and putting into another text file .
    I was testing in 3 tables which is the same copy of the original table but only the name is different .
    But after testing when i change the table name to Original table name , it is not inserting for 1 table .
    What could be the reason ?
    I already check the columns and all , everything is current .
    Edited by: Sandy on Sep 14, 2010 5:39 PM

    Please use tags when posting your code over here and format it proper so others can read it more easily.
    e.g.
    [code]
    procedure my_proc is
      num_data number;
    begin
      select 1
      into num_data
      from dual;
      if num_data = 2 then
    end;
    [/code]
    Are you sure you are getting here:
    [code]
    INSERT INTO MU_PAY_OLB(RECORD_TYPE,LOAD_NO,TRAN_AMT,OLB_CODE,ACCT_NO,BEN_NAME,PAY_DTL,MACCS_IND)
    VALUES(lval,l_val,DTL_AMT,lbank,DTL_BEN_AC_NO,DTL_BEN_NM,Null,'N');
    [/code]
    Also: only trap the exceptions you expect, and not ALL exceptions e.g.
    [code]
    begin
      INSERT INTO MU_PAY_OLB(RECORD_TYPE,LOAD_NO,TRAN_AMT,OLB_CODE,ACCT_NO,BEN_NAME,PAY_DTL,MACCS_IND)
      VALUES(lval,l_val,DTL_AMT,lbank,DTL_BEN_AC_NO,DTL_BEN_NM,Null,'N');
    exception
      when dup_val_on_index then
        --do whatever you need to do in that case
    end;
    [/code]
    Maybe your tablespace is full and thus your insert statement fails? You need to inform the user so he/she can inform the DBA.
    and at last this one:
    [code]
    WHEN Others THEN
      Text_IO.Fclose(in_file);
    END;
    [/code]
    You are hiding all possible exceptions; it might be a numeric or value error as the line you are reading is longer then your line buffer, or $add_any_possible_exception_here. You only close the file and behave like nothing ever happened. If you need to close your text file in any case it should look like this:
    [code]
    exception
      when others then
        if text_io.is_open(in_file) then
          text_io.fclose(in_file);
        end if;
        raise;
    end;
    [/code]
    By that you are closing the file if necessary (the exception might occur after you closed the file and closing it again will cause another exception), and reraise your exception so it can be processed by the higher element in the call stack; maybe your calling procedure expects some exceptions in your procedure too and handles them respectively. If no one in the call stack expects the exception and traps it, it finds it's way to the end user (who is you in that case). If it throws an exception take a look where it happens and take actions.
    So remove your when others exceptions and look if some other exceptions occur. By now there might occur an exceptions but as you are hiding them all we and you have no clue about if, when, why and where it happens. Remove / replace the exception handlers as shown and you should get a clue about if, when, why and where.
    cheers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while inserting date

    Feed :
    <RESULT>
    <EVENT_ID>3710</EVENT_ID>
    <UPDATE_TIME>Oct 28 2000 11:30PM</UPDATE_TIME>
    <SPORT_ID SPORT_NAME_LONG="Basketball" SPORT_NAME_MEDIUM="Basketball" SPORT_NAME_SHORT="NBL">4</SPORT_ID>
    <COMPETITION_ID COMPETITION_NAME_LONG="Basketball NBL" COMPETITION_NAME_MEDIUM="NBL" COMPETITION_NAME_SHORT="NBL">14</COMPETITION_ID>
    <GAME_DATE>2000-10-28</GAME_DATE>
    <VENUE>Clipsal Powerhouse</VENUE>
    <ROUND>Round 2</ROUND>
    <ROUND_ORDER>2</ROUND_ORDER>
    <PERIOD>Full Time</PERIOD>
    <HOME_TEAM_ID TEAM_NAME_SHORT="Adelaide" TEAM_NAME_MEDIUM="Adelaide 36ers" TEAM_NAME_LONG="Adelaide 36ers">19</HOME_TEAM_ID>
    <HOME_TEAM_SCORE>92</HOME_TEAM_SCORE>
    <AWAY_TEAM_ID TEAM_NAME_SHORT="Sydney" TEAM_NAME_MEDIUM="Sydney Kings" TEAM_NAME_LONG="Sydney Kings">25</AWAY_TEAM_ID>
    <AWAY_TEAM_SCORE>81</AWAY_TEAM_SCORE>
    <FINISHED>Finished</FINISHED>
    </RESULT>
    Error :
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Exception 'java.text.ParseException:Unparseable date: "Oct 28 2000 11:30PM"' encountered during processing ROW element 0All prior XML row changes were rolled back. in the XML document.
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1962)
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1880)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1013)
    at a.main(a.java:19)
    I have update_time and game_day as date in the table. If I make this column as varchar2 then it works fine.
    How can I solve this error.
    null

    The date format must conform to Java's SimpleDateFormat. Please check http://java.sun.com/products//jdk/1.1/docs/api/java.text.SimpleDateFormat.html for details

  • Error while inserting data using DBMS_RANDOM

    Hi ,
    I tried the following insert command in the link http://www.oracle-base.com/articles/misc/RollupCubeGroupingFunctionsAndGroupingSets.php
    BANNER
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> INSERT INTO dimension_tab
      2  SELECT TRUNC(DBMS_RANDOM.value(low => 1, high => 3)) AS fact_1_id,
      3         TRUNC(DBMS_RANDOM.value(low => 1, high => 6)) AS fact_2_id,
      4         TRUNC(DBMS_RANDOM.value(low => 1, high => 11)) AS fact_3_id,
      5         TRUNC(DBMS_RANDOM.value(low => 1, high => 11)) AS fact_4_id,
      6         ROUND(DBMS_RANDOM.value(low => 1, high => 100), 2) AS sales_value
      7  FROM   dual
      8  CONNECT BY level <= 1000;
    SELECT TRUNC(DBMS_RANDOM.value(low => 1, high => 3)) AS fact_1_id,
    ERROR at line 2:
    ORA-00907: missing right parenthesisCould you please advice me to get the correct records

    smile wrote:
    Hi ,
    I tried the following insert command in the link http://www.oracle-base.com/articles/misc/RollupCubeGroupingFunctionsAndGroupingSets.php
    BANNER
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> INSERT INTO dimension_tab
    2  SELECT TRUNC(DBMS_RANDOM.value(low => 1, high => 3)) AS fact_1_id,
    3         TRUNC(DBMS_RANDOM.value(low => 1, high => 6)) AS fact_2_id,
    4         TRUNC(DBMS_RANDOM.value(low => 1, high => 11)) AS fact_3_id,
    5         TRUNC(DBMS_RANDOM.value(low => 1, high => 11)) AS fact_4_id,
    6         ROUND(DBMS_RANDOM.value(low => 1, high => 100), 2) AS sales_value
    7  FROM   dual
    8  CONNECT BY level <= 1000;
    SELECT TRUNC(DBMS_RANDOM.value(low => 1, high => 3)) AS fact_1_id,
    ERROR at line 2:
    ORA-00907: missing right parenthesisCould you please advice me to get the correct recordsYou can't used named parameters for function/procedure calls in SQL until version 11.
    You'll have to remove the
    low => And stick with the good old "positional" way of doing things.

  • Error while inserting data

    Hi,
    I am trying to eliminate the usage of Object id classes in my application.
    Instead I am trying to use the sequence number generated in the
    JDO_SEQUENCE table. But I am facing a problem. This is the error message i
    got. I am attaching the .jdo file also. Is there something I have to set
    in the .jdo file to assign the seq number to the pri.key column?
    Please help me solve this issue.
    regards,
    Madhu
    Error Message:
    ================
    Attempt to set column "USER_PREFERENCE.ID" to two different values: (
    java.lang.Long)"350", (java.lang.Long)"351" This can occur when you fail
    to set both sides of a two-sided relation between objects, or when you map
    different fields to the same column, but you do not keep the values of
    these fields in synch.
    kodo.util.FatalUserException: Attempt to set column "USER_PREFERENCE.ID"
    to two different values: (java.lang.Long)"350", (java.lang.Long)"351" This
    can occur when you fail to set both sides of a two-sided relation between
    objects, or when you map different fields to the same column, but you do
    not keep the values of these fields in synch.
    Package.jdo
    ============
    <class name="UserPreference">
    <extension vendor-name="kodo" key="jdbc-class-map"
    value="base">
    <extension vendor-name="kodo" key="table"
    value="ADB.USER_PREFERENCE"/>
    <extension vendor-name="kodo" key="pk-column" value="ID"/>
    </extension>
         <extension vendor-name="kodo" key="jdbc-sequence-factory" value="db"
    />
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column" value="ID"/>
    </extension>
    </field>
    ... rest of the fields ...
         </class>

    Madhu-
    I'm a bit confused: you declare the field named "id" to have the
    "primary-key" attribute, but that attribute is only valid when you are
    using application identity (and you are using datastore identity). If
    you want to have access to the primary key field in your class, you
    should use application identity. You can read more about it at:
    http://docs.solarmetric.com/manual.html#jdo_overview_pc_identity
    Once you have fixed that (either by implementing an application identity
    class for the persistent class, or by removing the primary key field
    from your class), let us know if you still have the problem.
    In article <[email protected]>, Madhu wrote:
    Hi,
    I am trying to eliminate the usage of Object id classes in my application.
    Instead I am trying to use the sequence number generated in the
    JDO_SEQUENCE table. But I am facing a problem. This is the error message i
    got. I am attaching the .jdo file also. Is there something I have to set
    in the .jdo file to assign the seq number to the pri.key column?
    Please help me solve this issue.
    regards,
    Madhu
    Error Message:
    ================
    Attempt to set column "USER_PREFERENCE.ID" to two different values: (
    java.lang.Long)"350", (java.lang.Long)"351" This can occur when you fail
    to set both sides of a two-sided relation between objects, or when you map
    different fields to the same column, but you do not keep the values of
    these fields in synch.
    kodo.util.FatalUserException: Attempt to set column "USER_PREFERENCE.ID"
    to two different values: (java.lang.Long)"350", (java.lang.Long)"351" This
    can occur when you fail to set both sides of a two-sided relation between
    objects, or when you map different fields to the same column, but you do
    not keep the values of these fields in synch.
    Package.jdo
    ============
    <class name="UserPreference">
    <extension vendor-name="kodo" key="jdbc-class-map"
    value="base">
    <extension vendor-name="kodo" key="table"
    value="ADB.USER_PREFERENCE"/>
    <extension vendor-name="kodo" key="pk-column" value="ID"/>
    </extension>
         <extension vendor-name="kodo" key="jdbc-sequence-factory" value="db"
    />
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column" value="ID"/>
    </extension>
    </field>
    ... rest of the fields ...
         </class>
    Marc Prud'hommeaux
    SolarMetric Inc.

  • ORA-00600: internal error code while inserting data in table

    hi gems..
    i am getting the below error while inserting data in a table...
    *ORA-00600: internal error code, arguments: [kqd-objerror$ ] , , [0], [98], [BIN$sm1O+fYhF1jgRAAhKNYyZA==$0], [], [], [], [], [], [], []*
    i can select the table absolutely but cant insert datas(but this is the schema owner and so datas should get inserted)
    i have checked the alert.log...the entries in last few lines are like this:
    <msg time='2011-11-25T03:08:55.763+05:30' org_id='oracle' comp_id='clients'
    type='UNKNOWN' level='16' host_id='ICS167DOR'
    host_addr='10.184.134.139'>
    <txt>Directory does not exist for read/write [oracle/ora11g/app/ora11g/product/11.2.0/dbhome_1/log] [oracle/ora11g/app/ora11g/product/11.2.0/dbhome_1/log/diag/clients]
    </txt>
    </msg>
    please help...thanks in advance
    Edited by: user12780416 on Nov 25, 2011 3:29 AM

    hi...
    finally i got the solution...i know that this problem may occur due to some other reasons also for different users...but the problem which caused the developers facing the error in this case is below:
    they faced the error while importing the dumps in the server. at the same time the application developers told that they can select the tables but cannot insert any datas.
    after listenning to this, i assumed that this may be a space problem with the system tablespace as it is responsible for storing the data dictionary.
    i asked for the free spaces for the system tablespace and got the reason. It has only 0.2% left.
    i told them to issue the resize command for the system01.dbf datafile(allocated 2GB more) and the problem got resolved.
    Hope this helps..thanks

  • Access issues while inserting data in a table in same schema

    Hi All.
    I have a script that at first creates and then populates a table. My script used to run fine in production environment till few hours back. But all of a sudden, it is popping up error while inserting data into the table .
    Error message - "Insufficient Previlages".
    Please suggest me what may be the reasons for this kind of error.
    Thanks in advance

    Sonika wrote:
    Hi All.
    I have a script that at first creates and then populates a table. My script used to run fine in production environment till few hours back. But all of a sudden, it is popping up error while inserting data into the table .
    Error message - "Insufficient Previlages".
    Please suggest me what may be the reasons for this kind of error.
    1) something changed
    2) you are hitting a bug

Maybe you are looking for

  • File 2 IDOC scenario

    Hi friends, I got an error which shows as follows in sxmb_moni. SAPHTML_E_CALL_METHOD_FAILED: 桓睯慄慴("HTML000018") I don't understand what does it mean? Can you please help me in this regard? Thanks, Srinivas.

  • NWDS for PI 7.4 Dual stack

    Dear All I am on SAP PI 7.4 dual stack which NWDS version should i use because i tried with both NWDS 7.3 and NWDS 7.31 also NWDS 7.3 its not connecting at all it says improper configuration NWDS 7.31 connected to ESR and but ID it says only for sing

  • Obc4 field status group

    Hi Consultant, In obc4, i can see group like general data, additional account assignments, payment transactions, etc in group G005. Or group G001 got general data also. May I know say general data group, which tcode I can see general data group? the

  • There are no more arrows on the tab bar so if you have many tabs open you cannot navigate through them anymore what happened to that?

    I always have 30+ tabs open. Used to be there were arrows on either side of the tab bar and you could navigate to the start or the end of your tabs. Now those arrows are missing and if you have a lot of tabs open you cannot navigate, you must close a

  • Transfer Hard Drive from 20" iMac to 27" iMac - Good or bad idea?

    I've just bought my wife a new 27" iMac to replace her 20" iMac. To keep things simple I'd rather just take out the drive in the 20 and put it in the 27. Anyone try this and is there any reason why it wouldn't work since the OS is "universal" for the