avoid NPE with no proxy-class defined
This commit is contained in:
parent
7fd33fdd93
commit
12ca8a2a81
|
@ -5283,7 +5283,8 @@ public abstract class AbstractEntityPersister
|
|||
}
|
||||
|
||||
public Class getConcreteProxyClass() {
|
||||
return getRepresentationStrategy().getProxyJavaTypeDescriptor().getJavaType();
|
||||
final JavaTypeDescriptor<?> proxyJavaTypeDescriptor = getRepresentationStrategy().getProxyJavaTypeDescriptor();
|
||||
return proxyJavaTypeDescriptor != null ? proxyJavaTypeDescriptor.getJavaType() : javaTypeDescriptor.getJavaType();
|
||||
}
|
||||
|
||||
public void setPropertyValues(Object object, Object[] values) {
|
||||
|
|
Loading…
Reference in New Issue