From: James Ahlborn Date: Tue, 15 Feb 2011 03:32:48 +0000 (+0000) Subject: add support for writing all the fixed types into variable length fields (fixes #3181334) X-Git-Tag: jackcess-1.2.3~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7e141dd810d80b6edd7515e895f4bf2947f394c7;p=jackcess.git 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 --- 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); }