OPENJPA-1707: Fix NPE coming from PCRegistry.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2010-07-08 14:06:08 +00:00
parent 961e957be0
commit 2fa5556c0d
1 changed files with 1 additions and 1 deletions

View File

@ -4746,7 +4746,7 @@ public class PCEnhancer {
if (cls == null || log == null) {
return false;
}
PersistenceCapable pc = PCRegistry.newInstance(cls, null, true);
PersistenceCapable pc = PCRegistry.newInstance(cls, null, false);
if (pc == null) {
return false;
}