[CDBI] X is not a column of Y

Edward J. Sabol sabol at alderaan.gsfc.nasa.gov
Thu Oct 4 04:07:27 BST 2007

Arshavir Grigorian wrote:
> Hi, I am getting the error posted below when I try to delete from a
> table that has_many() records in another table. All my classes are
> defined in separate files and Communication is being loaded before
> Task where Communication has_a(Task) and T
> has_many(Communications).
> Thanks in advance for any suggestions on how to fix this.

Hard to suggest anything without seeing your code for these two classes. Can
you post some code? I'm not aware of any problems with what you are
describing. I believe I have classes which mirror the relationships you are
describing, and they work fine for me.


More information about the ClassDBI mailing list