IDEA-64219 JPA-QL Console use DataSource connection information

This commit is contained in:
Gregory Shrago
2011-03-10 04:54:42 +03:00
parent ff1a4e7d7e
commit 1fcb6b747a
@@ -104,6 +104,7 @@ public class RemoteObject implements Remote, Unreferenced {
if (foreignException) {
final RuntimeException wrapper = new RuntimeException(ex.toString());
wrapper.setStackTrace(ex.getStackTrace());
wrapper.initCause(wrapException(ex.getCause()));
ex = wrapper;
}
return ex;