Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Merge pull for Issue #588, user DatabaseHelper.getDao instead of DaoManager.createDao()#596

Closed
gebing wants to merge 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
gebing:588_OrmLiteDaoCopy head branch name to clipboard
Closed

Merge pull for Issue #588, user DatabaseHelper.getDao instead of DaoManager.createDao()#596
gebing wants to merge 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
gebing:588_OrmLiteDaoCopy head branch name to clipboard

Conversation

@gebing

@gebing gebing commented May 20, 2013

Copy link
Copy Markdown
Contributor

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);
}

@DayS

DayS commented May 21, 2013

Copy link
Copy Markdown
Contributor

You shouldn't merge your branch before sending a pull-request. It's ou job to merge it.
Just create a new branch from develop, commit your changes on this branch, and push it on your fork

@gebing

gebing commented May 21, 2013

Copy link
Copy Markdown
Contributor Author

My develop branch is forked from androidannotations's develop branch, and later I merged some new commits from androidannotations's develop branch.

And I created a new branch from that merged develop branch of mine, and commit my changes on this branch, and push it on my fork.

That's all what i did. i didn't merge my newly create branch, and how should i?

@pyricau

pyricau commented May 21, 2013

Copy link
Copy Markdown
Contributor

@gebing

gebing commented May 22, 2013

Copy link
Copy Markdown
Contributor Author

i make a new fork from androidannotation, make a new branch of 588_OrmLiteDao and make a new Pull Reqeust #597

@JoanZapata

Copy link
Copy Markdown
Contributor

Thanks.

@JoanZapata JoanZapata closed this May 22, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.