mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Explicitly commit pre and post SQL so that a post command in the last job isn't lost.
This commit is contained in:
parent
892f7b4fa8
commit
06c64d499f
3 changed files with 4 additions and 2 deletions
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
|
|||
<groupId>com.rasilon.ujetl</groupId>
|
||||
<artifactId>CopyingApp</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.1.5</version>
|
||||
<version>2.1.6</version>
|
||||
<name>uJETL</name>
|
||||
<url>https://github.com/rasilon/ujetl</url>
|
||||
<properties>
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ public class Job extends Thread {
|
|||
PreparedStatement s = dConn.prepareStatement(preTarget);
|
||||
s.executeUpdate();
|
||||
s.close();
|
||||
dConn.commit();
|
||||
}else{
|
||||
log.info("No preTarget; skipping.");
|
||||
}
|
||||
|
|
@ -229,6 +230,7 @@ public class Job extends Thread {
|
|||
PreparedStatement s = dConn.prepareStatement(postTarget);
|
||||
s.executeUpdate();
|
||||
s.close();
|
||||
dConn.commit();
|
||||
}else{
|
||||
log.info("No postTarget; skipping.");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Summary: Java app to facilitate moving data between databases.
|
||||
Name: uJETL
|
||||
Version: 2.1.5
|
||||
Version: 2.1.6
|
||||
Release: 1
|
||||
Group: Applications/Database
|
||||
License: All rights reserved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue