[postmodern-devel] Error when using :col-type serial
Mitch Berkson
mitch at bermita.com
Mon Oct 19 16:23:19 UTC 2009
I defined a dao class which I would like to get a sequential id from the
database. For the id slot I have:
(id :col-type serial :accessor seat-id)
When I try to do an update-dao with an instance of that class, I get:
Error: The slot ID is unbound in the object #<CPA-SEAT 2665E40F> (an
instance of class #<DAO-CLASS CPA-SEAT 25EE423B>).
I'd appreciate any suggestions about what I'm doing wrong. Thank you.
Mitch
More information about the postmodern-devel
mailing list