excilys/androidannotations — pull request #597 by gebing (2013-05-22 03:14:42+00:00)
Title: Merge pull for Issue #588, user DatabaseHelper.getDao instead of DaoManager.createDao()

Modify @OrmLite to use database helper to get dao, so generate code will look like:

private DatabaseHelper helper_;
...
...
helper_ = OpenHelperManager.getHelper(this, DatabaseHelper.class);
try {
clickCountDao = helper_.getDao(ClickCount.class);
} catch (SQLException e) {
Log.e("MyActivity_", "Could not create DAO clickCountDao", e);
}