[jOOQ/jOOQ#9396] Implemented workaround
This commit is contained in:
parent
48508ea132
commit
5cb09b1b77
@ -288,8 +288,10 @@ abstract class AbstractMeta extends AbstractScope implements Meta, Serializable
|
||||
return ddl(new DDLExportConfiguration());
|
||||
}
|
||||
|
||||
// [#9396] TODO Fix this. Subclasses should not need to override this to get
|
||||
// correct results
|
||||
@Override
|
||||
public final Queries ddl(DDLExportConfiguration exportConfiguration) throws DataAccessException {
|
||||
public /* non-final */ Queries ddl(DDLExportConfiguration exportConfiguration) throws DataAccessException {
|
||||
return new DDL(this, exportConfiguration).queries();
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,10 +46,13 @@ import java.util.Set;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Configuration;
|
||||
import org.jooq.DDLExportConfiguration;
|
||||
import org.jooq.Queries;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Sequence;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.exception.DataAccessException;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
@ -108,4 +111,9 @@ final class TableMetaImpl extends AbstractMeta {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Queries ddl(DDLExportConfiguration exportConfiguration) throws DataAccessException {
|
||||
return new DDL(this, exportConfiguration).queries(tables);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user