| Summary: | In absence of PropertyChangeListener set method is not woven for FetchGroups | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrei Ilitchev <andrei.ilitchev> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 244124 | ||
Fixed. See "Patch fixes non-weaving for fetch groups if not weaved for change tracking - Updated." in bug 244124. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
With PropertyChangeListener, correctly: public void _persistence_set_salary(int i) { _persistence_checkFetchedForSet("salary"); _persistence_propertyChange("salary", new Integer(salary), new Integer(i)); salary = i; } without it, incorrectly: public void _persistence_set_salary(double d) { salary = d; } Note that get is correct both with PropertyChangeListener: public int _persistence_get_salary() { _persistence_checkFetched("salary"); return salary; } and without it: public double _persistence_get_salary() { _persistence_checkFetched("salary"); return salary; }