HHH-12778 Register the cause when an exception occurs creating a proxy
This commit is contained in:
parent
1e9f67fbc9
commit
147476038b
|
@ -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