You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/16 15:40:00 UTC
[jira] [Work logged] (LANG-1677) It should be possible to exclude fields in ReflectionDiffBuilder
[ https://issues.apache.org/jira/browse/LANG-1677?focusedWorklogId=809568&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-809568 ]
ASF GitHub Bot logged work on LANG-1677:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Sep/22 15:39
Start Date: 16/Sep/22 15:39
Worklog Time Spent: 10m
Work Description: debae commented on PR #838:
URL: https://github.com/apache/commons-lang/pull/838#issuecomment-1249516337
@garydgregory friendly reminder on this PR , are requested changes are tackled.
Issue Time Tracking
-------------------
Worklog Id: (was: 809568)
Time Spent: 2h 40m (was: 2.5h)
> It should be possible to exclude fields in ReflectionDiffBuilder
> ----------------------------------------------------------------
>
> Key: LANG-1677
> URL: https://issues.apache.org/jira/browse/LANG-1677
> Project: Commons Lang
> Issue Type: Wish
> Components: lang.builder.*
> Affects Versions: 3.12.0
> Reporter: Dennis Baerten
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> When using ReflectionDiffBuilder to make a diff between two object it will be default include all fields. As stated in the documentation static and transient fields are excluded.
> Using the transient modifier in combination with other frameworks ( such as Hibernate ) also has a side affect that those fields are not persisted.
> The use case I'm trying to solve it making a diff of an object that get's updated and has a LastModificationDate and LastModificationUser and thus will always be a field in the diff.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)