ormlite-android icon indicating copy to clipboard operation
ormlite-android copied to clipboard

Upgrade from 5.0 to 5.1 fails due to DatabaseType Error

Open bradhoov opened this issue 6 years ago • 1 comments

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<Map> 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

bradhoov avatar Apr 30 '18 22:04 bradhoov

I have same errors.

mahdit83 avatar Dec 08 '18 09:12 mahdit83