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

Upgrade from 5.0 to 5.1 fails due to DatabaseType Error #93

Open
bradhoov opened this issue Apr 30, 2018 · 1 comment
Open

Upgrade from 5.0 to 5.1 fails due to DatabaseType Error #93

bradhoov opened this issue Apr 30, 2018 · 1 comment

Comments

@bradhoov
Copy link

When upgrading ORM-Lite in my app from 5.0 to 5.1, we suddenly start to receive the following errors:
'
error: method extractTableName in class DatabaseTableConfig<T#2> cannot be applied to given types;
String mapTableName = DatabaseTableConfig.extractTableName(Map.class);
^
required: DatabaseType,Class<T#1>
found: Class
reason: cannot infer type-variable(s) T#1
(actual and formal argument lists differ in length)
where T#1,T#2 are type-variables:
T#1 extends Object declared in method <T#1>extractTableName(DatabaseType,Class<T#1>)
T#2 extends Object declared in class DatabaseTableConfig
'
According to the documentation, this should not happen as the database type should be set internally to SqliteAndroidDatabaseType

@mahdit83
Copy link

mahdit83 commented Dec 8, 2018

I have same errors.

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

No branches or pull requests

2 participants