Skip to content

Commit

Permalink
merged 4.0beta into main
Browse files Browse the repository at this point in the history
  • Loading branch information
molivasdat committed Jul 16, 2020
2 parents e107a40 + 48e6ec8 commit 2713143
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-db2i</artifactId>
<version>3.10.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>

<name>Liquibase Extension: IBM DB2 for iSeries Support</name>
<description>Adds support for IBM DB2 for iSeries</description>
Expand Down Expand Up @@ -51,7 +51,7 @@
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>3.10.1</version>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand All @@ -73,8 +73,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
<optimize>true</optimize>
<debug>true</debug>
<encoding>${project.build.sourceEncoding}</encoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Sql[] generateSql(InsertSetStatement statement, Database database, SqlGen
if (statement.peek() == null) {
return new UnparsedSql[0];
}
StringBuffer sql = new StringBuffer();
StringBuilder sql = new StringBuilder();
generateHeader(sql, statement, database);

ArrayList<Sql> result = new ArrayList<Sql>();
Expand All @@ -54,7 +54,7 @@ public Sql[] generateSql(InsertSetStatement statement, Database database, SqlGen
result.add(completeStatement(statement, sql));

index = 0;
sql = new StringBuffer();
sql = new StringBuilder();
generateHeader(sql, statement, database);
}
}
Expand All @@ -65,7 +65,7 @@ public Sql[] generateSql(InsertSetStatement statement, Database database, SqlGen
return result.toArray(new UnparsedSql[result.size()]);
}

private Sql completeStatement(InsertSetStatement statement, StringBuffer sql) {
private Sql completeStatement(InsertSetStatement statement, StringBuilder sql) {
sql.deleteCharAt(sql.lastIndexOf(","));
return new UnparsedSql(sql.toString(), getAffectedTable(statement));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
liquibase.ext.db2i.database.DB2iDatabase
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
liquibase.ext.db2i.sqlgenerator.InsertOrUpdateGeneratorDB2i
liquibase.ext.db2i.sqlgenerator.InsertSetGeneratorDB2i
liquibase.ext.db2i.sqlgenerator.SetColumnRemarksGeneratorDB2i
liquibase.ext.db2i.sqlgenerator.SetNullableGeneratorDB2i
liquibase.ext.db2i.sqlgenerator.SetTableRemarksGeneratorDB2i

0 comments on commit 2713143

Please sign in to comment.