I'm wondering how I can set the defualt value for an int in a DatabaseField in OrmLite for Android.
I have tried:
@DatabaseField(defaultValue = 0)
int intValue;
But all I get is a compilation error. Or can you even do this with int's?
I'm wondering how I can set the defualt value for an int in a DatabaseField in OrmLite for Android.
I have tried:
@DatabaseField(defaultValue = 0)
int intValue;
But all I get is a compilation error. Or can you even do this with int's?