Is there some way to specify 'on delete cascade' or 'on update cascade' on 
foreign key constraints within empire-db? 

I have found the method DBTable.setDeleteCascade(boolean), but that seems to 
affect only the Java object, not actually modify the foreign key constraint in 
the database. It also seems to affect all of the foreign key constraints on the 
table, which is not what I want. 

It seems like the 'correct' place for it would be in the DBReference or 
DBRelation class, but I had no joy looking there.

Cheers,
Joe

Reply via email to