aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Curtis2014-02-19 12:40:49 (EST)
committerDavid Minsky2014-02-27 16:28:28 (EST)
commit43c48363c24e411b1ed2cff041f1f75e0e5178f9 (patch)
treef27c570e74aec1f481d9a86fd4fb1811f3349568
parent22988a561cab1c795df0a4182ee6d945a178e5b0 (diff)
downloadeclipselink.runtime-43c48363c24e411b1ed2cff041f1f75e0e5178f9.zip
eclipselink.runtime-43c48363c24e411b1ed2cff041f1f75e0e5178f9.tar.gz
eclipselink.runtime-43c48363c24e411b1ed2cff041f1f75e0e5178f9.tar.bz2
* Fix for Bug 428567 (2.5 branch checkin)
- DBPlatformHelper.matchVendorNameInProperties passes incorrect logging category - Change to DBPlatformHelper matchVendorNameInProperties to pass a correct logging category (SessionLog.CONNECTION) for logging Signed-off-by: Rick Curtis <curtisr7@gmail.com>
-rw-r--r--foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/DBPlatformHelper.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/DBPlatformHelper.java b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/DBPlatformHelper.java
index 63bce7d..dcaf035 100644
--- a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/DBPlatformHelper.java
+++ b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/DBPlatformHelper.java
@@ -104,8 +104,9 @@ public class DBPlatformHelper {
String[] entry = iterator.next();
String regExpr = entry[0];
String value = entry[1];
- if(logger.shouldLog(SessionLog.FINEST)) {
- logger.log(SessionLog.FINEST, "dbPlatformHelper_regExprDbPlatform", regExpr, value); // NOI18N
+ if (logger.shouldLog(SessionLog.FINEST)) {
+ logger.log(SessionLog.FINEST, SessionLog.CONNECTION, "dbPlatformHelper_regExprDbPlatform", regExpr,
+ value); // NOI18N
}
if( matchPattern(regExpr, vendorName, logger) ) {
dbPlatform = value;