Oracle db wrong result on subquery error

Hi,
I work with Oracle databases up to 10g and I found an error and couldn’t find any documentation about it yet. Perhaps you can help me.
The error is quite easy to replicate. If you run the following query adapting the parameters you should get a result, the problem is that you should only get an error!
select * from user_tab_columns
where table_name in
select table_name from <TABLE_B>
Parameter: TABLE_B
Description: This should be an existing table of the schema which doesn’t have any table_name field.
As I said, the sub-query is wrong, so if you try to run it separately it fails. The problem is when you run both together because, if the link field has the same name, it returns all values of the table in the outer query.
Do you know if this is solved in 11g or in a specific patch of 10g?
Thanks in advance for your interest.
Best regards,
Leo ([email protected])

user6396183 wrote:
I don't think a query whose inner query evaluates to ORA-00904 'Invalid identifier' should return anything, it's not logic. To me this is a bug.
If you execute the following query it will retrieve all records from the outer table when it should only return an exception as the inner query can not be evaluated at all.
select * from user_tab_columns
where table_name in (select table_name from user_role_privs);You still did not get it. Yes inner query by itself results in ORA-00904 'Invalid identifier' only if you execute it independently:
select table_name from user_role_privsOracle parser tries to figure out what table_name is. It is not a literal, therefore it concludes it is an identifier. Now the only table in FROM list is user_role_privs and it has no such column. Then parser checks if such function exists and it does not, etc... At the end ORA-00904 'Invalid identifier' is raised. However, look what happens if you issue it as a sub_query:
select * from user_tab_columns
where table_name in (select table_name from user_role_privs);Again, Oracle parser tries to figure out what table_name is. It is not a literal, therefore it concludes it is an identifier. Now the only table in FROM list is user_role_privs and it has no such column. Now, parser realizes it is a subquery and table_name can be a correlated name. So it checks main query FROM clause list and guess what - table user_tab_columns has a column table_name. So what subquery means is select a row from table user_tab_columns, which will give as some column table_name value and then use that value in subquery, get results and compare it with same table_name value. Now, I hope, you can see that no error should be raised. And, if user_role_privs is not empty, query will return every row in user_tab_columns. If user_role_privs is empty, query will not return any rows. But again, error is neither raised nor should be raised.
SY.

Similar Messages

  • TS3276 Mail application keeps shutting down short after start up - resulting in an error message. how can I repair what is wrong without losing my mail history?

    Mail application keeps shutting down short after start up - resulting in an error message. how can I repair what is wrong without losing my mail history?

    Will I lose my emails I have on there? I have numerous client email files and can't afford to lose any of them. I do have everything backed up but I'm fearful of losing important client info. What if something happened during the back up and it doesn't have my files?

  • Simple query with like return wrong result

    Hi,
    I run simple query with like.
    If I use parameter I get wrong results.
    If I use query without parameter results are ok.
    My script:
    ALTER SESSION SET NLS_SORT=BINARY_CI;
    ALTER SESSION SET NLS_COMP=LINGUISTIC;
    -- drop table abcd;
    create table abcd (col1 varchar2(10));
    INSERT INTO ABCD VALUES ('122222');
    insert into abcd values ('111222');
    SELECT * FROM ABCD WHERE COL1 LIKE :1; -- wrong result with value 12%
    COL1
    122222
    *111222*
    select * from abcd where col1 like '12%'; -- result ok
    COL1
    122222
    I use Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    and query run in Oracle SQL Developer 3.1.07.

    Hi,
    welcome to the forum.
    When you put some code please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    You should specify exactly how you run your code.
    If I run this statement in SQL Plus:SQL> ALTER SESSION SET NLS_SORT=BINARY_CI;
    Session altered.
    SQL> ALTER SESSION SET NLS_COMP=LINGUISTIC;
    Session altered.
    SQL>
    SQL> -- drop table abcd;
    SQL> create table abcd (col1 varchar2(10));
    Table created.
    SQL>
    SQL> INSERT INTO ABCD VALUES ('122222');
    1 row created.
    SQL> insert into abcd values ('111222');
    1 row created.
    SQL>
    SQL> SELECT * FROM ABCD WHERE COL1 LIKE :1;
    SP2-0552: Bind variable "1" not declared.
    SQL>
    I got this error. So I wonder how you set value 12%
    Please specify exactly how you run your test as we cannot reproduce your problem.
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Creating new record in Results Table giving Error

    Hi All,
    On update page there is a Results Table with Add button to create a new row.
    While creating a new record on Results Table gives error
    Attribute set for AccessId in view object XXLCUpdVariablesVO1 failed
    I have checked EO and VO attributes, everything seems to be right.
    Also Updatable is set to 'Always'.
    Still don't know why this error is coming up.
    Plz help to resolve this error.
    Thanks,
    SK

    Ajay,
    XML code
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <Entity
    Name="XXLCVarAssignmentsEO"
    DBObjectType="table"
    DBObjectName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    AliasName="XXLCVarAssignmentsEO"
    BindingStyle="OracleName"
    UseGlueCode="false"
    RowClass="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEOImpl"
    DefClass="oracle.apps.fnd.framework.server.OAEntityDefImpl"
    CollClass="oracle.apps.fnd.framework.server.OAEntityCache" >
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.3.41.57" />
    <AttrArray Name="_publishEvents">
    </AttrArray>
    <Attr Name="_panelSchema" Value="table|alias" />
    <Attr Name="_codeGenFlag2" Value="Init|Delete|Access|Val" />
    </DesignTime>
    <Attribute
    Name="AssignmentId"
    IsNotNull="true"
    ColumnName="ASSIGNMENT_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    PrimaryKey="true" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AssignmentAccess"
    IsNotNull="true"
    Precision="30"
    ColumnName="ASSIGNMENT_ACCESS"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VariableId"
    IsNotNull="true"
    ColumnName="VARIABLE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="ListValueId"
    IsNotNull="true"
    ColumnName="LIST_VALUE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="OrganizationId"
    IsNotNull="true"
    Precision="15"
    Scale="0"
    ColumnName="ORGANIZATION_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="TemplateId"
    IsNotNull="true"
    ColumnName="TEMPLATE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AuctionHeaderId"
    IsNotNull="true"
    ColumnName="AUCTION_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="PoHeaderId"
    IsNotNull="true"
    ColumnName="PO_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreatedBy"
    IsNotNull="true"
    ColumnName="CREATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreationDate"
    IsNotNull="true"
    ColumnName="CREATION_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateDate"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdatedBy"
    IsNotNull="true"
    ColumnName="LAST_UPDATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateLogin"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_LOGIN"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AccessId"
    ColumnName="ACCESS_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Key
    Name="SysC00329905" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentAccess" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ASSIGNMENT_ACCESS&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329905" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329906" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.VariableId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;VARIABLE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329906" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329907" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.ListValueId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LIST_VALUE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329907" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329908" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.OrganizationId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ORGANIZATION_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329908" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329909" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.TemplateId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;TEMPLATE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329909" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329910" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AuctionHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;AUCTION_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329910" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329911" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.PoHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;PO_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329911" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329912" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329912" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329913" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreationDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATION_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329913" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329914" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329914" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329915" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329915" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329916" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateLogin" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_LOGIN&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329916" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329917" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_isPrimary" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329917" />
    </DesignTime>
    </Key>
    </Entity>
    XXLCVarAssignmentsEOImpl Code
    package xxlc.oracle.apps.okc.schema.articles.variables.server;
    import oracle.apps.fnd.framework.OAAttrValException;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAEntityDefImpl;
    import oracle.apps.fnd.framework.server.OAEntityImpl;
    import oracle.jbo.AttributeList;
    import oracle.jbo.Key;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.server.EntityDefImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class XXLCVarAssignmentsEOImpl extends OAEntityImpl
    public static final int ASSIGNMENTID = 0;
    public static final int ASSIGNMENTACCESS = 1;
    public static final int VARIABLEID = 2;
    public static final int LISTVALUEID = 3;
    public static final int ORGANIZATIONID = 4;
    public static final int TEMPLATEID = 5;
    public static final int AUCTIONHEADERID = 6;
    public static final int POHEADERID = 7;
    public static final int CREATEDBY = 8;
    public static final int CREATIONDATE = 9;
    public static final int LASTUPDATEDATE = 10;
    public static final int LASTUPDATEDBY = 11;
    public static final int LASTUPDATELOGIN = 12;
    public static final int ACCESSID = 13;
    private static OAEntityDefImpl mDefinitionObject;
    /**This is the default constructor (do not remove)
    public XXLCVarAssignmentsEOImpl()
    /**Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject =
    (OAEntityDefImpl)EntityDefImpl.findDefObject("xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO");
    return mDefinitionObject;
    /**Add attribute defaulting logic in this method.
    public void create(AttributeList attributeList)
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number asgId = transaction.getSequenceValue("XXLC_VAR_ASG_SEQ");
    setAssignmentId(asgId);
    /**Add entity remove logic in this method.
    public void remove()
    super.remove();
    /**Add Entity validation code in this method.
    protected void validateEntity()
    super.validateEntity();
    /**Gets the attribute value for AssignmentId, using the alias name AssignmentId
    public Number getAssignmentId()
    return (Number)getAttributeInternal(ASSIGNMENTID);
    /**Sets <code>value</code> as the attribute value for AssignmentId
    public void setAssignmentId(Number value)
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] varKey = {value};
    EntityDefImpl varDefinition = XXLCVarAssignmentsEOImpl.getDefinitionObject();
    XXLCVarAssignmentsEOImpl variable =
    (XXLCVarAssignmentsEOImpl)varDefinition.findByPrimaryKey(transaction, new Key(varKey));
    if (variable != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AssignmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ASSIGNMENTID, value);
    /**Gets the attribute value for AssignmentAccess, using the alias name AssignmentAccess
    public String getAssignmentAccess()
    return (String)getAttributeInternal(ASSIGNMENTACCESS);
    /**Sets <code>value</code> as the attribute value for AssignmentAccess
    public void setAssignmentAccess(String value)
    setAttributeInternal(ASSIGNMENTACCESS, value);
    /**Gets the attribute value for VariableId, using the alias name VariableId
    public Number getVariableId()
    return (Number)getAttributeInternal(VARIABLEID);
    /**Sets <code>value</code> as the attribute value for VariableId
    public void setVariableId(Number value)
    setAttributeInternal(VARIABLEID, value);
    /**Gets the attribute value for ListValueId, using the alias name ListValueId
    public Number getListValueId()
    return (Number)getAttributeInternal(LISTVALUEID);
    /**Sets <code>value</code> as the attribute value for ListValueId
    public void setListValueId(Number value)
    setAttributeInternal(LISTVALUEID, value);
    /**Gets the attribute value for OrganizationId, using the alias name OrganizationId
    public Number getOrganizationId()
    return (Number)getAttributeInternal(ORGANIZATIONID);
    /**Sets <code>value</code> as the attribute value for OrganizationId
    public void setOrganizationId(Number value)
    setAttributeInternal(ORGANIZATIONID, value);
    /**Gets the attribute value for TemplateId, using the alias name TemplateId
    public Number getTemplateId()
    return (Number)getAttributeInternal(TEMPLATEID);
    /**Sets <code>value</code> as the attribute value for TemplateId
    public void setTemplateId(Number value)
    setAttributeInternal(TEMPLATEID, value);
    /**Gets the attribute value for AuctionHeaderId, using the alias name AuctionHeaderId
    public Number getAuctionHeaderId()
    return (Number)getAttributeInternal(AUCTIONHEADERID);
    /**Sets <code>value</code> as the attribute value for AuctionHeaderId
    public void setAuctionHeaderId(Number value)
    setAttributeInternal(AUCTIONHEADERID, value);
    /**Gets the attribute value for PoHeaderId, using the alias name PoHeaderId
    public Number getPoHeaderId()
    return (Number)getAttributeInternal(POHEADERID);
    /**Sets <code>value</code> as the attribute value for PoHeaderId
    public void setPoHeaderId(Number value)
    setAttributeInternal(POHEADERID, value);
    /**Gets the attribute value for CreatedBy, using the alias name CreatedBy
    public Number getCreatedBy()
    return (Number)getAttributeInternal(CREATEDBY);
    /**Sets <code>value</code> as the attribute value for CreatedBy
    public void setCreatedBy(Number value)
    setAttributeInternal(CREATEDBY, value);
    /**Gets the attribute value for CreationDate, using the alias name CreationDate
    public Date getCreationDate()
    return (Date)getAttributeInternal(CREATIONDATE);
    /**Sets <code>value</code> as the attribute value for CreationDate
    public void setCreationDate(Date value)
    setAttributeInternal(CREATIONDATE, value);
    /**Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
    public Date getLastUpdateDate()
    return (Date)getAttributeInternal(LASTUPDATEDATE);
    /**Sets <code>value</code> as the attribute value for LastUpdateDate
    public void setLastUpdateDate(Date value)
    setAttributeInternal(LASTUPDATEDATE, value);
    /**Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
    public Number getLastUpdatedBy()
    return (Number)getAttributeInternal(LASTUPDATEDBY);
    /**Sets <code>value</code> as the attribute value for LastUpdatedBy
    public void setLastUpdatedBy(Number value)
    setAttributeInternal(LASTUPDATEDBY, value);
    /**Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    /**Sets <code>value</code> as the attribute value for LastUpdateLogin
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    /**getAttrInvokeAccessor: generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index,
    AttributeDefImpl attrDef) throws Exception
    switch (index)
    case ASSIGNMENTID:
    return getAssignmentId();
    case ASSIGNMENTACCESS:
    return getAssignmentAccess();
    case VARIABLEID:
    return getVariableId();
    case LISTVALUEID:
    return getListValueId();
    case ORGANIZATIONID:
    return getOrganizationId();
    case TEMPLATEID:
    return getTemplateId();
    case AUCTIONHEADERID:
    return getAuctionHeaderId();
    case POHEADERID:
    return getPoHeaderId();
    case CREATEDBY:
    return getCreatedBy();
    case CREATIONDATE:
    return getCreationDate();
    case LASTUPDATEDATE:
    return getLastUpdateDate();
    case LASTUPDATEDBY:
    return getLastUpdatedBy();
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    case ACCESSID:
    return getAccessId();
    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 ASSIGNMENTID:
    setAssignmentId((Number)value);
    return;
    case ASSIGNMENTACCESS:
    setAssignmentAccess((String)value);
    return;
    case VARIABLEID:
    setVariableId((Number)value);
    return;
    case LISTVALUEID:
    setListValueId((Number)value);
    return;
    case ORGANIZATIONID:
    setOrganizationId((Number)value);
    return;
    case TEMPLATEID:
    setTemplateId((Number)value);
    return;
    case AUCTIONHEADERID:
    setAuctionHeaderId((Number)value);
    return;
    case POHEADERID:
    setPoHeaderId((Number)value);
    return;
    case CREATEDBY:
    setCreatedBy((Number)value);
    return;
    case CREATIONDATE:
    setCreationDate((Date)value);
    return;
    case LASTUPDATEDATE:
    setLastUpdateDate((Date)value);
    return;
    case LASTUPDATEDBY:
    setLastUpdatedBy((Number)value);
    return;
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    case ACCESSID:
    setAccessId((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    /**Gets the attribute value for AccessId, using the alias name AccessId
    public Number getAccessId()
    return (Number)getAttributeInternal(ACCESSID);
    /**Sets <code>value</code> as the attribute value for AccessId
    public void setAccessId(Number value)
    setAttributeInternal(ACCESSID, value);
    /**Creates a Key object based on given key constituents
    public static Key createPrimaryKey(Number assignmentId)
    return new Key(new Object[]{assignmentId});
    Thanks,
    SK

  • The invocation resulted in an error: java.util.NoSuchElementException

    I am trying to implement sftp protcol for oracle service bus using business service.
    While invocation it is throwing "The invocation resulted in an error: java.util.NoSuchElementException" error.
    Does any one know the reason for it?

    known_hosts file must contain data & hostname and IP address must be separated by a comma.
    e.g. localhost,127.0.0.1 ssh-rsa ABCDEF............==
    Regards,
    Anuj

  • Oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation

    I have extended PoRequisitionLinesVO in iProcurement,My requirement is to copy an existing foreign currency requisition so that the newly created requisition will be created with current exchange rate.
    After deployment when I am clicking on NonCatalogRequest I am getting the following error  :
    <!--StartFragment-->oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,
           PoRequisitionLineEO.REQUISITION_HEADER_ID,
           PoRequisitionLineEO.LINE_NUM,
           PoRequisitionLineEO.LAST_UPDATE_DATE,
           PoRequisitionLineEO.LAST_UPDATED_BY,
           PoRequisitionLineEO.LAST_UPDATE_LOGIN,
           PoRequisitionLineEO.CREATION_DATE,
           PoRequisitionLineEO.CREATED_BY,
           PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,
           PoRequisitionLineEO.TO_PERSON_ID,
           PoRequisitionLineEO.ITEM_DESCRIPTION,
           PoRequisitionLineEO.CATEGORY_ID,
           PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,
           PoRequisitionLineEO.UNIT_PRICE,
           PoRequisitionLineEO.QUANTITY,
           PoRequisitionLineEO.LINE_TYPE_ID,
           PoRequisitionLineEO.SOURCE_TYPE_CODE,
           PoRequisitionLineEO.ITEM_ID,
           PoRequisitionLineEO.ITEM_REVISION,
           PoRequisitionLineEO.QUANTITY_DELIVERED,
           PoRequisitionLineEO.SUGGESTED_BUYER_ID,
           PoRequisitionLineEO.ENCUMBERED_FLAG,
           PoRequisitionLineEO.RFQ_REQUIRED_FLAG,
           PoRequisitionLineEO.NEED_BY_DATE,
           PoRequisitionLineEO.LINE_LOCATION_ID,
           PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,
           PoRequisitionLineEO.PARENT_REQ_LINE_ID,
           PoRequisitionLineEO.JUSTIFICATION,
           PoRequisitionLineEO.NOTE_TO_AGENT,
           PoRequisitionLineEO.NOTE_TO_RECEIVER,
           PoRequisitionLineEO.PURCHASING_AGENT_ID,
           PoRequisitionLineEO.DOCUMENT_TYPE_CODE,
           PoRequisitionLineEO.BLANKET_PO_HEADER_ID,
           PoRequisitionLineEO.BLANKET_PO_LINE_NUM,
           PoRequisitionLineEO.CURRENCY_CODE,
           PoRequisitionLineEO.RATE_TYPE,
           /*PoRequisitionLineEO.RATE_DATE*/trunc(SYSDATE) rate_DATE,
           /*PoRequisitionLineEO.RATE*/
           (SELECT conversion_rate
              FROM gl_daily_rates
                   ,hr_operating_units hou
                   ,gl_sets_of_books sob
             WHERE from_currency = PoRequisitionLineEO.CURRENCY_CODE
             AND to_currency = sob.currency_code
             AND conversion_type = PoRequisitionLineEO.RATE_TYPE
             AND conversion_date = trunc(SYSDATE)
             AND  hou.organization_id = PoRequisitionLineEO.org_id
              AND hou.set_of_books_id = sob.SET_OF_BOOKS_ID ) rate,
           PoRequisitionLineEO.CURRENCY_UNIT_PRICE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,
           PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,
           PoRequisitionLineEO.UN_NUMBER_ID,
           PoRequisitionLineEO.HAZARD_CLASS_ID,
           PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,
           PoRequisitionLineEO.REFERENCE_NUM,
           PoRequisitionLineEO.ON_RFQ_FLAG,
           PoRequisitionLineEO.URGENT_FLAG,
           PoRequisitionLineEO.CANCEL_FLAG,
           PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,
           PoRequisitionLineEO.SOURCE_SUBINVENTORY,
           PoRequisitionLineEO.DESTINATION_TYPE_CODE,
           PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,
           PoRequisitionLineEO.DESTINATION_SUBINVENTORY,
           PoRequisitionLineEO.QUANTITY_CANCELLED,
           PoRequisitionLineEO.CANCEL_DATE,
           PoRequisitionLineEO.CANCEL_REASON,
           PoRequisitionLineEO.CLOSED_CODE,
           PoRequisitionLineEO.AGENT_RETURN_NOTE,
           PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,
           PoRequisitionLineEO.VENDOR_ID,
           PoRequisitionLineEO.VENDOR_SITE_ID,
           PoRequisitionLineEO.VENDOR_CONTACT_ID,
           PoRequisitionLineEO.RESEARCH_AGENT_ID,
           PoRequisitionLineEO.ON_LINE_FLAG,
           PoRequisitionLineEO.WIP_ENTITY_ID,
           PoRequisitionLineEO.WIP_LINE_ID,
           PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,
           PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,
           PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,
           PoRequisitionLineEO.ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.DESTINATION_CONTEXT,
           PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,
           PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,
           PoRequisitionLineEO.BOM_RESOURCE_ID,
           PoRequisitionLineEO.REQUEST_ID,
           PoRequisitionLineEO.PROGRAM_APPLICATION_ID,
           PoRequisitionLineEO.PROGRAM_ID,
           PoRequisitionLineEO.PROGRAM_UPDATE_DATE,
           PoRequisitionLineEO.USSGL_TRANSACTION_CODE,
           PoRequisitionLineEO.GOVERNMENT_CONTEXT,
           PoRequisitionLineEO.CLOSED_REASON,
           PoRequisitionLineEO.CLOSED_DATE,
           PoRequisitionLineEO.TRANSACTION_REASON_CODE,
           PoRequisitionLineEO.QUANTITY_RECEIVED,
           PoRequisitionLineEO.SOURCE_REQ_LINE_ID,
           PoRequisitionLineEO.ORG_ID,
           PoRequisitionLineEO.KANBAN_CARD_ID,
           PoRequisitionLineEO.CATALOG_TYPE,
           PoRequisitionLineEO.CATALOG_SOURCE,
           PoRequisitionLineEO.MANUFACTURER_ID,
           PoRequisitionLineEO.MANUFACTURER_NAME,
           PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,
           PoRequisitionLineEO.REQUESTER_EMAIL,
           PoRequisitionLineEO.REQUESTER_FAX,
           PoRequisitionLineEO.REQUESTER_PHONE,
           PoRequisitionLineEO.UNSPSC_CODE,
           PoRequisitionLineEO.OTHER_CATEGORY_CODE,
           PoRequisitionLineEO.SUPPLIER_DUNS,
           PoRequisitionLineEO.TAX_STATUS_INDICATOR,
           PoRequisitionLineEO.PCARD_FLAG,
           PoRequisitionLineEO.NEW_SUPPLIER_FLAG,
           PoRequisitionLineEO.AUTO_RECEIVE_FLAG,
           PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,
           PoRequisitionLineEO.TAX_CODE_ID,
           PoRequisitionLineEO.NOTE_TO_VENDOR,
           PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,
           PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,
           PoRequisitionLineEO.ITEM_SOURCE_ID,
           PoRequisitionLineEO.SUPPLIER_REF_NUMBER,
           PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,
           PoRequisitionLineEO.SECONDARY_QUANTITY,
           PoRequisitionLineEO.PREFERRED_GRADE,
           PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,
           PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,
           PoRequisitionLineEO.AUCTION_HEADER_ID,
           PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,
           PoRequisitionLineEO.AUCTION_LINE_NUMBER,
           PoRequisitionLineEO.REQS_IN_POOL_FLAG,
           PoRequisitionLineEO.VMI_FLAG,
           PoRequisitionLineEO.ATTRIBUTE1,
           PoRequisitionLineEO.ATTRIBUTE2,
           PoRequisitionLineEO.ATTRIBUTE3,
           PoRequisitionLineEO.ATTRIBUTE4,
           PoRequisitionLineEO.ATTRIBUTE5,
           PoRequisitionLineEO.ATTRIBUTE6,
           PoRequisitionLineEO.ATTRIBUTE7,
           PoRequisitionLineEO.ATTRIBUTE8,
           PoRequisitionLineEO.ATTRIBUTE9,
           PoRequisitionLineEO.ATTRIBUTE10,
           PoRequisitionLineEO.ATTRIBUTE11,
           PoRequisitionLineEO.ATTRIBUTE12,
           PoRequisitionLineEO.ATTRIBUTE13,
           PoRequisitionLineEO.ATTRIBUTE14,
           PoRequisitionLineEO.ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.BID_NUMBER,
           PoRequisitionLineEO.BID_LINE_NUMBER,
           PoRequisitionLineEO.AMOUNT,
           PoRequisitionLineEO.CURRENCY_AMOUNT,
           PoRequisitionLineEO.NONCAT_TEMPLATE_ID,
           PoRequisitionLineEO.JOB_ID,
           PoRequisitionLineEO.CONTACT_INFORMATION,
           PoRequisitionLineEO.CANDIDATE_SCREENING_REQD_FLAG,
           PoRequisitionLineEO.SUGGESTED_SUPPLIER_FLAG,
           PoRequisitionLineEO.ASSIGNMENT_END_DATE,
           PoRequisitionLineEO.OVERTIME_ALLOWED_FLAG,
           PoRequisitionLineEO.CONTRACTOR_REQUISITION_FLAG,
           PoRequisitionLineEO.LABOR_REQ_LINE_ID,
           PoRequisitionLineEO.JOB_LONG_DESCRIPTION,
           PoRequisitionLineEO.CONTRACTOR_STATUS,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_FAX,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_EMAIL,
           PoRequisitionLineEO.CANDIDATE_FIRST_NAME,
           PoRequisitionLineEO.CANDIDATE_LAST_NAME,
           PoRequisitionLineEO.ASSIGNMENT_START_DATE,
           PoRequisitionLineEO.ORDER_TYPE_LOOKUP_CODE,
           PoRequisitionLineEO.PURCHASE_BASIS,
           PoRequisitionLineEO.MATCHING_BASIS,
           PoRequisitionLineEO.NEGOTIATED_BY_PREPARER_FLAG,
           PoRequisitionLineEO.BASE_UNIT_PRICE,
           PoRequisitionLineEO.AT_SOURCING_FLAG,
           PoRequisitionLineEO.TAX_ATTRIBUTE_UPDATE_CODE,
           PoRequisitionLineEO.DROP_SHIP_FLAG,
           PoRequisitionLineEO.SHIP_METHOD,
           PoRequisitionLineEO.ESTIMATED_PICKUP_DATE,
           PoRequisitionLineEO.SUPPLIER_NOTIFIED_FOR_CANCEL,
           PoRequisitionLineEO.TAX_NAME
    FROM PO_REQUISITION_LINES_ALL PoRequisitionLineEO) QRSLT  WHERE (nvl(closed_code, 'N') <> 'FINALLY CLOSED' AND nvl(cancel_flag, 'N') = 'N' AND nvl(modified_by_agent_flag, 'N') = 'N' AND line_location_id IS NULL AND ((SELECT nvl(transferred_to_oe_flag, 'N')      FROM po_requisition_headers_all h      WHERE h.requisition_header_id = PoRequisitionLineEO.requisition_header_id)      <> 'Y' OR      source_type_code = 'VENDOR')) AND REQUISITION_HEADER_ID = :1
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720)
    at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:973)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.executeServerCommand(NonCatalogRequestCO.java:1038)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.processRequest(NonCatalogRequestCO.java:250)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at _OA._jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    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:619)
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00904: "POREQUISITIONLINEEO"."REQUISITION_HEADER_ID": invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
    at oracle.apps.icx.por.req.server.PoRequisitionLinesVOImpl.executeQueryForCollection(PoRequisitionLinesVOImpl.java:65)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:688)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2654)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2912)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2086)
    at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:4904)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3405)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3546)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3506)
    at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3290)
    at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1478)
    at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:2828)
    at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:5831)
    at oracle.apps.icx.por.req.server.ReqSubActionSvrCmd.loadCurrentReqInternal(ReqSubActionSvrCmd.java:1099)
    at oracle.apps.icx.por.req.server.RequisitionSvrCmd.loadCurrentReq(RequisitionSvrCmd.java:1234)
    at oracle.apps.icx.por.req.server.RequisitionAMImpl.loadCurrentReq(RequisitionAMImpl.java:1165)
    at oracle.apps.icx.icatalog.shopping.server.NoncatRequestSvrCmd.defaultAndPopulate(NoncatRequestSvrCmd.java:205)
    at oracle.apps.icx.icatalog.shopping.server.NoncatRequestSvrCmd.execute(NoncatRequestSvrCmd.java:110)
    at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand(PorBaseAMImpl.java:122)
    at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720)
    at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:973)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.executeServerCommand(NonCatalogRequestCO.java:1038)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.processRequest(NonCatalogRequestCO.java:250)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at _OA._jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    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:619)
    java.sql.SQLSyntaxErrorException: ORA-00904: "POREQUISITIONLINEEO"."REQUISITION_HEADER_ID": invalid identifier
    Please suggest me where have I done wrong.

    Hi,
    Attribute Mapping for REQUISITION_HEADER_ID is same as that of the standard VO
    Below is the extended Vo xml file :
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
       Name="PoRequisitionLinesVOEX"
       Extends="oracle.apps.icx.por.req.server.PoRequisitionLinesVO"
       BindingStyle="Oracle"
       CustomQuery="true"
       ComponentClass="XXPO.oracle.apps.icx.por.req.server.PoRequisitionLinesVOEXImpl"
       UseGlueCode="false" >
       <SQLQuery><![CDATA[
    SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,
           PoRequisitionLineEO.REQUISITION_HEADER_ID,
           PoRequisitionLineEO.LINE_NUM,
           PoRequisitionLineEO.LAST_UPDATE_DATE,
           PoRequisitionLineEO.LAST_UPDATED_BY,
           PoRequisitionLineEO.LAST_UPDATE_LOGIN,
           PoRequisitionLineEO.CREATION_DATE,
           PoRequisitionLineEO.CREATED_BY,
           PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,
           PoRequisitionLineEO.TO_PERSON_ID,
           PoRequisitionLineEO.ITEM_DESCRIPTION,
           PoRequisitionLineEO.CATEGORY_ID,
           PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,
           PoRequisitionLineEO.UNIT_PRICE,
           PoRequisitionLineEO.QUANTITY,
           PoRequisitionLineEO.LINE_TYPE_ID,
           PoRequisitionLineEO.SOURCE_TYPE_CODE,
           PoRequisitionLineEO.ITEM_ID,
           PoRequisitionLineEO.ITEM_REVISION,
           PoRequisitionLineEO.QUANTITY_DELIVERED,
           PoRequisitionLineEO.SUGGESTED_BUYER_ID,
           PoRequisitionLineEO.ENCUMBERED_FLAG,
           PoRequisitionLineEO.RFQ_REQUIRED_FLAG,
           PoRequisitionLineEO.NEED_BY_DATE,
           PoRequisitionLineEO.LINE_LOCATION_ID,
           PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,
           PoRequisitionLineEO.PARENT_REQ_LINE_ID,
           PoRequisitionLineEO.JUSTIFICATION,
           PoRequisitionLineEO.NOTE_TO_AGENT,
           PoRequisitionLineEO.NOTE_TO_RECEIVER,
           PoRequisitionLineEO.PURCHASING_AGENT_ID,
           PoRequisitionLineEO.DOCUMENT_TYPE_CODE,
           PoRequisitionLineEO.BLANKET_PO_HEADER_ID,
           PoRequisitionLineEO.BLANKET_PO_LINE_NUM,
           PoRequisitionLineEO.CURRENCY_CODE,
           PoRequisitionLineEO.RATE_TYPE,
           /*PoRequisitionLineEO.RATE_DATE*/trunc(SYSDATE) rate_DATE,
           /*PoRequisitionLineEO.RATE*/
           (SELECT conversion_rate
              FROM gl_daily_rates
                   ,hr_operating_units hou
                   ,gl_sets_of_books sob
             WHERE from_currency = PoRequisitionLineEO.CURRENCY_CODE
             AND to_currency = sob.currency_code
             AND conversion_type = PoRequisitionLineEO.RATE_TYPE
             AND conversion_date = trunc(SYSDATE)
             AND  hou.organization_id = PoRequisitionLineEO.org_id
              AND hou.set_of_books_id = sob.SET_OF_BOOKS_ID ) rate,
           PoRequisitionLineEO.CURRENCY_UNIT_PRICE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,
           PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,
           PoRequisitionLineEO.UN_NUMBER_ID,
           PoRequisitionLineEO.HAZARD_CLASS_ID,
           PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,
           PoRequisitionLineEO.REFERENCE_NUM,
           PoRequisitionLineEO.ON_RFQ_FLAG,
           PoRequisitionLineEO.URGENT_FLAG,
           PoRequisitionLineEO.CANCEL_FLAG,
           PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,
           PoRequisitionLineEO.SOURCE_SUBINVENTORY,
           PoRequisitionLineEO.DESTINATION_TYPE_CODE,
           PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,
           PoRequisitionLineEO.DESTINATION_SUBINVENTORY,
           PoRequisitionLineEO.QUANTITY_CANCELLED,
           PoRequisitionLineEO.CANCEL_DATE,
           PoRequisitionLineEO.CANCEL_REASON,
           PoRequisitionLineEO.CLOSED_CODE,
           PoRequisitionLineEO.AGENT_RETURN_NOTE,
           PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,
           PoRequisitionLineEO.VENDOR_ID,
           PoRequisitionLineEO.VENDOR_SITE_ID,
           PoRequisitionLineEO.VENDOR_CONTACT_ID,
           PoRequisitionLineEO.RESEARCH_AGENT_ID,
           PoRequisitionLineEO.ON_LINE_FLAG,
           PoRequisitionLineEO.WIP_ENTITY_ID,
           PoRequisitionLineEO.WIP_LINE_ID,
           PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,
           PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,
           PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,
           PoRequisitionLineEO.ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.DESTINATION_CONTEXT,
           PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,
           PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,
           PoRequisitionLineEO.BOM_RESOURCE_ID,
           PoRequisitionLineEO.REQUEST_ID,
           PoRequisitionLineEO.PROGRAM_APPLICATION_ID,
           PoRequisitionLineEO.PROGRAM_ID,
           PoRequisitionLineEO.PROGRAM_UPDATE_DATE,
           PoRequisitionLineEO.USSGL_TRANSACTION_CODE,
           PoRequisitionLineEO.GOVERNMENT_CONTEXT,
           PoRequisitionLineEO.CLOSED_REASON,
           PoRequisitionLineEO.CLOSED_DATE,
           PoRequisitionLineEO.TRANSACTION_REASON_CODE,
           PoRequisitionLineEO.QUANTITY_RECEIVED,
           PoRequisitionLineEO.SOURCE_REQ_LINE_ID,
           PoRequisitionLineEO.ORG_ID,
           PoRequisitionLineEO.KANBAN_CARD_ID,
           PoRequisitionLineEO.CATALOG_TYPE,
           PoRequisitionLineEO.CATALOG_SOURCE,
           PoRequisitionLineEO.MANUFACTURER_ID,
           PoRequisitionLineEO.MANUFACTURER_NAME,
           PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,
           PoRequisitionLineEO.REQUESTER_EMAIL,
           PoRequisitionLineEO.REQUESTER_FAX,
           PoRequisitionLineEO.REQUESTER_PHONE,
           PoRequisitionLineEO.UNSPSC_CODE,
           PoRequisitionLineEO.OTHER_CATEGORY_CODE,
           PoRequisitionLineEO.SUPPLIER_DUNS,
           PoRequisitionLineEO.TAX_STATUS_INDICATOR,
           PoRequisitionLineEO.PCARD_FLAG,
           PoRequisitionLineEO.NEW_SUPPLIER_FLAG,
           PoRequisitionLineEO.AUTO_RECEIVE_FLAG,
           PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,
           PoRequisitionLineEO.TAX_CODE_ID,
           PoRequisitionLineEO.NOTE_TO_VENDOR,
           PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,
           PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,
           PoRequisitionLineEO.ITEM_SOURCE_ID,
           PoRequisitionLineEO.SUPPLIER_REF_NUMBER,
           PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,
           PoRequisitionLineEO.SECONDARY_QUANTITY,
           PoRequisitionLineEO.PREFERRED_GRADE,
           PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,
           PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,
           PoRequisitionLineEO.AUCTION_HEADER_ID,
           PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,
           PoRequisitionLineEO.AUCTION_LINE_NUMBER,
           PoRequisitionLineEO.REQS_IN_POOL_FLAG,
           PoRequisitionLineEO.VMI_FLAG,
           PoRequisitionLineEO.ATTRIBUTE1,
           PoRequisitionLineEO.ATTRIBUTE2,
           PoRequisitionLineEO.ATTRIBUTE3,
           PoRequisitionLineEO.ATTRIBUTE4,
           PoRequisitionLineEO.ATTRIBUTE5,
           PoRequisitionLineEO.ATTRIBUTE6,
           PoRequisitionLineEO.ATTRIBUTE7,
           PoRequisitionLineEO.ATTRIBUTE8,
           PoRequisitionLineEO.ATTRIBUTE9,
           PoRequisitionLineEO.ATTRIBUTE10,
           PoRequisitionLineEO.ATTRIBUTE11,
           PoRequisitionLineEO.ATTRIBUTE12,
           PoRequisitionLineEO.ATTRIBUTE13,
           PoRequisitionLineEO.ATTRIBUTE14,
           PoRequisitionLineEO.ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.BID_NUMBER,
           PoRequisitionLineEO.BID_LINE_NUMBER,
           PoRequisitionLineEO.AMOUNT,
           PoRequisitionLineEO.CURRENCY_AMOUNT,
           PoRequisitionLineEO.NONCAT_TEMPLATE_ID,
           PoRequisitionLineEO.JOB_ID,
           PoRequisitionLineEO.CONTACT_INFORMATION,
           PoRequisitionLineEO.CANDIDATE_SCREENING_REQD_FLAG,
           PoRequisitionLineEO.SUGGESTED_SUPPLIER_FLAG,
           PoRequisitionLineEO.ASSIGNMENT_END_DATE,
           PoRequisitionLineEO.OVERTIME_ALLOWED_FLAG,
           PoRequisitionLineEO.CONTRACTOR_REQUISITION_FLAG,
           PoRequisitionLineEO.LABOR_REQ_LINE_ID,
           PoRequisitionLineEO.JOB_LONG_DESCRIPTION,
           PoRequisitionLineEO.CONTRACTOR_STATUS,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_FAX,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_EMAIL,
           PoRequisitionLineEO.CANDIDATE_FIRST_NAME,
           PoRequisitionLineEO.CANDIDATE_LAST_NAME,
           PoRequisitionLineEO.ASSIGNMENT_START_DATE,
           PoRequisitionLineEO.ORDER_TYPE_LOOKUP_CODE,
           PoRequisitionLineEO.PURCHASE_BASIS,
           PoRequisitionLineEO.MATCHING_BASIS,
           PoRequisitionLineEO.NEGOTIATED_BY_PREPARER_FLAG,
           PoRequisitionLineEO.BASE_UNIT_PRICE,
           PoRequisitionLineEO.AT_SOURCING_FLAG,
           PoRequisitionLineEO.TAX_ATTRIBUTE_UPDATE_CODE,
           PoRequisitionLineEO.DROP_SHIP_FLAG,
           PoRequisitionLineEO.SHIP_METHOD,
           PoRequisitionLineEO.ESTIMATED_PICKUP_DATE,
           PoRequisitionLineEO.SUPPLIER_NOTIFIED_FOR_CANCEL,
           PoRequisitionLineEO.TAX_NAME
    FROM PO_REQUISITION_LINES_ALL PoRequisitionLineEO
       ]]></SQLQuery>
       <DesignTime>
          <Attr Name="_isExpertMode" Value="true" />
          <Attr Name="_version" Value="10.1.3.41.57" />
          <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
       </DesignTime>
       <ViewAttribute
          Name="Selected"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="Selected"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="REQUISITION_LINE_ID"
          IsUpdateable="false"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SuggestedBuyer"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DestinationType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DeliverToLocation"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Requester"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UnitOfMeasure"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Total"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CostCenter"
          IsQueriable="false"
          IsPersistent="false"
          Precision="200"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="NonrecoverableTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RecoverableTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="EstimatedTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ServiceCost"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierContact"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSite"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Supplier"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InvReplenishment"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Category"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CategoryDescription"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ItemNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="OperationReference"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="WorkOrder"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UnNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="HazardClass"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="LineType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="VendorNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DestinationOrganization"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SourceDocType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SourceDocNum"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DisplayRateType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InfoTemplateName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="INVENTORY_ITEM_ID"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ORGANIZATION_ID"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ProjectNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="25"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ReqAwardId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CodeCombinationId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="AwardNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="15"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TaskId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TaskNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="25"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ProjectId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ChargeAccount"
          IsQueriable="false"
          IsPersistent="false"
          Precision="2000"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TrasactionCode"
          IsQueriable="false"
          IsPersistent="false"
          Precision="30"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="GLDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureItemDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureOrganizationId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureOrg"
          IsQueriable="false"
          IsPersistent="false"
          Precision="240"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="30"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CategoryEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ItemDescEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="LineDisabled"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateDateEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateTypeEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CurrencyEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="AmountEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="PriceEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="QuantityEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UomEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ContractNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="MfrPartNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="MfrEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplItemNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplFaxEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplEmailEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplPhoneEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplContactEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplSiteEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TxnTotal"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ApprovalTotal"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="EnterChargeAccount"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Multiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="GlEncumberedDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InfoTemplateInternalName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="NewSupplier"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="PcardUsed"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RestrictSupplierType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RestrictCategoryFlag"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CommodityId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Urgent"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Job"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSelected"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSwitcher"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenseAmount"
          IsQueriable="false"
          IsPersistent="false"
          Type="oracle.jbo.domain.Number"
          ColumnType="NUMBER"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CandidateFullName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddAccountDistributionRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddOneTimeAddrRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddProjectDistributionRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAmountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsDeliverToLocationReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsDestinationTypeReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsEditDelOneTimeAddrRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsEnterChargeAccountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureTypeMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <View

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • Wrong results for context search on empty element tags

    I'm using Oracle DBMS 11.1 and 11.2 and created a context index on an XML column (section group: PATH_SECTION_GROUP).
    When entering a query like
    SELECT count(*) FROM my_table t WHERE contains (t.co_xml,'hasPath(/tag1/tag2)') > 0
    I get wrong results if tag2 is an empty element tag (<tag2/>) that appears somewhere within the
    XML instance, but NOT directly under tag1.
    E.g., the following XML instance is found (but shouldn't!):
    <a>
    <tag1>bla<tag3>bla</tag3></tag1>
    <tag4>bla<tag2/></tag4>
    </a>
    This seems to happen only for empty element tags. Is this a known bug and does anybody know a workaround?
    Thanks in advance for your help!
    Roman

    I am unable to reproduce the problem. Can you provide a copy and paste of an actual run, including create table, insert data, create index, and select, as I have done below?
    SCOTT@orcl_11g> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SCOTT@orcl_11g> create table my_table
      2    (co_xml     xmltype)
      3  /
    Table created.
    SCOTT@orcl_11g> insert into my_table values (
      2  xmltype ('<?xml version="1.0"?>
      3  <tag5>
      4    <tag1>bla<tag3>bla</tag3></tag1>
      5    <tag4>bla<tag2/></tag4>
      6  </tag5>'))
      7  /
    1 row created.
    SCOTT@orcl_11g> create index my_idx
      2  on my_table (co_xml)
      3  indextype is ctxsys.context
      4  parameters ('section group ctxsys.path_section_group')
      5  /
    Index created.
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag2)') > 0
      4  /
      COUNT(*)
             0
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag3)') > 0
      4  /
      COUNT(*)
             1
    SCOTT@orcl_11g>

  • Converting Oracle XML Query Result in Java String by using XSU

    Hi,
    I have a problem by converting Oracle XML Query Result in Java
    String by using XSU. I use XSU for Java.
    For example:
    String datum=new OracleXMLQuery(conn,"Select max(ps.datum) from
    preise ps where match='"+args[0]+"'");
    String datum1=datum;
    I become the following error:
    Prototyp.java:47: Incompatible type for declaration. Can't
    convert oracle.xml.sql.query.OracleXMLQuery to java.lang.String.
    Can somebody tell me a method() for converting to solve my
    problem??????
    Thanks

    Hmmm.. Pretty basic just look at the example:
    OracleXMLQuery qry = new OracleXMLQuery(conn,"Select max(ps.datum) from preise ps where match='"+args[0]+"'");
    String xmlString = qry.getXMLString();
    Hi,
    I have a problem by converting Oracle XML Query Result in Java
    String by using XSU. I use XSU for Java.
    For example:
    String datum=new OracleXMLQuery(conn,"Select max(ps.datum) from
    preise ps where match='"+args[0]+"'");
    String datum1=datum;
    I become the following error:
    Prototyp.java:47: Incompatible type for declaration. Can't
    convert oracle.xml.sql.query.OracleXMLQuery to java.lang.String.
    Can somebody tell me a method() for converting to solve my
    problem??????
    Thanks

  • ORA-01033 Oracle initialization or shutdown in progress error

    Hi All,
    I am using windows 7 on my 64-bit machine, and I installed oracle database 12c. Everything was installed fine, and i was able to connect to the HR schema. However, the next day when I wanted to connect, I got the ORA-01033 Oracle initialization or shutdown in progress error. What did I do wrong ? and what can I do to fix it ?? Thank you for the help.

    Sorry but there are NO SHORTCUTS!
    I already answered that above and referred you to the docs and an article.
    The doc chapters explain the NEW multitenant architecture in detail. The new 12c architecture is SUBSTANTIALLY different from previous architectures. Until you read the docs about it and understand how it has been implemented you will continue to have NOTHING but problems.
    I know that may sound like just another RTFM but for 12c it is imperative that you understand the new architecture if you want to avoid problems. There is no way to explain it all in the forums; Oracle takes a good two chapters just to cover the basics.
    I also pointed you to an article that shows how to startup the CDB and PDBs manually or write a STARTUP trigger to do it automatically.
    Hopefully you are doing all of this in a VM environment as you seemingly implied in one of your other threads?
    https://forums.oracle.com/thread/2594464
    There are already some VM templates available for 12c
    http://www.oracle.com/technetwork/server-storage/vm/database-templates-12c-11gr2-1972804.html

  • Bug 2679062 - Wrong results possible from multi-column INLIST - though stat

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

  • Error:  The percentage of requests that resulted in internal errors

    I am using grid control with a 10.2 database and I keep getting this error with my http server.
    Currently the error says:
    The percentage of requests that resulted in internal errors is 55.1%
    The metrics are set as warning = 1% and critical =1.5% so obviously this is a little over what we expect.
    I have done some searching and cannot find any info about this metric or the resulting error. I guess I am looking for any help in understanding what this error means and if there is a way to fix it. Any info about how this percentage is calculated would be of help as well.
    thank you

    I've raised an SR on this, asking for more information on the following two Oracle HTTP Server metric alerts:
    The percentage of requests that resulted in failures is 69.09%
    The percentage of requests that resulted in internal errors is 409.09%
    I have found a reoccurring error in my apache logs:
    File does not exist: /app/ora/product/EM10GR2/oms10g/Apache/Apache/htdocs/favicon.ico
    This seems to be something to do with IE 5, so not sure its related.
    I will keep you chaps updated with what oracle come back with.
    Bazza

  • Oracle sys Index rebuild then Getting error Invalid Error Ora-01410

    Oracle sys Index rebuild,
    after Getting error Invalid Error Ora-01410 in alert log file.every Insert ,update and delete.
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    Oracle sys Index rebuild list
    CTXSYS
    EXFSYS
    FLOWS_030000
    FLOWS_FILES
    MDSYS
    OLAPSYS
    ORDSYS
    OWBSYS
    SI_INFORMTN_SCHEMA
    TSMSYS
    WKSYS
    MDSYS
    After rebuild above index im getting error while inserting,update,delete table rows
    Error like 'INVALID ROWID' alert log file
    ANY ONE HELP ME TO RESOLVE THE PROBLEM
    Edited by: 927230 on May 26, 2012 8:51 PM
    Edited by: 927230 on May 26, 2012 8:53 PM

    927230 wrote:
    Oracle sys Index rebuild after Getting error Invalid Error Ora-01410
    Oracle 11.1 version
    Oracle sys Index rebuild list
    CTXSYS
    EXFSYS
    FLOWS_030000
    FLOWS_FILES
    MDSYS
    OLAPSYS
    ORDSYS
    OWBSYS
    SI_INFORMTN_SCHEMA
    TSMSYS
    WKSYS
    MDSYS
    After rebuild above index im getting error while inserting,update,delete table rows
    Error like 'INVALID ROWID'
    ANY ONE HELP ME TO RESOLVE THE PROBLEMwhich came first the error or the rebuild?
    COPY & PASTE whole session & SQL so we can see exactly what you do & how Oracle responds
    post results from following SQL below
    SELECT * FROM V$VERSION

  • Critical: LDAP: query DNS result DNS Hard Error looking up e

    I am not having any luck when trying to connect to all 3 of our LDAP Servers...I get this error in the logs:
    Critical: LDAP: query DNS result DNS Hard Error looking up MyServer.Mydomain.com (A): NXDomain
    It is open through our Firewalls. I don't even see the Test Query reach our Firewalls...any suggestions what I am doing wrong?
    We were using Surfcontrol and it worked fine... :?:

    In Surfcontrol I put the IP without the DN and the query returns all the users.
    In IronPort when I put the IP without the DN and do an Accept query using my email address in the Recipient Address I get the above error.

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

Maybe you are looking for

  • The file is in an unrecognized format

    http://files.me.com/xebeche/p1k7yg The original non-edited picture imports normally without issue. The above image was edited. It was taken with a Nikon D300 and manipulated with Photoshop CS3. I converted the photograph to grayscale, cropped, adjust

  • MyBook external HD not detected

    I wanted to take my iBook with me, so I put the MyBook (Western Digital hard drive) icon in the trash before unplugged the hard drive from the USB drive. Now when I plug the hard drive into the USB port my iBook does not detect the drive. What can I

  • Payment release workflow for MIRO documents

    Hi, I have activated payment release function and successfully able to get workflow item for payment release for FI invoices posted through F-43 and FB60, but not on RE documents which are posted through MIRO, Can some body provide inputs on how to t

  • New File Mask

    I am testing out FMS3 (from FMS2) for linux, and while I'm enjoying some of the new features I'm running into a problem I can't track down... For my FMS2 setup in conf/Server.xml I set the Mask node to 022 so FMS created new files under those permiss

  • Photoshop not relaunching after "crash"

    I do not remember Photoshop crashing, but since today, I can't get it to load Photoshop on Mac Leopard 10.5.5, CS3 (everything up to date). Greatly appreciate any help. Below is the error report: Error report: Process: Adobe Photoshop CS3 [238] Path: