No primary key attribute and does not support rowId -- URGENT : ADF Swing

Hi , i have created a view and while create Entity Object through Business Components wizard for that view i am getting following error.
ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
very urgent.
Jdeveloper version :: 10.1.3.1.0
oracle version :: 10g
view script is :
SELECT
oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
oh.cust_po_number customer_po,
ol.flow_status_code status,
ol.shipping_method_code carrier,
ol.ordered_item item_no,
nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
nvl(mtl.description , 'na') description,
nvl(org.organization_name , 'oak park') ship_from,
hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
nvl(ol.promise_date, sysdate) promised_date,
nvl(ol.ordered_quantity, 0) order_quality ,
xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
nvl(ol.shipped_quantity, 0) shipped_quality ,
ol.order_quantity_uom uom,
hp.party_name customer_name,
jrs.name sales_person_name,
0 refer
FROM
oe_order_headers_all oh,
oe_order_lines_all ol,
hz_cust_accounts hca,
hz_parties hp ,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
org_organization_definitions org ,
mtl_system_items_b mtl ,
jtf_rs_salesreps jrs
WHERE
oh.header_id = ol.header_id and
oh.org_id = ol.org_id and
oh.sold_to_org_id = hca.cust_account_id and
hca.party_id = hp.party_id and
hcas.cust_account_id = hca.cust_account_id and
hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
hcas.party_site_id = hps.party_site_id and
hps.location_id = hl.location_id and
hcsu.site_use_id = oh.ship_to_org_id and
hcsu.site_use_code = 'SHIP_TO' and
org.organization_id = ol.ship_from_org_id and
org.organization_id = mtl.organization_id and
ol.inventory_item_id = mtl.inventory_item_id and
ol.ship_from_org_id = mtl.organization_id and
ol.salesrep_id = jrs.salesrep_id and
ol.org_id = jrs.org_id
can i know will it check for any constraints while correlation multiple table or whether this type of exception can be sorted out .
need help looking forward to reply...
Regards
bhanu prakash
Message was edited by:
user579125
Message was edited by:
user579125

User,
I assume that this is for read-only activity. If so, don't create an EO from the database view; create a read-only view object instead. The only reason you'd want to use an Entity Object is if you were going to insert/update through the EO; unless you have an instead-of trigger, this database view is non-insertable/non-updatable.
Short answer: I think what you want to do is a read-only View Object (not EO) - put "select x, y, z (your columns) from view_name" as the SQL.
John

