Skip to content

Commit bd0f0d3

Browse files
committed
Fix NString value to JSON
1 parent 242db4d commit bd0f0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: embulk-output-jdbc/src/main/java/org/embulk/output/jdbc/setter/NStringColumnSetter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ public void timestampValue(final Instant v) throws IOException, SQLException
6161
@Override
6262
public void jsonValue(Value v) throws IOException, SQLException
6363
{
64-
defaultValue.setNString();
64+
batch.setNString(v.toJson());
6565
}
6666
}

0 commit comments

Comments
 (0)