| Summary: | Regression in element collection join column validation | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.orm-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | guy.pelletier |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Karen Butzke
For this model to work correctly right now, you need to set the case insensitivity flag, that is, the property: eclipselink.jpa.uppercase-column-names to true. That property currently defaults to false, meaning for the attribute private int discriminator; it defaults the field name to 'DISCRIMINATOR' whereas the referenced column name refers to 'discriminator' and these are therefore treated as two different fields. Once bug 294267 is fixed, we will be case insensitive by default and this model will work as is. *** This bug has been marked as a duplicate of bug 294267 *** Also, I did add the 'not' to the exception string, thanks for catching that. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |