From 7e141dd810d80b6edd7515e895f4bf2947f394c7 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Tue, 15 Feb 2011 03:32:48 +0000 Subject: [PATCH] add support for writing all the fixed types into variable length fields (fixes #3181334) git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@511 f203690c-595d-4dc9-a70b-905162fa7fd2 --- src/java/com/healthmarketscience/jackcess/Column.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 0593a4b..4c164ad 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -1079,7 +1079,7 @@ public class Column implements Comparable { return ByteBuffer.wrap(((RawData)obj).getBytes()); } - if(!isVariableLength()) { + if(!isVariableLength() || !getType().isVariableLength()) { return writeFixedLengthField(obj, order); } -- 2.39.5