HHH-12778 Register the cause when an exception occurs creating a proxy

This commit is contained in:
Guillaume Smet 2018-07-09 13:17:51 +02:00
parent 1e9f67fbc9
commit 147476038b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}