Bug 370848 - Composite Keys (Embedded IDs) not working with Dynamic Eclipse Link API (2.3.2)
Summary: Composite Keys (Embedded IDs) not working with Dynamic Eclipse Link API (2.3.2)
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC other
: P2 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 11:02 EST by Khurram Riaz CLA
Modified: 2022-06-09 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Detailed Stack Trace (6.13 KB, text/plain)
2012-02-07 11:07 EST, Khurram Riaz CLA
no flags Details
Sample project (440.45 KB, application/octet-stream)
2012-02-07 11:19 EST, Khurram Riaz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khurram Riaz CLA 2012-02-07 11:02:42 EST
Build Identifier: Eclipse Persistence Services - 2.3.2.v20111125-r10461

Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: An internal error occurred accessing the primary key object [202].
Internal Exception: java.lang.NoSuchFieldException: ProductID
Descriptor: RelationalDescriptor(com.lgc.dsl.model.Products --> [DatabaseTable(Products)])


For full stack trace and sample project please see attachments.

Reproducible: Always

Steps to Reproduce:
1. Deploy the attached sample on JBoss 7.1CR.
2. Run the attached sample project to reproduce.

Note: SQL Northwind database is used as a data source in the sample
Comment 1 Khurram Riaz CLA 2012-02-07 11:07:25 EST
Created attachment 210660 [details]
Detailed Stack Trace
Comment 2 Khurram Riaz CLA 2012-02-07 11:19:44 EST
Created attachment 210661 [details]
Sample project
Comment 3 Khurram Riaz CLA 2012-02-07 11:22:34 EST
- eclipselink.jar 2.3.2 need to be added to run the sample
Comment 4 Tom Ware CLA 2012-02-17 10:47:02 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:33:00 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink