forked from p81075629/datagear
[connection]完善DefaultConnectionSource日志输出
This commit is contained in:
parent
4fa66ba39c
commit
80382a2103
|
@ -248,6 +248,10 @@ public class DefaultConnectionSource implements ConnectionSource
|
|||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
if (LOGGER.isDebugEnabled())
|
||||
LOGGER.debug("checking if [" + driverEntity
|
||||
+ "] 's driver checked for getting prefered connection for [" + connectionOption
|
||||
+ "] error", t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ public class XmlDriverEntityManagerTest
|
|||
catch (PathDriverFactoryException e)
|
||||
{
|
||||
// 如果当前JRE小于8,将会抛出此异常
|
||||
assertEquals(DriverLoadErrorException.class, e.getClass());
|
||||
assertEquals(DriverNotFoundException.class, e.getClass());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue