mirror of https://github.com/apache/openjpa.git
OPENJPA-2236 - back port from 2.2.x to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3aeefe26f5
commit
d3380bdb51
|
@ -445,10 +445,15 @@ public class DBDictionary
|
|||
if (log.isTraceEnabled()) {
|
||||
log.trace(DBDictionaryFactory.toString(metaData));
|
||||
|
||||
if (isJDBC3)
|
||||
log.trace(_loc.get("connection-defaults", new Object[]{
|
||||
conn.getAutoCommit(), conn.getHoldability(),
|
||||
conn.getTransactionIsolation()}));
|
||||
if (isJDBC3) {
|
||||
try {
|
||||
log.trace(_loc.get("connection-defaults", new Object[]{
|
||||
conn.getAutoCommit(), conn.getHoldability(),
|
||||
conn.getTransactionIsolation()}));
|
||||
} catch (Throwable t) {
|
||||
log.trace("Unable to trace connection settings", t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Configure the naming utility
|
||||
|
|
Loading…
Reference in New Issue