| Summary: | Bug in PlainDriverDataSource isWrapperFor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Gemini.JPA | Reporter: | Gunnar Wagenknecht <gunnar> | ||||
| Component: | Core | Assignee: | Michael Keith <michael.keith> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | Flags: | michael.keith:
iplog+
|
||||
| Version: | 1.0.0 | ||||||
| Target Milestone: | 1.0.0 RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Comment on attachment 193345 [details]
patch
The patch also contains a project settings which prevents formatting of the code on save. This file can be skipped, though.
Thanks for entering. Fixed both isWrapperFor() and unwrap() methods to comply with Wrapper interface including correct semantics of the method and throwing SQLException when appropriate. Released into RC2. |
Created attachment 193345 [details] patch acording to the usage in unwrap isWrapperFor should return true when the class matches, otherwise unwrap would throw a ClassCastException