Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for bug 252047 - Mutable attributes are not cloned when isMutable is enabled on a Direct Mapping


The following fix has been checked in, and was previously reviewed.

Bug 252047 - Mutable attributes are not cloned when isMutable is enabled on a Direct Mapping

https://bugs.eclipse.org/bugs/show_bug.cgi?id=252047
(a patch file has been uploaded to this bug)

Foundation changes:
- Modified AbstractDirectMapping buildCloneValue to clone byte[], Calendar and Date (and their subclasses) if the mapping is configured as mutable.

Testing changes:
- Added regression test CloneAttributeIfMutableTest
- Added DateSubclass and MutableAttributeObject (support classes for CloneAttributeIfMutableTest)
- Modified UOWSystem to add descriptor and database table support for MutableAttributeObject
- Modified UnitOfWorkTestSuite to add reference to CloneAttributeIfMutableTest

Code review:
Not required (previously reviewed by James Sutherland)

Testing:
LRG

--
Oracle Email Signature Logo
David Minsky | Senior Member of Technical Staff | (613) 288-4605
Oracle Server Technologies | Sustaining Engineering
45 O'Connor Street, Suite 400, Ottawa, Ontario, Canada K1P 1A4

Back to the top