Skip to content

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

Merged
sibelius merged 1 commit intochennaione:masterfrom
bendaniel10:master
Nov 23, 2015
Merged

Fixed issue with database upgrade when MultiDex support is enabled.#434
sibelius merged 1 commit intochennaione:masterfrom
bendaniel10:master

Conversation

@bendaniel10
Copy link
Copy Markdown
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
Copy Markdown
Contributor

merged

@firaskafri
Copy link
Copy Markdown
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
Copy Markdown
Contributor

sibelius commented Dec 9, 2015

@firasalkafri could you provide a PR to fix this?

@firaskafri
Copy link
Copy Markdown
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
Copy Markdown
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