println(")");
print(")");
    protected void writeEmbeddedForeignKeysStmt(Table table) throws IOException    {        int numKey = 1;        for (Iterator it = table.getForeignKeys().iterator(); it.hasNext(); numKey++)        {            ForeignKey key = (ForeignKey)it.next();            if (key.getForeignTable() == null)            {                _log.warn("Foreign key table is null for key " + key);            }            else            {                println(",");                printIndent();                                if (isEmbeddedForeignKeysNamed())                {                    print("CONSTRAINT ");                    print(table.getName());                    print("_FK_");                    print(Integer.toString(numKey));                    print(" ");                }                print("FOREIGN KEY (");                writeLocalReferences(key);                print(") REFERENCES ");                print(key.getForeignTable());                print(" (");                writeForeignReferences(key);                println(")");            }        }    }