Request the appropriate length for int arrays.

This commit is contained in:
Michael Bayne
2010-06-19 17:40:03 +00:00
parent ff53b67e3d
commit 5587d134bd
@@ -592,7 +592,7 @@ public abstract class FieldMarshaller<T>
protected static class IntArrayMarshaller extends FieldMarshaller<byte[]> {
@Override public String getColumnType (ColumnTyper typer, int length) {
return typer.getBlobType(length);
return typer.getBlobType(length*4);
}
@Override public byte[] getFromObject (Object po)
throws IllegalArgumentException, IllegalAccessException {