This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, In the attached example, I have an entity, "Thing", which inherits from "BigThing". Both are set for soft deletion. I am able to save data for Thing, including the "Name" value of "BigThing", but whenever we try to delete a "Thing" we get an exception: NpgsqlException was unhandled ERROR: 42P01: missing FROM-clause entry for table "bigthing" The following is the ErrorSQL text for the exception: UPDATE Thing SET DeletedOn = ((E'2014-09-15 14:48:55.825200')) WHERE BigThing.Id = ((51)); UPDATE BigThing SET DeletedOn = ((E'2014-09-15 14:48:55.851565')) WHERE BigThing.Id = ((51)) Running the executed example should show the same results. What could the issue be? Regards. |
|
|
It looks like we are missing the associated join against BigThing however your attached example doesn't match this model - I suspect you may have just uploaded the wrong model/project for this - if you can upload a repro project for this we can have a look into what might be causing this.
|
|
|
Hi Jeremy, Please find the correct example attached. Regards |
|