HHH-12778 Register the cause when an exception occurs creating a proxy
This commit is contained in:
parent
8757ee4191
commit
dcf1f66b8a
|
@ -54,7 +54,7 @@ public class BasicProxyFactoryImpl implements BasicProxyFactory {
|
|||
return proxy;
|
||||
}
|
||||
catch (Throwable t) {
|
||||
throw new HibernateException( "Unable to instantiate proxy instance" );
|
||||
throw new HibernateException( "Unable to instantiate proxy instance", t );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue