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 c8b9777 + 4a7b7df commit 7bba67c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-sqlfire</artifactId>
<version>3.10.2-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Liquibase SqlFire Database Extension</name>
Expand Down Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>3.10.1</version>
<version>4.0.0</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.util.Enumeration;

import liquibase.CatalogAndSchema;
import liquibase.Scope;
import liquibase.database.AbstractJdbcDatabase;
import liquibase.database.Database;
import liquibase.database.DatabaseConnection;
Expand Down Expand Up @@ -119,9 +120,9 @@ public String getViewDefinition(CatalogAndSchema schema, String name) throws Dat
@Override
protected String getConnectionCatalogName() throws DatabaseException {
try {
return ExecutorService.getInstance().getExecutor(this).queryForObject(new RawSqlStatement("select current schema from sysibm.sysdummy1"), String.class);
return Scope.getCurrentScope().getSingleton(ExecutorService.class).getExecutor("jdbc", this).queryForObject(new RawSqlStatement("select current schema from sysibm.sysdummy1"), String.class);
} catch (Exception e) {
LogFactory.getLogger().info("Error getting default schema", e);
Scope.getCurrentScope().getLog(getClass()).info("Error getting default schema", e);
}
return null;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
liquibase.ext.sqlfire.database.SQLFireDatabase
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
liquibase.ext.sqlfire.datatype.SqlFireBooleanType
liquibase.ext.sqlfire.datatype.SqlFireDateTimeType
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
liquibase.ext.sqlfire.sqlgenerator.CreateDatabaseChangeLogLockTableGeneratorSqlFire
liquibase.ext.sqlfire.sqlgenerator.CreateDatabaseChangeLogTableGeneratorSqlFire

0 comments on commit 7bba67c

Please sign in to comment.