| Summary: | Whitespace should be ignored by persistence.xml parser | ||
|---|---|---|---|
| Product: | [RT] Gemini.JPA | Reporter: | Tom Ware <tom.ware> |
| Component: | Core | Assignee: | Michael Keith <michael.keith> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 1.0.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed. Added trimming. |
Gemini JPA won't match the persistence provider defined in the xml if it is defined like this: <provider> org.eclipse.persistence.jpa.PersistenceProvider </provider> The parser keeps the whitespace characters including "\n" and spaces so when Gemini compares the provider defined in the persistence.xml with the legal providers, the comparison fails. To Recreate: Deploy a persistence unit on Gemini using EclipseLink as the provider with provider defined as above. Workaround: <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>