persistenceDb.getOptions().setAutovacuum(true);
persistenceDb.getOptions().setEncoding(SqlJetEncoding.UTF8);
persistenceDb.beginTransaction(SqlJetTransactionMode.WRITE);
try
{
ISqlJetOptions newOptions = persistenceDb.getOptions();
newOptions.setUserVersion(SQLJET_USER_VERSION_COOKIE);
newOptions.setSchemaVersion(SQLJET_SCHEMA_VERSION);
newOptions.setCacheSize(SQLJET_PAGE_CACHE_SIZE);
persistenceDb.createTable(GROUP_TABLE_DDL);
persistenceDb.createTable(CUSTOMER_TABLE_DDL);
classLogger.log(Level.CONFIG, "2 tables created in a new data file {0}.", new Object[] {SqlJetDb.IN_MEMORY, persistenceDb.getSchema().getTableNames()});
ISqlJetTable groupTable = persistenceDb.getTable(GROUP_TABLE_NAME);
ISqlJetTable customerTable = persistenceDb.getTable(CUSTOMER_TABLE_NAME);