You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started to use GreenDAO in project with Parceler integrated. Both Parceler and GreenDAO have annotation @transient. So I decided to use GreenDAO with its full name like @org.greenrobot.greendao.annotation.Transient in order to distinguish them. But when I annotate field recurringItemInstance in Item class this way I've got build error:
Error:Execution failed for task ':hitask:greendao'. Can't add property 'Variable(type=VariableType(name=data.model.item.ItemInstance, isPrimitive=false, originalName=ItemInstance, typeArguments=null), name=recurringItemInstance)' to entity Item due to: Unsupported type data.model.item.ItemInstance
When I changed annotation style to static import and short name code generated correctly. That class also contained fully specified @org.parceler.Transient annotation on one getter.
The text was updated successfully, but these errors were encountered:
I have started to use GreenDAO in project with Parceler integrated. Both Parceler and GreenDAO have annotation @transient. So I decided to use GreenDAO with its full name like
@org.greenrobot.greendao.annotation.Transient
in order to distinguish them. But when I annotate fieldrecurringItemInstance
inItem
class this way I've got build error:Error:Execution failed for task ':hitask:greendao'.
Can't add property 'Variable(type=VariableType(name=data.model.item.ItemInstance, isPrimitive=false, originalName=ItemInstance, typeArguments=null), name=recurringItemInstance)' to entity Item due to: Unsupported type data.model.item.ItemInstance
When I changed annotation style to static import and short name code generated correctly. That class also contained fully specified
@org.parceler.Transient
annotation on one getter.The text was updated successfully, but these errors were encountered: