Support @Length on byte[] fields.

This commit is contained in:
Michael Bayne
2006-09-21 01:31:04 +00:00
parent 8620ace13d
commit 17e63530c4
@@ -175,7 +175,7 @@ public abstract class FieldMarshaller
builder.append(" ").append(type); builder.append(" ").append(type);
// if this is a VARCHAR field, add the length // if this is a VARCHAR field, add the length
if (type.equals("VARCHAR")) { if (type.equals("VARCHAR") || type.equals("VARBINARY")) {
builder.append("(").append(length).append(")"); builder.append("(").append(length).append(")");
} }