mirror of https://github.com/apache/openjpa.git
If we don't know the access type for a class when parsing, first check for a superclass and default to that class' access type.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501256 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
24cf4c939e
commit
0273937971
|
@ -742,7 +742,8 @@ public class XMLPersistenceMetaDataParser
|
|||
return false;
|
||||
}
|
||||
|
||||
// if we don't know the access type, check for a superclass
|
||||
// if we don't know the access type, check to see if a superclass
|
||||
// has already defined the access type
|
||||
int defaultAccess = _access;
|
||||
if (defaultAccess == ClassMetaData.ACCESS_UNKNOWN) {
|
||||
ClassMetaData sup = repos.getCachedMetaData(_cls.getSuperclass());
|
||||
|
|
Loading…
Reference in New Issue