We are getting the following messages shortly after our App starts up when using MSSQL:
77736 [TestScheduler_Worker-14] WARN NSLog - *** JDBCAdaptor : no type info found for nvarchar
77736 [TestScheduler_Worker-14] WARN NSLog - *** JDBCAdaptor : no type info found for nchar
We traced it down to com.webobjects.jdbcadaptor.MicrosoftPlugIn that ships with WO, more specifically the jdbcInfo method which removes the type info for those types. Does anybody why?
public NSDictionary jdbcInfo() {
boolean isLogging = NSLog.debugLoggingAllowedForLevelAndGroups(2, 0L);
NSMutableDictionary jdbcInfo = super.jdbcInfo().mutableClone();
NSMutableDictionary typeInfo = ((NSDictionary) jdbcInfo.objectForKey("typeInfo")).mutableClone();
typeInfo.removeObjectForKey("bigint identity");
typeInfo.removeObjectForKey("decimal() identity");
typeInfo.removeObjectForKey("int identity");
typeInfo.removeObjectForKey("numeric() identity");
typeInfo.removeObjectForKey("nchar");
typeInfo.removeObjectForKey("ntext");
typeInfo.removeObjectForKey("nvarchar");
typeInfo.removeObjectForKey("smallint identity");
typeInfo.removeObjectForKey("tinyint identity");
typeInfo.removeObjectForKey("sql_variant");
JDBCPlugIn._takeValueForKeyPath(typeInfo, "0", "money", "createParams");
JDBCPlugIn._takeValueForKeyPath(typeInfo, "0", "sysname", "createParams");
jdbcInfo.setObjectForKey(typeInfo, "typeInfo");
if (isLogging)
NSLog.debug.appendln((new StringBuilder("fetched MS SQL Server (")).append(databaseProductName()).append(") JDBC Info = ").append(jdbcInfo).toString());
return jdbcInfo;
}