[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Commented] (LANG-1677) It should be possible to exclude fields in ReflectionDiffBuilder
From:       "Dennis Baerten (Jira)" <jira () apache ! org>
Date:       2021-11-30 20:25:00
Message-ID: JIRA.13413021.1637503720000.80243.1638303900046 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LANG-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451324#comment-17451324 \
] 

Dennis Baerten commented on LANG-1677:
--------------------------------------

Hi, a bit of delay but the pull request has been made : \
[https://github.com/apache/commons-lang/pull/838]  

> 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
> 
> 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.1#820001)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic