Treat VARBINARY and LONGVARBINARY as string types

(for our purposes, i.e. put values inside quotes).
This commit is contained in:
hns 2002-03-19 20:45:31 +00:00
parent c39def352c
commit b68fb4764c

View file

@ -634,7 +634,7 @@ public class DbMapping implements Updatable {
Column c = s.getColumn (columnName);
if (c == null)
throw new SQLException ("Column "+columnName+" not found in "+this);
return c.isString ();
return c.isString () || c.isVarBinary () || c.isLongVarBinary ();
} catch (Exception x) {
throw new SQLException (x.getMessage ());
}