Hello, forum!

I have a dao class that uses 'date' col-type:
   (reg_date :col-type date :initarg :date
             :accessor user-reg-date
             :initform (get-current-simple-date)))

here is a  (get-current-simple-date) result:
#<SIMPLE-DATE:DATE 17-10-2009>

but the following error is generated when I'm trying to instantiate the object:
Value #<SIMPLE-DATE:DATE 17-10-2009> can not be converted to an SQL literal.
   [Condition of type SIMPLE-ERROR]

Thanks in advance!

-- 
http://blog.shevchuk.org

_______________________________________________
postmodern-devel mailing list
postmodern-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

Reply via email to