excilys/androidannotations — pull request #596 by gebing (2013-05-20 04:29:04+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);
}