Re: Creating classes from tables

Knut Olav Bøhmer <[email protected]>
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>
A nasty fix:

(push (find-class 'wp-posts)  (clsql-sys::database-view-classes
*default-database*))

Why do I have to do this?

2009/10/30 Knut Olav Bøhmer <[email protected]>:
> Hi,
>
> I think the problem is an uppercase/lowercase problem. It looks like
> cl-sql assumes all tables in mysql should be uppercase. But it does
> not look like that is true anymore.
>
> btw: mailinglists that does not set reply-to back to the list are irritating.
>
> 2009/10/30 Harald Hanche-Olsen <[email protected]>:
>> + Knut Olav Bøhmer <[email protected]>:
>>
>>> http://clsql.b9.com/manual/list-classes.html
>>
>> Oh. Sorry, I did search the code, but must have jumbled up the search
>> somehow, since it came up empty.
>>
>>> The class shows up after running create-view-from-class.
>>> http://clsql.b9.com/manual/create-view-from-class.html
>>>
>>> But I can not run that every time, because I get table-already-exists error.
>>
>> Okay ... I have a rather shaky relationship with the OO part of
>> clsql, so I am probably the wrong person to ask.
>>
>> - Harald
>>
>
>
>
> --
> Knut Olav Bøhmer
>



-- 
Knut Olav Bøhmer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.