> Just for my own curiosity, where can I find out what pcVersionInit is? pcVersionInit was added with OPENJPA-1400[1].
Thanks, Rick [1] https://issues.apache.org/jira/browse/OPENJPA-1400 On Wed, Sep 28, 2011 at 3:18 PM, kostellodon <donald.g.koste...@citi.com>wrote: > Not a true problem I don't think, but a curiosity. > > I am using the version of JPA 1.2.3-SNAPSHOT which is included in WebSphere > 7. > > I have a base class that contains common fields, such as id, insert user, > insert datetime, etc, and this is annotated as @MappedSuperclass. My > entities all extend this base class. > > We are running FindBugs against our code, including the entities. FindBugs > is giving the following warning for all entities that extend my base class: > > Field <entity_name>.pcVersionInit masks field in superclass > <package_name>.BasicEntity > > This class defines a field with the same name as a visible instance field > in > a superclass. This is confusing, and may indicate an error if methods > update > or access one of the fields when they wanted the other. > > Just for my own curiosity, where can I find out what pcVersionInit is? > > Also, I realize that this is probably not a problem, but what can be done > to > remove this warning? > > - -- *Rick Curtis*