1 | |
package liquibase.sqlgenerator.core; |
2 | |
|
3 | |
import liquibase.database.Database; |
4 | |
import liquibase.exception.ValidationErrors; |
5 | |
import liquibase.sql.Sql; |
6 | |
import liquibase.sqlgenerator.SqlGenerator; |
7 | |
import liquibase.sqlgenerator.SqlGeneratorChain; |
8 | |
import liquibase.statement.core.RuntimeStatement; |
9 | |
|
10 | 10 | public class RuntimeGenerator extends AbstractSqlGenerator<RuntimeStatement> { |
11 | |
|
12 | |
public ValidationErrors validate(RuntimeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) { |
13 | 0 | return new ValidationErrors(); |
14 | |
} |
15 | |
|
16 | |
public Sql[] generateSql(RuntimeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) { |
17 | 0 | return statement.generate(database); |
18 | |
} |
19 | |
} |