public void DoSync(IContextSource source) throws Exception { _contextSource = source; _database = new DatabaseHelper(source); // make sure we have a table... _entityType = EntityType.GetEntityType(Bookmark.class); _database.EnsureTableExists(_entityType); // push changes, then get the latest... PushChanges(); GetLatest(); }