| Summary: | CHAR(2) column on Oracle not handled correctly (data truncated) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Mike Norman <michael.norman> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P2 | CC: | eclipselink.dbws-inbox | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 187127 [details]
set attributeClassification to String for CHAR(nn) fields
fix in SVN revision: 8848 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
{NB - an internal Oracle tester found this problem} When parsing the JDBC metadata for a table column's type, a CHAR(2) column (or any CHAR(NN) field) is not handled correctly. The mappings attributeClassification is set to java.lang.Character which leads to all values being truncated to a single character. The proper attributeClassification is java.lang.String