Support @Length on byte[] fields.
This commit is contained in:
@@ -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(")");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user