Updating relation attribute gives an error
Posted: Mon Jul 04, 2011 5:57 pm
var x real relation { a integer, b relation { c integer }} init ( relation {tuple {a 1, b relation {tuple {c 2}}}}) key {a};
var y private relation { c integer } init ( relation { tuple { c 88 }}) key {c};
update x where a = 1 ( b := y );
------
Executing the above with DBrowser gives error:
ca.mb.armchair.rel3.exceptions.ExceptionFatal: Table: update failed: java.io.NotSerializableException: ca.mb.armchair.rel3.storage.RelvarPrivateCell
var y private relation { c integer } init ( relation { tuple { c 88 }}) key {c};
update x where a = 1 ( b := y );
------
Executing the above with DBrowser gives error:
ca.mb.armchair.rel3.exceptions.ExceptionFatal: Table: update failed: java.io.NotSerializableException: ca.mb.armchair.rel3.storage.RelvarPrivateCell