Similar Messages

  • "Item Containing Primary Key Column Value" does not display records

    Hello,
    We are developing a new page where an "Automated Row Fetch" process is needed.
    With other pages we experienced no issues. But with a new one, when defining the value for the field “Item Containing Primary Key Column Value”, Apex displays no rows.
    As far as we know, Apex should display all the fields defined for the page. Is there any property which affects the fields visibility?
    The affected page has textarea and text fields.
    Thanks in advance.

    Hello,
    Sorry, we have already detected that the problem was at field definition.
    Fields should be defined as "Source Type: Database Column". They were wrong defined.
    Thanks.

  • ORA-02070: database HS_ABS_VW does not support ROWIDs in this context

    I have two heterogeneous connections with sql server in Oracle 9i. These are the inv_ tables and abs_ tables (HS_ABS_VW ) . When I add the inline view bas the ORA-2070 error will occur. When I run these separatly they run fine.
    Anybody an idea?
    SELECT week,toetsopdracht,gewas,rasnaam,batch,zaden,rn_total as "Start",Eind,Box || let || bereik as Labcode,Protocol
    FROM
         SELECT a.*,
                lead(let,1) over (partition by box,protocol order by box,protocol) as bereik,
                 lead(rn_total,1) over (partition by box,protocol order by box,protocol) as eind
         FROM
              SELECT sdu.u_week_of_processing as Week,
                     ad.method_code as ToetsOpdracht,
                      ap.crop_description as Gewas,
                      ad.variety_name as RasNaam,
                      ad.batch_number as Batch,
                      ad.number_of_seeds as Zaden,
                      sau.u_box_code as Box,
                      p.name as protocol,
                      bas.primertype,
                      bas.uitslag,
                      count(*) over (partition by sau.u_box_code,p.name) tel,
                      row_number() over (partition by sau.u_box_code,p.name order by sau.u_box_code,p.name,sau.u_box_position) rn_box,
                      row_number() over (partition by p.name order by sau.u_box_code,p.name,sau.u_box_position) rn_total,
                      substr(sau.u_box_position,1,1) let
              FROM sdg sd,sdg_user sdu,sample sa,sample_user sau,aliquot a,test t,test_user tu,u_protocol p,abs_determinations ad,abs_primaries ap,
                   SELECT distinct ge.gewasnaam,gr.groepnaam,r.abs_product_number, r.abs_reciproke, p.primernaam, pt.primertype,u.uitslag
                   FROM inv_uitslagteelten u, inv_primers p, inv_rassen r,inv_teelten t,inv_groepen gr,inv_gewassen ge,
                        SELECT k.teeltid, k.primerid,
                                concat(max(case when k.primertype = 'f' then 'f' else null end),max(case when k.primertype = 'i' then 'i' else null end)) primertype
                        FROM
                                SELECT teeltid,primerid,'f' as PrimerType
                                FROM inv_uitslagteelten
                                WHERE onderscheidgroep = 1
                            UNION
                                SELECT teeltid,inteeltprimerid as primerid,'i' as PrimerType
                                FROM inv_teelten
                                WHERE inteeltprimerid is not null
                        ) k
                        GROUP BY k.teeltid,k.primerid
                   ) pt
                   WHERE pt.teeltid = u.teeltid
                   AND pt.primerid = u.primerid
                   AND pt.primerid = p.primerid
                   AND pt.teeltid = t.teeltid
                   AND t.rasid = r.rasid
                   AND t.groepid = gr.groepid
                   AND gr.gewasid = ge.gewasid     
              ) bas
              WHERE sdu.u_abs_determination = ad.determination_assignment
              AND sdu.u_abs_product_number = ap.product_number
              AND sd.sdg_id = sdu.sdg_id
              AND sd.sdg_id = sa.sdg_id
              AND sa.sample_id = sau.sample_id
              AND sa.sample_id = a.sample_id
              AND a.aliquot_id = t.aliquot_id
              AND t.test_id = tu.test_id
              AND tu.u_protocol_id = p.u_protocol_id
              AND sdu.U_ABS_GROUP_CODE = bas.groepnaam
              AND sdu.U_ABS_PRODUCT_NUMBER = bas.abs_product_number
              AND sdu.U_ABS_RECIPROKE = bas.abs_reciproke
              AND p.name = bas.primernaam
              AND sd.sdg_id = 391
         ) a
         WHERE rn_box = 1 OR tel = rn_box
    WHERE rn_box = 1

    Very strange! Can someone explain to me why I don't get tjhe error when leaving the distinct out from the inline view pt?

  • OWB 10gR2 Does not support DML Error Logging

    I've just had this confirmed by support.
    So Oracle's key ETL tool does not support 10gR2s key ETL feature DML Logging.
    So far set based loads on large volume databases you are going to find yourself being tripped over into row by row processing.
    I find this staggering.
    Has anyone else found this?

    Oracle has come back to us saying that
    "DML error logging feature is not supported for distributed DML."

  • Mycomputer does not support firefox 16 how do I go back to 15

    My computer is older and does not support firefox 16. i downloaded it because one of the websites i visit asked me to and now I cannot use firefox at all. Can I go back to 15

    Hello jgartin88
    Firefox 4 versions and later '''''do not run on a PowerPC Mac(like yours)''''' and require at least OS X 10.5 and '''''an Intel Mac'''''.
    15.0 need Intel also, [http://www.mozilla.org/en-US/firefox/15.0/system-requirements/ Firefox 15.0 System Requirements]
    The latest supported version for your mac is '''''3.6.28''''' you can download from here(but remember '''''works but it is unsupported'''''):
    http://www.mozilla.org/en-US/firefox/all-older.html
    [http://www.mozilla.org/en-US/firefox/3.6/system-requirements/ Firefox 3.6 System Requirements]
    1. Download a new copy of the Firefox program(3.6.28) from the above link
    2. '''''Trash''''' the current Firefox application to do a clean (re-) install.
    3. Install the new version that you have downloaded(3.6.28).
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks or other personal data.
    see also: [https://support.mozilla.org/en-US/kb/install-firefox-mac?redirectlocale=en-US&redirectslug=Installing+Firefox+on+Mac Installing Firefox on Mac]
    [For older Macs that aren't supported in Firefox 4+ versions, if you like, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8]
    http://www.floodgap.com/software/tenfourfox/
    http://tenfourfox.blogspot.com/
    https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Error : Rowkey does not have any primary key attributes

    Hello All,
    I'm developing an ADF application which has a few ADF forms. The forms have VO's and some tables.
    On running, I seem to be getting this error
    <Error> <oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet> <BEA-000000> <ADFv: Rowkey does not have any primary key attributes. Rowkey: oracle.jbo.Key[], table: oracle.jbo.server.ViewObjectImpl@2ecf4f19.>
    Where does the Rowkey have to be set? Is it in the VO?
    Regards,
    PP

    Make sure that the VO's you use have at least one attribute selected as a key attribute. GO to View Object overview editor and select attributes tab, see whether there is at least one attribute marked as a key. If not select the most appropriate attribute from the list of fields and go to edit attribute dialog, tick the key attribute property.

  • Getting ADFv: Rowkey does not have any primary key attributes

    Hi
    I am using 11.1.1.5.0 version of JDeveloper.
    The ViewObject has DistaccountId,OperatingUnit,PricingCategoryId,PartyId as Primary Key and
    the EntityObject also has DistaccountId,OperatingUnit,PricingCategoryId,PartyId as Primary Key
    and my Table also has the same set of attributes(DistaccountId,OperatingUnit,PricingCategoryId,PartyId) as Primary Key .
    I am getting the following error on Create,Update Operation -
    "<CurrencyRowKeySet> <_computeCurrentRowKey> ADFv: Rowkey does not have any primary key attributes. Rowkey: oracle.jbo.Key[], table: oracle.jbo.server.ViewObjectImpl@6c41af."
    Also,when i choose a row for Update operation,the pop-up that opens up holds the values for some other record.
    Please suggest.

    I'm not too sure but can you check if you have the following text in your page source ?
    selectedRowKeys="#{bindings.<TreeBindingName>.collectionModel.selectedRow}"
    selectionListener="#{bindings.<TreeBindingName>.collectionModel.makeCurrent}"

  • View object SponsorVwView does not include a primary key attribute RowId

    Hi,
    I have an Entity Object and a View Object which do not have a primary key. So I use a ROWID to act as one. The only thing is that sometimes I get this error which causes the application to fail on the server:
    JBO-30003: The application pool (gov.fda.cber.pts.model.services.CberPtsServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26028: View object SponsorVwView does not include a primary key attribute RowId of entity base SponsorVw.
    Does anyone have any any ideas on this?
    Thank you in advance

    Hi...
    I believe you'll need a PK so Oracle will know how to update the MV. Is there any particular reason for you not having a PK in FAFG_ASSETS table? As an alternative, you may want to create a new column in this table and having a table trigger/sequence populating this column.
    But It looks like you are using EBS, so, I don't know if you can add new columns to tables.
    See if this thread can help you:
    Re: ORA-12014: table 'XXX' does not contain a primary key constraint
    Regards,
    Marcos

  • [BUG] Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut and does not have a custom one.

    Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut which is `command + shift + [` and does not have a custom one.
    I tried "delete" key which is backspace for Windows. It will do delete identical to "delete X" key (which is delete key for Windows).
    Sidenote: `command + shift + \` is to go back in views (switch views), not folder structure.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

  • Siri keeps telling me "your calendar does not support location-based reminders" when I ask her to remind me to feed the cat when I get home. My address is in contacts and it has worked previously. Did iOS 8 change something?

    calendar does not support location-based reminders....
    i Just found a similar question below and it resolved my issue. Turn off the sync to exchange email and all works fine now.

    Couldn't agree more.  I've been *trying* to use location reminders ever since buying my iPhone 4S but as yet, out of many, many attempts they've only actually worked once.
    The kid problem is very simple, the way the phone needs the location to be an address in your address book, and it's subsequent inability to correctly locate the address. My home address is a correct postal address, and has been unchanged for 40+ years, yet clicking on my address from my own contact entry puts my location some distance down my street.
    Whilst I understand the issue with the address lookup, it seems to be a massive problem with the location based reminders as it's just not possible to set useful reminders.
    What if I want to remind myself of something when I arrive at the car park on a shopping trip?  There is no address for that in my contacts, I just want to pinpoint the location on the maps and say 'remind me when I get there'.  Surely that's the simplest my far.  Same with address book contacts, if you had a field with the gps position in then one could tag the locations and know they were 100% accurate for location services.
    Such a shame as it's one of the key reasons I upgraded my phone and as it stands it just plain doesn't work.

  • AS I  FOUND OUT LATE, LION DOES NOT SUPPORT ROSETTA, WHICH SUPPORTS QUICKEN AND CLASSIC AOL, AND MANY OTHER APPS. CAN I TAKE LION AWAY AND GO BACK TO SNOW LEOPARD?

    I found out after the install of LION, that it does not support Rosetta, which runs Quicken and the classic AOL software and a myriad of other apps.
    Can I go back to Snow Leopard? Is there a way to retrieve my thousands of saved E mails, which are saved on my Mac?
    I still see the filing cabinet with my screen name but cannot get them to open.
    Please help! Lion may roar, but the fact it does not support apps like quicken means it purrs.

    I had the Apple store wiped out my hard drive and I restore my last hard drive downloard by first placing Snow leopard DVD in the DVD drive and holding "C" when turning on the machine then I follow the instructions. I am back on snow leopard and trying out two finance software to replace Quicken for mac 2007. I am trialing Quicken essentials and ibank. They are both compatable with LION. So when I am ready will download Lion again. Also, Micorsoft Office needs to be 2011 version for it to work on Lion

  • [svn] 3045: Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

    Revision: 3045
    Author: [email protected]
    Date: 2008-08-29 10:59:25 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Fix FB-13900: Expression Evaluator: 'is' and 'as' expressions return 'Target player does not support function calls'
    Ticket Links:
    http://bugs.adobe.com/jira/browse/FB-13900
    Modified Paths:
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
    flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

  • I have a mid 2009 Macbook Pro and i know the Mini-display port does not support audio out but does it support HDMI out? or do i have to buy a Mini-display to DVI and then a DVI to HDMI adapters?

    I have a mid 2009 Macbook Pro and i know the Mini-display port does not support audio out but does it support HDMI out? or do i have to buy a Mini-display to DVI and then a DVI to HDMI adapters?

    Run MDP to HDMI for picture. Use a cable like this to run sound from your audio out on your Mac to your TV's audio in.  That's about all  you can do.

  • Hi... I would like to purchase a Tablet Sony Xperia Z 2 10.1 (the last one of the Z series) and I was told that Adobe does not support Sony anymore.... I need to be able to open and read Adobe PDF files and I would like to know if this tablet can still us

    Hi... I would like to purchase a Tablet Sony Xperia Z 2 10.1 (the last one of the Z series) and I was told that Adobe does not support Sony anymore.... I need to be able to open and read Adobe PDF files and I would like to know if this tablet can still use Flash Player...
    Is there anyo who can help me with this? I asked in the shop and I was told "yes of course" , but when I contacted Sony directly I was advised to check with Adobe as apparently in the recent months Adobe and Sony haven't been getting along anymore...

    You may be mixing up two entirely different Adobe products.
    1. Adobe Flash Player. Needed to view web pages designed with Flash. Not needed to view PDF files. Not available for Android (not just Sony).
    2. Adobe Reader. Reads PDF files. However, the Android can also read most PDF files without needing Adobe Reader.

  • I want to use icloud on my macbook and cant because I am using OSX10.6.8 - I want to upgrade this but I cant upgrade to mountain lion as my mac does not support this - cannot find a way to go to Version 10.7.4 which i understand supports icloud - help

    want to use icloud on my macbook and cant because I am using OSX10.6.8 - I want to upgrade this but I cant upgrade to mountain lion as my mac does not support this - cannot find a way to go to Version 10.7.4 which i understand supports icloud - help to do this please

    If you purchased Lion for your iMac, just log into the Mac App Store from your MacBook using the Apple ID under which you purchased Lion and go to the Purchases page. You will be able to download and install Lion there. 
    searching the internet i found a link to upgrtade to 10.7
    The only place you get get Lion is from the Mac App Store. If you found some other site, that was an illegal copy and almost certainly tied to someone else's Apple ID and hence unusable by you. If the link was just to the Mac App Store, see above.
    As to the problem with synchronization to iCloud, that's not a 10.6 question, so I'd suggest you take up that specific issue in either the Lion or iCloud forums, providing full details, and someone there can probably help you sort things out.
    Regards.

Maybe you are looking for

  • IPod cannot be updated from iTunes 7

    The iPod will not update to version 1.2 from iTunes 7. The iPod will not Restore from iTunes 7. The message I receive is the following. Any thoughts?? The iPod cannot be updated because it contains files that are in use by another applacation Dual co

  • Account 411655 requires an assignment to a CO object

    Hi Account 411655 requires an assignment to a CO object Message no. KI235 Diagnosis You have not defined a CO account assignment for an account that is relevant to cost accounting. Pls help to solve this issue............ Regards K

  • Firefox unable to update - Help please

    Hello, I am trying to install the latest update of Firefox from 3.6.3 to the new update 3.6.6 and I get the following message: "A recommended security and stability update is available but you do not have the system permissions to install it. ....."

  • Leak memory in xerces DomParser

    Hey, I have " leak memory " in my Java application (Stand alone). I suspect that this leak caused by xerces DomParser. i reached to this conculsion after using in Jprobe as a memory debuger. Does any one has a similar problem? Thank you. code: DOMPar

  • Page Numbering FM 9.0

    Hi I am a raw newbie trying to learn FM mostly by myself.  I have a small book, which I am treating like a document, to which I would like to add page numbers. I have the master pages set up.  I would like the regular numbering (page 1, 2 etc.) to st