OK, the problem is that when readValue() does:
while (true) {
int ch = readChar();
it gets first ch == fieldSeparatorRead ...
I think, the right way of fixing would be somehow escaping "empty" values with "" before that point.
So, that when you read buffer, it would read
,
as
"",""
However, I still have no clue how to achieve this within H2 code.