mirror of
https://github.com/apache/sqoop.git
synced 2025-05-08 03:21:32 +08:00
SQOOP-1383: Sqoop2: MSSQL Export not working
(Oleksiy Sayankin via Abraham Elmahrek)
This commit is contained in:
parent
ecd9cbe209
commit
fcd456d6d1
@ -81,7 +81,7 @@ public void deleteTableData(String tableName) {
|
|||||||
|
|
||||||
public void migrateData(String fromTable, String toTable) {
|
public void migrateData(String fromTable, String toTable) {
|
||||||
String insertQuery = "INSERT INTO " + toTable +
|
String insertQuery = "INSERT INTO " + toTable +
|
||||||
" ( SELECT * FROM " + fromTable + " )";
|
" SELECT * FROM " + fromTable;
|
||||||
Statement stmt = null;
|
Statement stmt = null;
|
||||||
Boolean oldAutoCommit = null;
|
Boolean oldAutoCommit = null;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user