Exemplo n.º 1
0
  public DdlWrite generateDdl(ChangeSet changeSet) throws IOException {

    DdlWrite write = new DdlWrite();

    DdlHandler handler = handler();
    handler.generate(write, changeSet);

    return write;
  }
Exemplo n.º 2
0
  private void createDdl() throws IOException {

    if (write == null) {
      ChangeSet createChangeSet = getChangeSet();

      write = new DdlWrite();

      DdlHandler handler = handler();
      handler.generate(write, createChangeSet);
    }
  }