Skip to content

Commit 7a433dc

Browse files
authored
Merge pull request #297 from embulk/fix-Exec-newSomething
Fix Exec.newSomething() to CONFIG_MAPPER_FACTORY.newSomething()
2 parents 011d743 + ddd60d5 commit 7a433dc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111

1212
allprojects {
1313
group = "org.embulk"
14-
version = "0.10.0"
14+
version = "0.10.1"
1515
description = "Inserts or updates records to a table."
1616
}
1717

embulk-output-jdbc/src/main/java/org/embulk/output/jdbc/AbstractJdbcOutputPlugin.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import org.embulk.config.ConfigSource;
4747
import org.embulk.config.TaskReport;
4848
import org.embulk.config.TaskSource;
49-
import org.embulk.spi.Exec;
5049
import org.embulk.spi.Column;
5150
import org.embulk.spi.ColumnVisitor;
5251
import org.embulk.spi.OutputPlugin;
@@ -520,7 +519,7 @@ public void run() throws SQLException
520519
throw new RuntimeException(ex);
521520
}
522521
}
523-
return Exec.newConfigDiff();
522+
return CONFIG_MAPPER_FACTORY.newConfigDiff();
524523
}
525524

526525
public void cleanup(TaskSource taskSource,
@@ -1221,7 +1220,7 @@ public void abort()
12211220
@Override
12221221
public TaskReport commit()
12231222
{
1224-
return Exec.newTaskReport();
1223+
return CONFIG_MAPPER_FACTORY.newTaskReport();
12251224
}
12261225

12271226
protected void handleColumnsSetters()

0 commit comments

Comments
 (0)