Re: CLSQL-SYS::VIEW-DATABASE
Patrick May <[email protected]>
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
On Mar 26, 2010, at 2:08 PM, Patrick May wrote: > I've defined a view class named customer but get this error when trying to create an instance: > > The value NIL, derived from the initform NIL, can not be used to set the value of the slot CLSQL-SYS::VIEW-DATABASE in #<CUSTOMER #x30004261E68D>, because it is not of type NIL. > [Condition of type CCL::BAD-SLOT-TYPE-FROM-INITFORM] > > I am connected to a database and clsql:query forms work as expected. Any thoughts? I get a similar error from (clsql:select 'customer): The value #<POSTGRESQL-SOCKET-DATABASE localhost/patrickdb/patrick OPEN #x3000422F55ED>, derived from the initarg :VIEW-DATABASE, can not be used to set the value of the slot CLSQL-SYS::VIEW-DATABASE in #<CUSTOMER #x3000426586CD>, because it is not of type NIL. [Condition of type CCL::BAD-SLOT-TYPE-FROM-INITARG] This is with Postgresql 8.4.1 and CL-SQL 4.1.1 on OSX. Thanks again, Patrick _______________________________________________ CLSQL mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/clsql
smime.p7s
(application/pkcs7-signature, 2.4 KB) - not displayed