Author: jacopoc
Date: Wed Dec 10 09:11:47 2014
New Revision: 1644354
URL: http://svn.apache.org/r1644354
Log:
Converted from warning to info two startup messages informing about the
mechanism used to retrieve pk information from the database.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java?rev=1644354&r1=1644353&r2=1644354&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java
(original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java
Wed Dec 10 09:11:47 2014
@@ -1152,14 +1152,14 @@ public class DatabaseUtil {
ResultSet rsPks = dbData.getPrimaryKeys(null,
lookupSchemaName, null);
pkCount += checkPrimaryKeyInfo(rsPks,
lookupSchemaName, needsUpperCase, colInfo, messages);
} catch (Exception e1) {
- Debug.logWarning("Error getting primary key info from
database with null tableName, will try other means: " + e1.toString(), module);
+ Debug.logInfo("Error getting primary key info from
database with null tableName, will try other means: " + e1.toString(), module);
}
if (pkCount == 0) {
try {
ResultSet rsPks = dbData.getPrimaryKeys(null,
lookupSchemaName, "%");
pkCount += checkPrimaryKeyInfo(rsPks,
lookupSchemaName, needsUpperCase, colInfo, messages);
} catch (Exception e1) {
- Debug.logWarning("Error getting primary key info
from database with % tableName, will try other means: " + e1.toString(),
module);
+ Debug.logInfo("Error getting primary key info from
database with % tableName, will try other means: " + e1.toString(), module);
}
}
if (pkCount == 0) {