| Summary: | EvaluationException/ClassCastException: java.lang.String cannot be cast to java.lang.Long when using generic MappedSuperclass | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Andreas Steinwachs <andreas> | ||||||
| Component: | Eclipselink | Assignee: | Guy Pelletier <guy.pelletier> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | andreas, eclipselink.orm-inbox, guy.pelletier, michael.f.obrien | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 312132 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Andreas Steinwachs
Created attachment 175825 [details]
The stack trace
Created attachment 175826 [details]
The test case
F Changed the headline as it doesn't really matter if there's a one to one relationship involved, it's rather the generic mapped super class id that seems to be the problem. I was unable to reproduce this error off the 2.2 stream. I was able to reproduce it off the 2.1.1 stream however. Therefore, I suspect the following bug fix corrected this issue as well, BUG 312132 Nightly builds can be downloaded here: http://www.eclipse.org/eclipselink/downloads/nightly.php Thanks Guy, I have tried the 2.2 stream and it seems to work so far, but as I ran into a couple of other issues I will have to reconfirm later. Well, so far this issue seems to be resolved in deed. May be closed in my opinion. Fixed in the latest streams. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |