Added support for DB2 on AS/400 or ISeries

First push of the modified version of the DB2as400 package

NB: the metadata table must be uppercase or the Table.exists() method won't find it
(perhaps a bug in the JTOPEN JDBC driver ?)

So for instance:
flyway.table=MY_SCHEMA
Yes they are the default values (DB2) , which are redefined in the
constructor (line 71)

My first id was to have the same class for DB2 and DB2 AS400 but it
finished in a different package

I will refactor this in next pull request but the value is indeed 'SYSIBM'

On Thu, Oct 16, 2014 at 2:07 PM, rotatomel <notifications@github.com> wrote:

> In
> flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/db2as400/DB2as400Schema.java:
>
> > +import org.flywaydb.core.internal.dbsupport.db2.DB2Schema;
> > +import org.flywaydb.core.internal.dbsupport.db2.DB2Table;
> > +import org.flywaydb.core.internal.util.StringUtils;
> > +
> > +import java.sql.SQLException;
> > +import java.util.ArrayList;
> > +import java.util.List;
> > +import java.util.Map;
> > +
> > +/**
> > + * DB2/AS400 implementation of Schema.
> > + */
> > +public class DB2as400Schema extends DB2Schema {
> > +	
> > +	// System schema name
> > +	private String systemSchema = "SYSCAT";
>
> Should be SYSIBM
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/flyway/flyway/pull/864/files#r18951229>.
>