*/
public ApidbWriter(DatabaseLoginCredentials loginCredentials, DatabasePreferences preferences, boolean lockTables,
boolean populateCurrentTables) {
dbCtx = new DatabaseContext(loginCredentials);
userManager = new UserManager(dbCtx);
changesetManager = new ChangesetManager(dbCtx);
schemaVersionValidator = new SchemaVersionValidator(loginCredentials, preferences);
this.lockTables = lockTables;