Skip to content

Instantly share code, notes, and snippets.

@xcesco
Created May 14, 2018 20:16
Show Gist options
  • Save xcesco/06ca022da8d7f0ac0e308bbdbd92f7d0 to your computer and use it in GitHub Desktop.
Save xcesco/06ca022da8d7f0ac0e308bbdbd92f7d0 to your computer and use it in GitHub Desktop.
@BindDataSourceOptions(
logEnabled = true,
populator = PersonPopulator.class,
cursorFactory = PersonCursorFactory.class,
databaseLifecycleHandler = PersonLifecycleHandler.class,
updateTasks = {
@BindDataSourceUpdateTask(version = 2, task = PersonUpdateTask.class) })
@BindDataSource(daoSet = { DaoPerson.class }, fileName = "app.db")
public interface AppWithConfigDataSource {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment