Package org.projectforge.continuousdb

Examples of org.projectforge.continuousdb.SchemaGenerator.createSchema()


        propertyDeltaTable.getAttributeByName("new_value").setLength(20000); // Increase length.
        // continuous-db.
        final Table historyEntryTable = schemaGenerator.getTable(HistoryEntry.class);
        final TableAttribute typeAttr = historyEntryTable.getAttributeByName("type");
        typeAttr.setType(TableAttributeType.INT);
        schemaGenerator.createSchema();
        dao.createMissingIndices();

        return UpdateRunningStatus.DONE;
      }
    };
View Full Code Here


      public UpdateRunningStatus runUpdate()
      {
        // Create initial data-base table:
        final SchemaGenerator schemaGenerator = new SchemaGenerator(dao);
        schemaGenerator.add(LicenseDO.class);
        schemaGenerator.createSchema();
        dao.createMissingIndices();
        return UpdateRunningStatus.DONE;
      }
    };
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.