Insert private relation into relation Serializable Error

This forum is to report technical problems with Rel.
Post Reply
Blake
Posts:9
Joined:Tue Jun 07, 2011 9:08 pm
Insert private relation into relation Serializable Error

Post by Blake » Wed Nov 16, 2011 3:33 am

Running the following in DBrowser gives me this error:

ERROR: Table: insert relation failed: java.io.NotSerializableException: ca.mb.armchair.rel3.storage.RelvarPrivateCell

Code: Select all

var items private relation { id  integer, name  character } init ( relation { tuple {id 1, name "hi" }, tuple {id 2, name "lo"}, tuple {id 3, name "do"} } ) key {id};

var result private relation {  r relation  same_heading_as  (items) } key { r };
var inner private relation same_heading_as (items) key {id};

insert inner relation { tuple from items where id = 1 };
insert result  relation {tuple {r inner }};

Dave
Site Admin
Posts:368
Joined:Sun Nov 27, 2005 7:19 pm

Re: Insert private relation into relation Serializable Error

Post by Dave » Wed Nov 16, 2011 3:20 pm

Thanks. I've noted this; should be fixed in the next release.

Post Reply