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.

Similar Messages

  • 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

  • How can I replicate a source table that doesn't have any primary keys?

    We have transactional replication setup in our workplace.
    In the source database, there are some tables that do not have any primary key.
    1) How can I get these tables to replicate in the current scenario?
    2) Is it possible to introduce foreign elements in a replicated instance of the database?
    Example, additional records in a table that don't exist in the source or additional tables in the database?

    1) You need to add a primary key to this table. There must be a criteria that the app uses to identify which row it wants to up date or delete. If not you might be able to add an identity column to the table and then add a primary key to it. If this is not
    possible you might want to use snapshot replication or CDC to do change tracking and then something like SSIS or service broker to move the change to the destination server.
    2) yes, but be careful. They should not modify the schema or the data of tables which are being replicated.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • SChannel error- The SSL server credential's certificate does not have a private key information property attached to it.

    We have a public SSL certificate that allows for Active Directory sync with LDAPS on port 636 with our email smart host. This was working fine and suddenly stopped working and we are now getting SChannel errors Event ID 36869. There were no changes made
    to the Exchange server, the firewall or the DC which holds the certificate. I have run a new certreq from the DC and then re-keyed the public SSL certificate and re-installed 3 times but the error does not go away and AD Sync with the vendor
    fails. When I run LDP.exe the connection on port 636 fails with "cannot open connection" and the system event log throws the S Channel event 36869 "The SSL server credential's certificate does
    not have a private key information property attached to it"  There is no software firewall set on the DC. When I run Certutil -VerifyStore MY  it shows the current certificates as well as the revoked and expired certificates
    correctly. Certificate 0 is the public cert and is listed with Server and Client authentication, the FQDN of the server is correct and "Certificate is Valid" is listed. The private cert is Certificate 1 and has server and client authentication, the
    FQDN is correct, Private key is not exportable and it ends with Certificate is Valid. I do not see a point in re-keying the cert again until I figure out what the root of the problem is. I have read in some forums that the private cert should not be set to
    expire after the public cert but that does not make a lot of sense when in a situation like this the private cert is of course newer than the public. In fact it is too early to renew the public cert. I have been troubleshooting this for a few days and at this
    point I would have to drop my AD sync with the vendor to LDAP in order to add new users. I do not want to do that for obvious reasons and I do not want to have our spam filtering and email archive service running without Directory sync. Any help would be greatly
    appreciated.

    Hi,
    Have you tried this?
    How to assign a private key to a new certificate after you use the Certificates snap-in to delete the original certificate in Internet Information Services
    http://support.microsoft.com/kb/889651
    Best Regards,
    Amy

  • Loans document error Document header does not have a reconciliation key

    Hi All,
    I am trying to post a loans document through EK25 and while saving the document following erros is coming
    Formal error: Document header does not have a reconciliation key
    Message no. >0037
    Diagnosis
    You tried to post a document but a reconciliation key is missing from the document header. Since mass processing does not apply here (where the reconciliation key is automatically created) you must enter a reconciliation key.
    System Response
    Error message. Processing is terminated.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    If the program error occurred in an
    SAP standard program, enter a problem message
    Own program, correct the program
    Any input appreciated.
    Thanks,
    VR

    Hi,
    You need to assign the reconcilation group to the SAP user ID you are using to post the loan document.
    The reconciliation group is required if user-specific reconciliation keys are to be proposed automatically.
    The reconciliation group is freely selectable.
    Go to the following path in IMG-
    IMG->Financial Accounting->Contract Accounts Receivable and Payable->Basic Functions->Postings and Documents->Document-.Define Default Values->Maintain Rules for Reconciliation Key Default Values->Maintain Reconciliation Groups for Default Values
    Maintain the SAP User ID that you are using along with a reconciliation group.
    After, you maintained the user ID and saved it, try to post the loan document again.
    Hope it helps..
    Thanks,
    Amlan

  • Error remote table does not contain a primary key

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

  • ORA-12014 table does not contain a primary key constraint

    Hi
    I have some existing Materialised Views I am trying to redeploy through OWB as its now our standard tool.
    The existing code has
    CREATE MATERIALIZED VIEW .......
    .REFRESH ON DEMAND WITH ROWID AS
    SELECT *
    FROM apps.fafg_assets
    When I create in OWB you only put the select statement, there is nowhere to put the 'with rowid ' part hence I get the following error on deployment;
    ORA-12014: table 'FAFG_ASSETS' does not contain a primary key constraint
    I cannot put a primary key on this table though so how do I get around this in OWB? Like I say writing the MV in PL/SQL putting the 'with rowid' bit makes it work?
    Thanks

    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

  • Materialized View - does not contain a primary key constraint

    I am trying to create materialized view. I gone through the MV wizard creation. Added 2 columns (foo_column, foo_pk) of the table and have a simple select statement (Select foo_column from foo_dim). Also created a primary key contrainst and refencing the primary key (FOO_PK) of the dimension.
    I am getting the following error:
    ORA-12014: table 'FOO_DIM' does not contain a primary key constraint

    It was solved. The table that I am querying has to have a primary key defined before creating a materialized view.

  • ORA-12014: table 'DBA' does not contain a primary key constraint

    Hai
    when implementing basic replication i got the below error.
    ORA-12014: table 'DBA' does not contain a primary key constraint
    I was wondering primary key is enable at remote table
    Any idea about this
    Regards
    mohan
    I am giving below example
    AT master site
    global_names=false in init.ora file
    sql>create table dba(no number primary key);
    table created
    and create snapshot log
    sql>create snapshot log on m1;
    materilized view created
    AT SNAPSHOT SITE
    1.Create service using net8 stiring name like n1
    2.create database link
    sql>create public database link m3 connect to system identified by manager using 'n1';
    Database link created.
    3.when creating snapshot site i got below error
    SQL> create snapshot snap1 refresh fast start with sysdate next sysdate+1/(24*60
    *60) as select * from dba@m3;
    create snapshot snap1 refresh fast start with sysdate next sysdate+1/(24*60*60)
    as select * from dba@m3
    ERROR at line 1:
    ORA-12014: table 'DBA' does not contain a primary key constraint

    Hello,
    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site.
    You can also use our new offering called OTN Service Network:
    For Oracle Advice/Minimal Support (fee based) on the Oracle Database Server, Oracle9i Application Server Containers for J2EE (OC4J), Oracle9i JDeveloper, Reports, Forums, SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/go/?&Src=912386&Act=45
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink
    Regards,
    OTN

  • I cannot run iPhoto after update to Yosemite.  I cannot update iPhoto because the application store does not have any iPhoto update available.  Anyone can advice how to overcome this hassle?

    After update to Yosemite 10.10.3 the iPhoto program icon is banned and there is an error message that an update is required to run iPhoto, but the application store shows a message that iPhoto does not have any update available at this time.  There is not even any iPhoto program available on the application store.  Any suggestion on how to solve this annoyance?

    mende1 wrote:
    Unfortunately, Apple has removed both iPhoto and Aperture from the Mac App Store so they cannot be downloaded anymore. This means you are forced to migrate to Photos (included in OS X 10.10.3) or, if this app does not include features you need, look for a different app.
    Not true. Apple has removed both Apps from App Store so you cannot buy them anymore. But if you have any of these Apps already purchased in the past, then you can still download them on your Mac.
    Aristotle247 wrote:
    After update to Yosemite 10.10.3 the iPhoto program icon is banned and there is an error message that an update is required to run iPhoto, but the application store shows a message that iPhoto does not have any update available at this time.  There is not even any iPhoto program available on the application store.  Any suggestion on how to solve this annoyance?
    Open App Store, sign in with your Apple ID and go to Purchases tab. If you see iPhoto app listed there close down the App Store and do this steps as this is what worked for me:
    Open Finder and go to Applications folder.
    Locate iPhoto app
    Drag iPhoto app from your Applications folder to Trash (NOTE: Do not emptied Trash yet)
    Open App Store app and navigate to Purchases tab.
    Click on Install button which is next to the iPhoto app (on the right hand side).
    Once iPhoto is downloaded again, test it if its working for you. If all is ok, you can remove your Trash.

  • Can EJB 3.0 beans be used with tables that do not have a primary key?

    Can a EJB 3.0 persistence bean be used with tables that do not have a primary key defined? I am building a test application based on the HowTo - Building EJB 3.0 Faces App paper posted after Openworld (schalk). The issue I am running into when trying to run the application is: Exception Description: Entity class [class com.persistence.Rpthead] has no primary key specified. Note: I get a simular error when using toplink directly.
    The tables I am binding to do not have primary keys defined. They use unique constraints to manage the table integrity.
    Is it possible to use EJB 3.0 on tables without a primary key? If not, are there plans to support this in the future?

    The spec requires a primary key Id annotation. I will take your suggestion to EJB 3.0 expert group.
    Can you also send an email to [email protected] with your requirement?
    -Debu

  • Terminal server does not have any installed licenses

    Good morning! Faced with a some trouble while configuring Terminal Server (Windows Server 2012 based). I selected licensing mode "Per User" and now I see this message:
    “The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode, but license server “server name” does not have any installed licenses with the following attributes:
    Product version: Windows Server 2008 or Windows Server 2008 R2
    Licensing mode: Per User
    License type: RDS CALs”
    So this is trial using of terminal server - I have 25 days yet but already today I can't connect to server using RDP. There is an error message about absent licensing server. How can I activate licenses in trial mode? Thank you for support.

    Hi,
    Thank you for posting in Windows Server Forum.
    From the error description it seems that your issue caused by setting up different Licensing mode. We need to install the proper RDS CAL on the License server.  If the license server has installed licenses of the other mode, changing the licensing mode
    for the terminal server may also resolve the issue. 
    To change the Licensing mode we can use RD Licensing diagnoser or by PowerShell command. 
    To change the licensing mode on RDSH/RDVH:
    $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    $obj.ChangeMode(value) - Value can be 2 - per Device, 4 - Per user
    Please refer below article for information.
    RD Licensing Configuration on Windows Server 2012
    http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
    Have you installed License server on Server 2012 and you have RDS CAL of Server 2008 R2?
    If that’s the case then first you need to purchase the RDS CAL for server 2012 and then you can configure on server 2012 because server 2012\R2 RDS CAL can work with lower version OS but Server 2008 R2 RDS CAL can’t work on Server 2012\R2.
    Please check computability matrix.
    RDS and TS CAL Interoperability Matrix
    http://social.technet.microsoft.com/wiki/contents/articles/14988.rds-and-ts-cal-interoperability-matrix.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • AZURE The specified certificate could not be found in the LocalMachine certificate store,or the certificate does not have a private key.

    Hello,
    I try to make a HV website in Azure. It took me hours to figure out how to make a HV certificate with my own password. But I figured it out. With the HV application manager I uploaded the certificate to the HV platform. This worked fine. Then I created a
    c# project with also works well on my local machine.
    This is the code I use in the web.config
    <appSettings>
    <add key="ApplicationId" value="24ee15be-1497-4719-ad70-d1223adbf021" />
    <add key="ShellUrl" value="https://account.healthvault-ppe.co.uk/" />
    <add key="HealthServiceUrl" value="https://platform.healthvault-ppe.com/platform/" />
    <!-- when we call the SignOut() method on HealthServicePage, it redirects us to the page below -->
    <add key="NonProductionActionUrlRedirectOverride" value="Redirect.aspx" />
    <!-- The redirect page (specified above) uses these keys below to redirect to different
    pages based on the response from the shell -->
    <add key="WCPage_ActionHome" value="default.aspx" />
    <add key="WCPage_ActionAppAuthSuccess" value="default.aspx" />
    <add key="WCPage_ActionSignOut" value="SignedOut.aspx" />
    </appSettings>
    Next step is to deploy the site to Azure. I was able to upload the certicate to Azure.
    After deploy I get the following error:
    System.Security.SecurityException: The specified certificate, CN=WildcatApp-24ee15be-1497-4719-ad70-d1223adbf021, could not be found
    in the LocalMachine certificate store,or the certificate does not have a private key.
    I checked the certificate on another server with a different key in the web.config
    <add key="ApplicationCertificateFileName" value="c:\Zodos\website\WildcatApp-24ee15be-1497-4719-ad70-d1223adbf021.pfx"/>
    This gives me this error:
    Exception Details: System.Security.Cryptography.CryptographicException: The specified network password is
    not correct.
    So the procedure I followed definitely was not correct:
    It works on my local machine
    It doesn't work on another server or on Azure
    I can see that the procedure I follow is not correct, but what am I doing wrong?
    Wilfred

    I am having the same problem. I see I have updates thru the Mac App Store but when I try and run the System updates in the Mac App Store it errors out. But I can update third party apps.
    Have even tried going thru Terminal to check for software updates but still have same error claiming it can not find the hostname server.
    Jefre

  • Workflow Manager Configuration - Certificate with Thumbprint does not have a private key

    After following the video series on how to install and Configure Workflow Manager into SharePoint 2013 http://technet.microsoft.com/en-us/library/dn201724(v=office.15).aspx,
    I get to the 'Configure Certificates' section in the Workflow Manager Configuration:  I browse to our wildcard certificate and select it.
    When I try to move to the next page of the configuration wizard, I get the following red error under the certificate:
    Certificate with thumbprint LONG STRING does not have a private key.
    I checked the properties of the certificate, and it says: You have a private key that corresponds to this certificate.
    What am I missing??
    Thank you.
    macrel

    Hi,
    According to your post, my understanding is that you got error under the certificate.
    Please make sure you configure the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Installing and Configuring Workflow Manager 1.0
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for