Getting error while creating rows in database

Hi ,
I am new to java and currently working on EJBs .
The tables i have are ABC and XYZ and their columns are
ABC - fk1,fk2 // these make the composite primary key
XYZ- fk1 // which is primary key for this table
I am trying to create multiple rows in ABC table which has a CMR field for the XYZ .
if i try to create single row there is no error and if i remove the CMR field then also there is no error
i am getting the following error
pe8.1|javax.enterprise.system.container.ejb.entity.lifecycle|_ThreadID=16;|JDO74008: Bean 'MonitoredJobRequestTypeBean' method ejbCreate: problems during ejbCreate; parameters: RTO_TESTING_SURESG, 16666
com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: JDO76207: Update of a primary key field is not allowed.
     at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.assertPKUpdate(SQLStateManager.java:4069)
     at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.nullifyForeignKey(SQLStateManager.java:
please help me
bye ,
Suresh

How can you create multiple rows by calling one entity bean..Each bean is supposed to be reflection of a row of a table rite,....
please write down your code so that it is easy to understrand your problem
regards
shanu

Similar Messages

  • Getting errors while creating a Standby database

    Hi,
    I have Oracle 9.0.2 installed on windows xp machine , the sid of the database is oradata. Now i am trying to create a standby database on same machine and the sid of the database is oratest. i have followed the required steps.
    a. Firstly i have configured the required parameters in the init.ora parameters of standby database
    b. Secondly , i created the standby control file on primary database.
    c. while mounting the standby database i am getting the following error.
    Database name "ORADATA" its should be "ORATEST"
    Could you please help me in resolving this issue? and also if possible. please jot down the procedure for creating the standby database.
    Thanks
    Vj0011590

    Hi,
    I have Oracle 9.0.2 installed on windows xp machine ,
    the sid of the database is oradata. Now i am trying
    to create a standby database on same machine and the
    sid of the database is oratest. i have followed the
    required steps.
    a. Firstly i have configured the required parameters
    in the init.ora parameters of standby database
    b. Secondly , i created the standby control file on
    primary database.
    c. while mounting the standby database i am getting
    the following error.
    Database name "ORADATA" its should be "ORATEST"I didn't see you copy the cold backup db from primary to standby.
    and the error is coming from init.ora in your standby db. check it again.

  • Jbo 25017 error while create row

    Hi ,
    jbo 25017 error while creating row
    Getting The above error message which updating Master Detail Page
    Krishna

    Hi Ajay ,
    Posting the EOImpl File
    Method specified in bold is greturning line number as 0..Please check
    public class AplShipmentsEOImpl extends OAEntityImpl {
    /**Gets the attribute value for OtherShipReason, using the alias name OtherShipReason
    public String getOtherShipReason() {
    return (String)getAttributeInternal(OTHERSHIPREASON);
    /**Sets <code>value</code> as the attribute value for OtherShipReason
    public void setOtherShipReason(String value) {
    setAttributeInternal(OTHERSHIPREASON, value);
    /**Gets the attribute value for ForeignShipment, using the alias name ForeignShipment
    public String getForeignShipment() {
    return (String)getAttributeInternal(FOREIGNSHIPMENT);
    /**Sets <code>value</code> as the attribute value for ForeignShipment
    public void setForeignShipment(String value) {
    setAttributeInternal(FOREIGNSHIPMENT, value);
    /**Gets the attribute value for ZoneName, using the alias name ZoneName
    public String getZoneName() {
    return (String)getAttributeInternal(ZONENAME);
    /**Sets <code>value</code> as the attribute value for ZoneName
    public void setZoneName(String value) {
    setAttributeInternal(ZONENAME, value);
    /**Gets the attribute value for PrimeContractNumber, using the alias name PrimeContractNumber
    public String getPrimeContractNumber() {
    return (String)getAttributeInternal(PRIMECONTRACTNUMBER);
    /**Sets <code>value</code> as the attribute value for PrimeContractNumber
    public void setPrimeContractNumber(String value) {
    setAttributeInternal(PRIMECONTRACTNUMBER, value);
    /**getAttrInvokeAccessor: generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index,
    AttributeDefImpl attrDef) throws Exception {
    switch (index) {
    case SHIPMENTID:
    return getShipmentId();
    case LASTUPDATEDATE:
    return getLastUpdateDate();
    case LASTUPDATEDBY:
    return getLastUpdatedBy();
    case CREATIONDATE:
    return getCreationDate();
    case CREATEDBY:
    return getCreatedBy();
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    case APPROVALSTATUS:
    return getApprovalStatus();
    case PROJECTID:
    return getProjectId();
    case TASKID:
    return getTaskId();
    case EXPORGID:
    return getExpOrgId();
    case EXPTYPEID:
    return getExpTypeId();
    case APPROVERID:
    return getApproverId();
    case APPROVEDDATE:
    return getApprovedDate();
    case REJECTIONCOMMENTS:
    return getRejectionComments();
    case EXPCTRLAPPRVID:
    return getExpCtrlApprvId();
    case EXPCTRLAPPRVDATE:
    return getExpCtrlApprvDate();
    case EXPREJECTCOMMENTS:
    return getExpRejectComments();
    case SHIPMENTREASON:
    return getShipmentReason();
    case CLASSIFICATION:
    return getClassification();
    case HAZARDMATLIND:
    return getHazardMatlInd();
    case DCN:
    return getDcn();
    case SHIPTOADDRID:
    return getShipToAddrId();
    case SHIPTOATTN:
    return getShipToAttn();
    case SHIPTOATTNPHONE:
    return getShipToAttnPhone();
    case PUBLICDOMAININD:
    return getPublicDomainInd();
    case ENDUSERADDRID:
    return getEndUserAddrId();
    case PARTYSCREENFLAG:
    return getPartyScreenFlag();
    case PROGNAME:
    return getProgName();
    case PROGMGRID:
    return getProgMgrId();
    case EXPORTPURPDESC:
    return getExportPurpDesc();
    case EXPORTAUTHCODE:
    return getExportAuthCode();
    case DESTCTRLSTMT:
    return getDestCtrlStmt();
    case RMANBR:
    return getRmaNbr();
    case PRIMECONTRACTNBR:
    return getPrimeContractNbr();
    case DESTINATIONDATE:
    return getDestinationDate();
    case SHIPMENTWEIGHT:
    return getShipmentWeight();
    case EXPECTEDRETURNDATE:
    return getExpectedReturnDate();
    case RETURNPAPERWORKIND:
    return getReturnPaperworkInd();
    case PICKUPBUILDING:
    return getPickupBuilding();
    case ROOMNUMBER:
    return getRoomNumber();
    case PICKUPAVAILABILITYTIME:
    return getPickupAvailabilityTime();
    case PRIMARYPOCID:
    return getPrimaryPocId();
    case SPECIALINSTRUCTIONS:
    return getSpecialInstructions();
    case RECEIPTBACKOUTIND:
    return getReceiptBackoutInd();
    case SHIPMENTCOST:
    return getShipmentCost();
    case SHIPCLERKID:
    return getShipClerkId();
    case PACKINGCLERKID:
    return getPackingClerkId();
    case DATESHIPPED:
    return getDateShipped();
    case UNNUMBER:
    return getUnNumber();
    case SHIPDESCRIPTION:
    return getShipDescription();
    case PACKCLERKNOTES:
    return getPackClerkNotes();
    case GOVTBOL:
    return getGovtBol();
    case TOTALNOOFPIECES:
    return getTotalNoOfPieces();
    case IATAHAZARDCODE:
    return getIataHazardCode();
    case SHIPCARRIER:
    return getShipCarrier();
    case PROPVARIFICATIONBY:
    return getPropVarificationBy();
    case SHIPCARRIERSRVLVL:
    return getShipCarrierSrvLvl();
    case OTHERSHIPREASON:
    return getOtherShipReason();
    case FOREIGNSHIPMENT:
    return getForeignShipment();
    case ZONENAME:
    return getZoneName();
    case PRIMECONTRACTNUMBER:
    return getPrimeContractNumber();
    case MAXLINENUM:
    return getMaxLineNum();
    case APLAPPROVERSEO1:
    return getAplApproversEO1();
    case APLSHIPDETAILSEO:
    return getAplShipDetailsEO();
    case APLAPPROVERSEO:
    return getAplApproversEO();
    case APLSHIPLINESEO:
    return getAplShipLinesEO();
    case HRALLORGANIZATIONUNITSEO:
    return getHrAllOrganizationUnitsEO();
    case APLPOCEO:
    return getAplPocEO();
    case POPROJECTSEO:
    return getPoProjectsEO();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    /**setAttrInvokeAccessor: generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value,
    AttributeDefImpl attrDef) throws Exception {
    switch (index) {
    case SHIPMENTID:
    setShipmentId((Number)value);
    return;
    case LASTUPDATEDATE:
    setLastUpdateDate((Date)value);
    return;
    case LASTUPDATEDBY:
    setLastUpdatedBy((Number)value);
    return;
    case CREATIONDATE:
    setCreationDate((Date)value);
    return;
    case CREATEDBY:
    setCreatedBy((Number)value);
    return;
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    case APPROVALSTATUS:
    setApprovalStatus((String)value);
    return;
    case PROJECTID:
    setProjectId((Number)value);
    return;
    case TASKID:
    setTaskId((Number)value);
    return;
    case EXPORGID:
    setExpOrgId((Number)value);
    return;
    case EXPTYPEID:
    setExpTypeId((Number)value);
    return;
    case APPROVERID:
    setApproverId((Number)value);
    return;
    case APPROVEDDATE:
    setApprovedDate((Date)value);
    return;
    case REJECTIONCOMMENTS:
    setRejectionComments((String)value);
    return;
    case EXPCTRLAPPRVID:
    setExpCtrlApprvId((Number)value);
    return;
    case EXPCTRLAPPRVDATE:
    setExpCtrlApprvDate((Date)value);
    return;
    case EXPREJECTCOMMENTS:
    setExpRejectComments((String)value);
    return;
    case SHIPMENTREASON:
    setShipmentReason((String)value);
    return;
    case CLASSIFICATION:
    setClassification((String)value);
    return;
    case HAZARDMATLIND:
    setHazardMatlInd((String)value);
    return;
    case DCN:
    setDcn((String)value);
    return;
    case SHIPTOADDRID:
    setShipToAddrId((Number)value);
    return;
    case SHIPTOATTN:
    setShipToAttn((String)value);
    return;
    case SHIPTOATTNPHONE:
    setShipToAttnPhone((String)value);
    return;
    case PUBLICDOMAININD:
    setPublicDomainInd((String)value);
    return;
    case ENDUSERADDRID:
    setEndUserAddrId((Number)value);
    return;
    case PARTYSCREENFLAG:
    setPartyScreenFlag((String)value);
    return;
    case PROGNAME:
    setProgName((String)value);
    return;
    case PROGMGRID:
    setProgMgrId((Number)value);
    return;
    case EXPORTPURPDESC:
    setExportPurpDesc((String)value);
    return;
    case EXPORTAUTHCODE:
    setExportAuthCode((String)value);
    return;
    case DESTCTRLSTMT:
    setDestCtrlStmt((String)value);
    return;
    case RMANBR:
    setRmaNbr((String)value);
    return;
    case PRIMECONTRACTNBR:
    setPrimeContractNbr((String)value);
    return;
    case DESTINATIONDATE:
    setDestinationDate((Date)value);
    return;
    case SHIPMENTWEIGHT:
    setShipmentWeight((Number)value);
    return;
    case EXPECTEDRETURNDATE:
    setExpectedReturnDate((Date)value);
    return;
    case RETURNPAPERWORKIND:
    setReturnPaperworkInd((String)value);
    return;
    case PICKUPBUILDING:
    setPickupBuilding((String)value);
    return;
    case ROOMNUMBER:
    setRoomNumber((String)value);
    return;
    case PICKUPAVAILABILITYTIME:
    setPickupAvailabilityTime((Date)value);
    return;
    case PRIMARYPOCID:
    setPrimaryPocId((Number)value);
    return;
    case SPECIALINSTRUCTIONS:
    setSpecialInstructions((String)value);
    return;
    case RECEIPTBACKOUTIND:
    setReceiptBackoutInd((String)value);
    return;
    case SHIPMENTCOST:
    setShipmentCost((Number)value);
    return;
    case SHIPCLERKID:
    setShipClerkId((Number)value);
    return;
    case PACKINGCLERKID:
    setPackingClerkId((Number)value);
    return;
    case DATESHIPPED:
    setDateShipped((Date)value);
    return;
    case UNNUMBER:
    setUnNumber((String)value);
    return;
    case SHIPDESCRIPTION:
    setShipDescription((String)value);
    return;
    case PACKCLERKNOTES:
    setPackClerkNotes((String)value);
    return;
    case GOVTBOL:
    setGovtBol((String)value);
    return;
    case TOTALNOOFPIECES:
    setTotalNoOfPieces((Number)value);
    return;
    case IATAHAZARDCODE:
    setIataHazardCode((String)value);
    return;
    case SHIPCARRIER:
    setShipCarrier((String)value);
    return;
    case PROPVARIFICATIONBY:
    setPropVarificationBy((Number)value);
    return;
    case SHIPCARRIERSRVLVL:
    setShipCarrierSrvLvl((String)value);
    return;
    case OTHERSHIPREASON:
    setOtherShipReason((String)value);
    return;
    case FOREIGNSHIPMENT:
    setForeignShipment((String)value);
    return;
    case ZONENAME:
    setZoneName((String)value);
    return;
    case PRIMECONTRACTNUMBER:
    setPrimeContractNumber((String)value);
    return;
    case MAXLINENUM:
    setMaxLineNum((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    /**Gets the associated entity PoProjectsEOImpl
    public PoProjectsEOImpl getPoProjectsEO() {
    return (PoProjectsEOImpl)getAttributeInternal(POPROJECTSEO);
    /**Sets <code>value</code> as the associated entity PoProjectsEOImpl
    public void setPoProjectsEO(PoProjectsEOImpl value) {
    setAttributeInternal(POPROJECTSEO, value);
    /**Gets the associated entity AplApproversEOImpl
    public AplApproversEOImpl getAplApproversEO() {
    return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO);
    /**Sets <code>value</code> as the associated entity AplApproversEOImpl
    public void setAplApproversEO(AplApproversEOImpl value) {
    setAttributeInternal(APLAPPROVERSEO, value);
    /**Gets the associated entity HrAllOrganizationUnitsEOImpl
    public HrAllOrganizationUnitsEOImpl getHrAllOrganizationUnitsEO() {
    return (HrAllOrganizationUnitsEOImpl)getAttributeInternal(HRALLORGANIZATIONUNITSEO);
    /**Sets <code>value</code> as the associated entity HrAllOrganizationUnitsEOImpl
    public void setHrAllOrganizationUnitsEO(HrAllOrganizationUnitsEOImpl value) {
    setAttributeInternal(HRALLORGANIZATIONUNITSEO, value);
    /**Gets the associated entity AplPocEOImpl
    public AplPocEOImpl getAplPocEO() {
    return (AplPocEOImpl)getAttributeInternal(APLPOCEO);
    /**Sets <code>value</code> as the associated entity AplPocEOImpl
    public void setAplPocEO(AplPocEOImpl value) {
    setAttributeInternal(APLPOCEO, value);
    /**Gets the associated entity AplApproversEOImpl
    public AplApproversEOImpl getAplApproversEO1() {
    return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO1);
    /**Sets <code>value</code> as the associated entity AplApproversEOImpl
    public void setAplApproversEO1(AplApproversEOImpl value) {
    setAttributeInternal(APLAPPROVERSEO1, value);
    /**Gets the associated entity oracle.jbo.RowIterator
    public RowIterator getAplShipDetailsEO() {
    return (RowIterator)getAttributeInternal(APLSHIPDETAILSEO);
    /**Gets the associated entity oracle.jbo.RowIterator
    public RowIterator getAplShipLinesEO() {
    return (RowIterator)getAttributeInternal(APLSHIPLINESEO);
    public static ShipmentEntityExpert getShipmentEntityExpert (OADBTransaction txn)
    return (ShipmentEntityExpert)txn.getExpert(AplShipmentsEOImpl.getDefinitionObject());
    } // end getShipmentEntityExpert()
    /**Gets the attribute value for MaxLineNum, using the alias name MaxLineNum
    public Number getMaxLineNum()
    OADBTransaction transaction = (OADBTransaction)getOADBTransaction();
    *// mMaxLineNum is in its initial state, so we need to check and*
    *// see if we have lines in both the entity cache and in the*
    *// database to find the current maximum.*
    System.out.println("Inside max line");
    *//Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);*
    System.out.println("Inside max line with line "+mMaxLineNum);
    if (mMaxLineNum == null || mMaxLineNum.equals(new Number(-1)))
    System.out.println("line number is null or negative");
    Number tempNum = new Number(0);
    com.sun.java.util.collections.Iterator fastCacheIterator =
    AplShipLinesEOImpl.getDefinitionObject().getAllEntityInstancesIterator(getDBTransaction());
    System.out.println("line EO "+tempNum);
    while (fastCacheIterator.hasNext())
    System.out.println("inside while loop");
    AplShipLinesEOImpl cachedLine = (AplShipLinesEOImpl)fastCacheIterator.next();
    Number currentShipmentId = getShipmentId();
    Number cachedShipmentId = cachedLine.getShipmentId();
    System.out.println("shipment id is "+currentShipmentId+ "cached id "+cachedShipmentId);
    *// If we find a match for this line, check the shipment number. Remember*
    *// that the cache includes shipments for many lines.*
    if ((cachedShipmentId != null) && (cachedShipmentId.compareTo(currentShipmentId) == 0 ))
    System.out.println("cached is not null inside if ");
    tempNum = cachedLine.getLineNbr();
    System.out.println("gettin line number temp num "+tempNum);
    *// resetLineNum( ) will test the value to see if it's the current max,*
    *// and if it is, set it on our private EO transient attribute.*
    if (tempNum != null)
    System.out.println("reset temp num");
    resetLineNum(tempNum);
    System.out.println("checking Entiry State "+getEntityState());
    *// Now check the database if the header EO isn't new (if it is, we haven't*
    *// saved it so we can't have a line in the database)*
    if (getEntityState() != STATUS_NEW)
    System.out.println("inside entity state");
    ShipmentEntityExpert poExpert = getShipmentEntityExpert(transaction);
    System.out.println("taken Entiry Expert Class");
    AplMaxPoLineVVOImpl maxLineVO =
    *(AplMaxPoLineVVOImpl)poExpert.findValidationViewObject("AplMaxPoLineVVO1");*
    System.out.println("getting Line instance");
    maxLineVO.initQuery(getShipmentId());
    System.out.println("line query initialised");
    if (maxLineVO != null)
    System.out.println("line VO is not null");
    tempNum = (Number)maxLineVO.first().getAttribute(0);
    System.out.println("line tempNum"+tempNum);
    if (tempNum != null)
    System.out.println("line tempNum1"+tempNum);
    resetLineNum(tempNum);
    System.out.println("returing max line num");
    return mMaxLineNum;//(Number)getAttributeInternal(MAXLINENUM);
    *} // end getMaxLineNum()*
    * Increments the maximum lineNum.
    * <p>
    * @return current maximum lineNum + 1
    public Number getNextLineNum()
    System.out.println("In header New Line");
    Number currentMaxLineNum = getMaxLineNum();
    System.out.println("current max line num is "+currentMaxLineNum);
    resetLineNum(currentMaxLineNum.add(new Number(1)));
    System.out.println("returning max number");
    return getMaxLineNum();
    } // end getNextLineNum()
    * Resets the maximum line number whenever newLineNum > mMaxLineNum.
    * <p>
    * @param newLineNum the value to be compared against the current
    * mMaxLineNum for this purchase order.
    public void resetLineNum(Number newLineNum)
    // Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);
    System.out.println("inside reset LIne wiht "+newLineNum);
    if (newLineNum.compareTo(mMaxLineNum) == 1)
    System.out.println("setting to new "+newLineNum);
    setMaxLineNum(newLineNum);
    } // end resetLineNum()
    private void setMaxLineNum(Number lineNum)
    setAttributeInternal(MAXLINENUM, lineNum);
    } // end setMaxLineNum()
    krishna

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • Getting Error while creating Genric Datasource

    Hi,
    I was try to create genric extracter where i was getting error
    While creating view genric extracter where i am getting error "Entry A ZV_ZFRT  does not exist in DD02L - check your entry".
    My requirement is need to create extracter which is getting populated from three modules like SD,MM,FI/CO.From these three module i am using several tables and some of the tables don't have relation btween these tables as like foreign key and refrence key.
    Which extracter i need to create as given scenario?
    Does view will fullfill with my requirement or any other extracter.
    Please some one can help me in this scenario.
    Answer would be great appreciate.

    Hi,
    Rather than writing a program write a function module. Create a structure and include all the necessary fields in the structure. Then in the function module write the logic to extract the values for those fields. While creating the datasource specify the function module and structure name.
    Refer this link:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Hope this helps.
    PB

  • Getting error while creating the Shopping cart.

    Hi ,
    I am getting error while creating the Shopping cart.
    a.Error in account assignment for item 1  (Item  Testing SC ) 
    b.Duplicates of Cost Centre T10063 are defined in SRM  (Item  Testing SC ) 
    Kindly provide the solutions.
    Thanks,
    Dev

    Try the following in the ERP backend system:
    Standard Hierarchy Inconsistencies
    Issue: one Cost Center is repeating in more than one node in Cost Center Standard Hierarchy.
    Update from SAP Global support, the following was the email received:
    in transaction KSH3 please run both the ambiguity and completeness check(Menu -> Extras -> Check and Help functions).
    If you think that your standard hierarchy is inconsistent you can check that as following:
    Run transaction Extras -> Hierarchy - Master data -> Test. The result shows you if there are in consistencies. If that is the case run also Extras -> Hierarchy - Master data -> Comparison.
    Alternatively, you can run the report 'RKCORRH1' (TN SE38).
    Run both the Hierarchy->Master data->test and the
    Hierarchy->Master data->comparison.
    As stated above inconsistency message showed after Test. Run the comparison and you get a similar message.
    Once the above two are run, again when you go to test, the inconsistency disappears.

  • Getting error  while creating users in Peoplesoft

    Have a good day
    new fresh instance installed , getting error while creating users in peoplesoft
    SQL ERROR FUNCTION SQLExec
    ERROR POSISTION 52
    RETRUN 904- ORA-00904 PSWDREQUPPER invalid identifier statement, select minpsdlength
    pswdreqspecial pswdreqlower
    PSWDREQUPPER, PSWDREQDIGITS,ALLOWDOPRID,PSWDEXPIRESDAYS FROM PSSECOPTIONS
    original statement: SELECT MINPSWDLENGTH PSWDREQSPECIAL PSWDREQLOWER PSWDREQUPPERS
    PSWDREQDIGITS, ALLOWOPRID, PSWDEXPIRESDAYS FORM PSSECOPTIONS

    >
    RETRUN 904- ORA-00904 PSWDREQUPPER invalid identifier statement, select minpsdlength
    pswdreqspecial pswdreqlower
    PSWDREQUPPER, PSWDREQDIGITS,ALLOWDOPRID,PSWDEXPIRESDAYS FROM PSSECOPTIONS
    original statement: SELECT MINPSWDLENGTH PSWDREQSPECIAL PSWDREQLOWER PSWDREQUPPERS
    PSWDREQDIGITS, ALLOWOPRID, PSWDEXPIRESDAYS FORM PSSECOPTIONS
    >
    How is it possible that the first statement has ALLOWDOPRID column that does not exist, where as the original statement has ALLOWOPRID which does exist?
    How is it possible that the second original statement has two more errors:
    PSWDREQUPPERS should be PSWDREQUPPER
    FORM should be FROM.
    Please provide the actual error which is being raised, without editing.
    Hakan

  • Getting error while creating table from one database to other.

    Hi,
    We are getting below error while creating the table from one database to other.
    SQL> create table fnd_lobs parallel compress as select * from [email protected];
    create table fnd_lobs parallel compress as select * from [email protected]
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    Regards,
    Bhatia

    hi
    what are the apps version local and remote database???
    Snapshot too old errors occur because Oracle can 't reconstruct a consistent
    image of a block for the purposes of a consistent read.
    I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
    increase roll back segments size and select again then
    the following metalink notes might be helpful
    ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
    How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
    OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1

  • Getting error while creating trigger!!

    Hi Guys,
    I am getting the following error while creating trigger in Oracle10g Database in TOAD environment.
    Error: PLS-00306: wrong number or types of arguments in call to '='
    Table details:
    One of the column having BLOB Data type in the table.
    In the trigger, I have compared :old and :new values.
    CREATE OR REPLACE TRIGGER INPL.trigger_new
    AFTER INSERT OR UPDATE OR DELETE
    ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    action_flag VARCHAR2(1);
    new_image BLOB;
    BEGIN
    IF UPDATING
    THEN
    action_flag := 'U';
    ELSIF DELETING
    THEN
    action_flag := 'D';
    ELSIF INSERTING
    THEN
    action_flag := 'I';
    END IF;
    IF (:NEW.image = :OLD.image)
    THEN
    new_image := '';
    ELSE
    new_image := :NEW.image;
    END IF;
    INSERT INTO TABLE_NEW(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
    end;
    Any one knows about this issue, please let me know with the proper solution.
    Thanks for your immediate response!
    Regards,
    Lakshman

    CREATE OR REPLACE TRIGGER INPL.trigger_new
    AFTER INSERT OR UPDATE OR DELETE
    ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    action_flag VARCHAR2(1);
    new_image BLOB;
    BEGIN
    IF UPDATING
    THEN
    action_flag := 'U';
    ELSIF DELETING
    THEN
    action_flag := 'D';
    ELSIF INSERTING
    THEN
    action_flag := 'I';
    END IF;
    IF (:NEW.image = :OLD.image)
    THEN
    new_image := '';
    ELSE
    new_image := :NEW.image;
    END IF;
    INSERT INTO TABLE_AUD(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
    end;
    I am getting the error in line at If condition
    Error: PLS-00306: Wrong number or tpyes of arguments in call '='
    Please let me know if any one knows exact solution!
    Thanks in advance!
    Regards,
    Lakshman

  • Getting Error while creating Project through API:PA_PROJECT_PUB.CREATE_PROJ

    Hi Gurus,
    I'm getting an error while creating a New project.
    My code looks like this:
    APPS.PA_PROJECT_PUB.CREATE_PROJECT
    (p_api_version_number => l_object_version_number --IN Parameter
    ,p_commit => l_commit --IN Parameter
    ,p_init_msg_list => l_init_msg_list --IN Parameter
    ,p_msg_count => l_msg_count --OUT Parameter
    ,p_msg_data => l_msg_data --OUT Parameter
    ,p_return_status => l_return_status --OUT Parameter
    ,p_workflow_started => l_workflow_started --OUT Parameter
    ,p_pm_product_code => g_pm_product_code --IN Parameter
    ,p_op_validate_flag => l_op_validate_flag --IN Parameter
    ,p_project_in => g_project_in --IN Parameter
    ,p_project_out => g_project_out --OUT Parameter
    ,p_tasks_in => g_task_in --IN Parameter
    ,p_tasks_out => g_task_out --OUT Parameter
    The out put params are: p_msg_count => 1
    p_return_status => E
    p_workflow_started => N
    g_project_out.pa_project_id => 170000000000000000000
    g_project_out.pa_project_number => ^
    g_task_out_rec.pa_task_id => 170000000000000000000
    End process record p_proj_insert => 1
    Resetting the task count variable
    when I checked the API code I found this:
    PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := null; --bug 2471668 ( not in the project context )
    PA_PM_FUNCTION_SECURITY_PUB.check_function_security
    (p_api_version_number => p_api_version_number,
    p_responsibility_id => l_resp_id,
    p_function_name => 'PA_PM_CREATE_PROJECT',
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_function_allowed => l_function_allowed
    . I think I am getting the error because of this.
    Now, question.
    Do I need to run the Create Project from a specific Responsibility?
    because when I ran the underlined query, I fpound the final status as 'N'.
    I'm a HR guy and PA is a new world for me. Any help will be appreciated.
    Thanks!!
    Viky

    You need to find any responsibility and userid that lets you create a project using the screen.
    And then in your code, you need to set your context to that resp/userid.
    Hope this helps
    Sandeep Gandhi

  • Getting error while creating XML data source

    Hi,
    I have converted access database into xml and now wants to convert the xml file into oracle database.while creating the xml database resource geting error ora-065550.PLS-00103:Encountered the symbol"Push" when expecting one of the following .(),*etc.
    Why this problem I am facing.
    Any Idea
    Thanks in advace....

    The error message is explicit the WAERS field is hidden...you must edit the datasource structure in RSO2 and uncheck the "hidden" checkbox for that field....
    It will solve your problem...
    Regards

  • Getting error while creating Communication capability

    Hi,
    I am getting this error while creating communication capability of Host. I have successfully configured the TP communication capability. Even I have tried many times after changing the names given by me during configuration.
    Error creating Communication Capability
    java.lang.Exception : Error -: AIP-16012: Parameter: uri is unique for object Endpoint: Error -: AIP-11052: Writing following objects: Endpoint failed due to following constraint violation: ENDPOINT_UK. UNIQUE CONSTRAINT VIOLATION: java.sql.SQLException: ORA-20003: Endpoint_UK. Unique constraint violation ORA-06512: at "B2B.TRG_ENDPOINT_INS", line 17 ORA-01403: no data found ORA-04088: error during execution of trigger 'B2B.TRG_ENDPOINT_INS'
    Please tell me what is the source of error.
    Thanks in advance.
    Regards,
    Anuj Dwivedi

    Hi I am getting this error while creating communication capability --
    Error creating Communication Capability
    java.lang.Exception : Error -: AIP-16012: Parameter: trading Partner is unique for object Certificate: Error -: AIP-11052: Writing following objects: Certificate failed due to following constraint violation: CERTIFICATE_UK. UNIQUE CONSTRAINT VIOLATION: java.sql.SQLException: ORA-20003: Certificate_UK. Unique constraint violation ORA-06512: at "B2B.TRG_CERTIFICATE_INS", line 20 ORA-01403: no data found ORA-04088: error during execution of trigger 'B2B.TRG_CERTIFICATE_INS'
    Please tell that where could be the problem?
    Thanks.
    Regards.
    Anuj Dwivedi

  • Getting error while creating condition type in SPRO

    Hi ,
    can somebdy tell me why i am getting the following error while creating condition type in SPRO
    No valid change license available for message /sapcnd/
    and also while rule determination using condition type we are getting the following error.
    system error:system cannot read the structure for table
    reg
    venkat

    Hi Venkat,
    Do you have the error number code!?
    Regards,
    Michel  Bohn

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Getting error while creating Business Action with EDI EDIFACT 837 document.

    Hi,
    When I am trying to create a business action with EDI 837 &lsquo;.ecs&rsquo; file, I am getting a error. It is not creating the business action. Even it is not displaying any error details.
    Please help me in resolving this issue as it's very urgent.
    Thanks in advance.

    Hi Jyotirmoy,
    What error you are getting exactly while creating the business action? Did you try to create business action for any other protocol? If not, then please try to create business action for any other protocol and check whether you are getting the same error over there also.
    Regards,
    Anuj

Maybe you are looking for