Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The primary key fields are not set for this descriptor

189123Oct 11 2009 — edited Oct 12 2009
Hello

I am working on a new toplink project, I have a question regarding whether to set a primary key for a table?

Because I am trying to access a db table which doesn't have a primary key and this table doesn't require a primary key. So is it a must to have primary key in order to access from toplink?

I am getting the following exception when I run the code
Exception [TOPLINK-74] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): 
oracle.toplink.exceptions.DescriptorException
Exception Description: The primary key fields are not set for this descriptor.
Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2009
Added on Oct 11 2009
4 comments
2,734 views