public class SqlDialectEx extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SqlDialect |
dialect
The main dialect
|
| Constructor and Description |
|---|
SqlDialectEx(SqlDialect dialect)
Constructor
|
protected final SqlDialect dialect
public SqlDialectEx(SqlDialect dialect)
public Appendable printDropIndex(MetaIndex index, Appendable out) throws IOException
IOExceptionpublic Appendable printPrimaryKey(MetaColumn column, StringBuilder sql) throws Exception
Exceptionpublic String buildConstraintName(MetaColumn column, MetaTable table)
public String buildPrimaryKeyOverColumn(MetaTable table, List<MetaColumn> columns) throws IOException
IOExceptionpublic Appendable printUniqueConstraint(List<MetaColumn> columns, StringBuilder out) throws IOException
IOExceptionpublic Appendable printUniqueConstraint(StringBuilder out, MetaColumn... columns) throws IOException
IOExceptionprotected void printPrimaryKeyConstraint(MetaTable table, List<MetaColumn> columns, Appendable out) throws IOException
IOExceptionpublic Appendable printSequenceNextValueWithValues(UjoSequencer sequence, long seq, Appendable out) throws IOException
IOExceptionpublic Appendable printSequenceListAllId(UjoSequencer sequence, Appendable out) throws IOException
IOExceptionprotected final SqlNameProvider getNameProvider() throws IllegalStateException
IllegalStateException - A problem during creating an instance.Copyright 2013, Pavel Ponec