|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.drinkjava2.jdialects.DDLCreateUtils
public class DDLCreateUtils
To transfer platform-independent model to create DDL String array
| Constructor Summary | |
|---|---|
DDLCreateUtils()
|
|
| Method Summary | |
|---|---|
protected static void |
checkAndInsertToNotRepeatSeq(Set<SequenceIdGenerator> notRepeatedSeq,
SequenceIdGenerator seq)
if name not found, add If name same, but other fields different, throw exception If name same, and other field same, ignore |
protected static void |
checkAndInsertToNotRepeatTable(Set<TableIdGenerator> notRepeatedSeq,
TableIdGenerator tab)
if name not found, add If name same, but other fields different, throw exception If name same, and other field same, ignore |
static String[] |
toCreateDDL(Dialect dialect,
TableModel... tables)
Transfer tables to DDL by given dialect and without format it, if want get a formatted DDL, use DDLFormatter.format(DDLs) method to format it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DDLCreateUtils()
| Method Detail |
|---|
public static String[] toCreateDDL(Dialect dialect,
TableModel... tables)
protected static void checkAndInsertToNotRepeatSeq(Set<SequenceIdGenerator> notRepeatedSeq,
SequenceIdGenerator seq)
protected static void checkAndInsertToNotRepeatTable(Set<TableIdGenerator> notRepeatedSeq,
TableIdGenerator tab)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||