
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
19/Jul/07 08:56 PM
|
|
The pcgetField() and pcsetField() methods are created as Private instead of Protected.
This becomes a problem if you use Property access in an entity hierarchy and use a DetachStateField. In this scenario the PCEnhancer will generate writeExternal and readExternal methods on the Entity classes. Those methods expect to be able to call pcgetField() and pcsetField() respectively. A child entity won't have access to those methods and will throw an exception when it is serialized, or deserialized.
To resolve the problem I've modified the PCEnhancer so that the generated methods are protected (fix forthcoming).
|
|
Description
|
The pcgetField() and pcsetField() methods are created as Private instead of Protected.
This becomes a problem if you use Property access in an entity hierarchy and use a DetachStateField. In this scenario the PCEnhancer will generate writeExternal and readExternal methods on the Entity classes. Those methods expect to be able to call pcgetField() and pcsetField() respectively. A child entity won't have access to those methods and will throw an exception when it is serialized, or deserialized.
To resolve the problem I've modified the PCEnhancer so that the generated methods are protected (fix forthcoming). |
Show » |
made changes - 19/Jul/07 08:56 PM
| Field |
Original Value |
New Value |
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
made changes - 19/Jul/07 08:56 PM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|