404142434445464748
pf.setProxyTargetClass(false); pf.setInterfaces(new Class[] {Handle.class}); pf.setTarget(handle); pf.addAdvice(new SQLExceptionTranslatingThrowsAdvice(dataSource)); Handle proxy = (Handle)pf.getProxy(); return proxy; }