I am using a field:
@DatabaseField( foreign = true, canBeNull = false, foreignAutoRefresh = true, columnName = CONTROL_ID_OID )
private Control control;
When I examine the sqlite table definitions it appears to be missing "REFERENCES", did I miss configuring something ?
Out of the box it is allowing the Control object to be deleted when there are references using it. When the Control is deleted I expect to see a sqlite exception like "unable to delete - foreign key in use".
Is ormlite able to use the underlying "REFERENCES" functionality ? If so, how do I make it work ?
-Thanks