Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with database upgrade when MultiDex support is enabled. #434

Merged
merged 1 commit into from
Nov 23, 2015

Conversation

bendaniel10
Copy link
Contributor

Reworked the logic of classpath scanning for entity classes which occurs on database creation or update. I made use of a solution found on SO that can scan all classes in an APK with multi - dex enabled.

@sibelius sibelius merged commit d15dff5 into chennaione:master Nov 23, 2015
@sibelius
Copy link
Contributor

merged

@firaskafri
Copy link
Contributor

This is not working
After using multidex for my app, the library stopped picking up classes names and the only way to avoid table not found exceptions is to to create an empty record each time in the Application class.

@sibelius
Copy link
Contributor

sibelius commented Dec 9, 2015

@firasalkafri could you provide a PR to fix this?

@firaskafri
Copy link
Contributor

@sibeliusseraphini Would definitely do once I get the time...just wanted to share the problem for now in case you have a fix

@sibelius
Copy link
Contributor

sibelius commented Dec 9, 2015

@firasalkafri thanks, try to add a test case that breaks the current version as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants