Took a life time longer but it looks like i got it working without mangling the code to badly.
I tested it with the postmodern-store I am writing looks like it works fine. On Sun, 2009-10-25 at 20:09 +0200, Phil Marneweck wrote: > I notice the returning just after sending the mail :( > > Well then its :read-only... will let you know when i got something > working...hope fully in an hour or so > > On Sun, 2009-10-25 at 18:25 +0100, Marijn Haverbeke wrote: > > > I had a quick look at the code and I don't see that the record is > > > reselected for insert under at any time so i gues serial is also not > > > handles correctly. > > > > That's the :returning clause on line 199. > > > > > I think we migh thave to settle for :auto-generated and :read-only > > > because we only want to fetch the value auto generated instances on > > > insert to refresh the dao instance. > > > > See above. The idea is that after an insert, the instance properly > > reflects the row in the database. > > > > _______________________________________________ > > postmodern-devel mailing list > > postmodern-devel@common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel > > > _______________________________________________ > postmodern-devel mailing list > postmodern-devel@common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel _______________________________________________ postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel